{
if (npdId == 32919)
{
if (skill == null)
{
NpcInstance ni = getReflection().addSpawnWithoutRespawn(little_simpleAttackMobs[Rnd.get(little_simpleAttackMobs.length)], getLoc(), 150);
ni.getAI().Attack(attacker, true, false);
this.decayMe();
this.doDie(attacker);
}
else
{
NpcInstance ni = getReflection().addSpawnWithoutRespawn(little_skillAttackMobs[Rnd.get(little_skillAttackMobs.length)], getLoc(), 150);
ni.getAI().Attack(attacker, true, false);
this.decayMe();
this.doDie(attacker);
}
}
else if (skill == null)
{
for (int i = 0; i < 3; i++)
{
NpcInstance ni = getReflection().addSpawnWithoutRespawn(big_simpleAttackMobs[Rnd.get(big_simpleAttackMobs.length)], getLoc(), 150);
ni.getAI().Attack(attacker, true, false);
}
this.decayMe();
this.doDie(attacker);
}
else
{
for (int i = 0; i < 3; i++)
{
NpcInstance ni = getReflection().addSpawnWithoutRespawn(big_skillAttackMobs[Rnd.get(big_skillAttackMobs.length)], getLoc(), 150);
ni.getAI().Attack(attacker, true, false);
}
this.decayMe();
this.doDie(attacker);
}
}
else if (npdId == 32919)
{
NpcInstance ni = getReflection().addSpawnWithoutRespawn(little_nightAttackMobs[Rnd.get(little_nightAttackMobs.length)], getLoc(), 150);
ni.getAI().Attack(attacker, true, false);
this.decayMe();
this.doDie(attacker);
}
else
{
for (int i = 0; i < 3; i++)
{
NpcInstance ni = getReflection().addSpawnWithoutRespawn(big_nightAttackMobs[Rnd.get(big_nightAttackMobs.length)], getLoc(), 150);
ni.getAI().Attack(attacker, true, false);
}
this.decayMe();
this.doDie(attacker);
}
}