Ejemplo n.º 1
0
 @Override
 public void runImpl() throws Exception {
   NpcInstance npc = GameObjectsStorage.getAsNpc(_storedId);
   Functions.npcShout(npc, NpcString.FURNFACE3);
   GAME_TIME_EXPIRED =
       ThreadPoolManager.getInstance().schedule(new GAME_TIME_EXPIRED(), 10 * 1000);
 }
Ejemplo n.º 2
0
 @Override
 public void runImpl() throws Exception {
   NpcInstance npc1 = GameObjectsStorage.getAsNpc(_storedId);
   Functions.npcShout(npc1, NpcString.FURNFACE4);
   for (NpcInstance npc : GameObjectsStorage.getAllNpcs()) {
     if (npc != null && npc.getNpcId() == 18913 && getDistance(npc) <= 1200) {
       ((FurnfaceInstance) npc).setSCE_GAME_PLAYER_START();
     }
   }
   i_ai0 = 1;
 }
Ejemplo n.º 3
0
 @Override
 public void runImpl() throws Exception {
   NpcInstance npc = GameObjectsStorage.getAsNpc(_storedId);
   Functions.npcShout(npc, NpcString.FURNFACE2);
   switch (getAISpawnParam()) {
     case 1:
       HURRY_UP2_1 = ThreadPoolManager.getInstance().schedule(new HURRY_UP2(), 60 * 1000);
       break;
     case 2:
       HURRY_UP2_2 = ThreadPoolManager.getInstance().schedule(new HURRY_UP2(), 60 * 1000);
       break;
   }
 }