NpcInstance newNpc = addSpawnToInstance(SC, new Location(x, y, -6115, 16215), 0, world.instanceId);
newNpc.setAI(new CharacterAI(newNpc));
if (templist[yy][xx] == 0)
{
newNpc.setBusy(true);
newNpc.addStatFunc(new FuncMul(Stats.MAGIC_DEFENCE, 0x30, this, 1000));
newNpc.addStatFunc(new FuncMul(Stats.POWER_DEFENCE, 0x30, this, 1000));
}
world.ForthRoom.npclist2.add(new long[]
{
newNpc.getStoredId(),
templist[yy][xx],