public void appendMultiBarrageNPC(int npcId, boolean splashed) {
		if (Server.npcHandler.npcs[npcId] != null) {
			NPC n = Server.npcHandler.npcs[npcId];
			if (n.isDead || n.HP <= 0)
				return;
			if (checkMultiBarrageReqsNPC(npcId)) {
				c.barrageCount++;
				if (Misc.random(Server.npcHandler.npcs[npcId].defence) < (10 + Misc.random(mageAtk())) && !c.magicFailed) {
					if(getEndGfxHeight() == 100)
						n.gfx100(c.MAGIC_SPELLS[c.oldSpellId][5]);
					else
						n.gfx0(c.MAGIC_SPELLS[c.oldSpellId][5]);
					int damage = Misc.random(finalMagicDamage(c));
					if (n.HP - damage < 0) {
						damage = n.HP;					
					}
					appendHit(n, damage, 0, 2, 1);
					addCombatXP(2, damage);
					n.underAttackBy = c.playerId;
					n.underAttack = true;
					if (c.inBarbDef) 
						c.barbDamage += damage;
					c.totalDamageDealt += damage;
					multiSpellEffectNPC(npcId, damage);
				} else
					n.gfx100(85);
			}		
		}	
	}