Examples of addMethodInvokeListener()


Examples of l2p.gameserver.model.instances.L2NpcInstance.addMethodInvokeListener()

        return "31541-05.htm";
      }
      st.takeItems(S_SUMMON, 1);
      isQuest = st.addSpawn(DAIMON, 186320, -43904, -3175);
      Functions.npcSay(isQuest, "Who called me?");
      isQuest.addMethodInvokeListener(MethodCollection.doDie, new DieListener());
      st.playSound(SOUND_MIDDLE);
      st.set("cond", "2");
      st.setState(STARTED);
      st.getPlayer().sendMessage("Daimon the White-Eyed has spawned in 186320, -43904, -3175");
      st.startQuestTimer("DAIMON_Fail", 12000000);
View Full Code Here

Examples of l2p.gameserver.model.instances.L2NpcInstance.addMethodInvokeListener()

          isQuest = st.addSpawn(DAIMON, 186320, -43904, -3175);
          Functions.npcSay(isQuest, "Who called me?");
          st.playSound(SOUND_MIDDLE);
          st.setState(STARTED);
          st.getPlayer().sendMessage("Daimon the White-Eyed has spawned in 186320, -43904, -3175");
          isQuest.addMethodInvokeListener(MethodCollection.doDie, new DieListener());
          st.startQuestTimer("DAIMON_Fail", 12000000);
        }
      }
    }
    else if(cond == 3)
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.