break;
case 33172:
sel1.setAI(new NpcWarriorAI(sel1));
break;
case 33173:
sel1.setAI(new NpcArcherAI(sel1));
break;
case 33174:
sel1.setAI(new NpcMageAI(sel1));
break;
default:
break;
}
switch(npcId2)
{
case 33171:
sel2.setAI(new NpcHealerAI(sel2));
break;
case 33172:
sel2.setAI(new NpcWarriorAI(sel2));
break;
case 33173:
sel2.setAI(new NpcArcherAI(sel2));
break;
case 33174:
sel2.setAI(new NpcMageAI(sel2));
break;
default:
break;
}
adolf.setAI(new NpcWarriorAI(adolf));
archer1.setAI(new NpcArcherAI(archer1));
archer2.setAI(new NpcArcherAI(archer2));
archer3.setAI(new NpcArcherAI(archer3));
infantry1.setAI(new NpcWarriorAI(infantry1));
infantry2.setAI(new NpcWarriorAI(infantry2));
infantry3.setAI(new NpcWarriorAI(infantry3));
player.unsetVar("sel1");
player.unsetVar("sel2");