Package l2p.gameserver.model.instances

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


    if(isGiftRecivedToday(player))
    {
      show(Files.read(msgAlreadyRecived, player), player, npc);
      return;
    }
    npc.altUseSkill(SkillTable.getInstance().getInfo(BIRTHDAY_CAKE, 1), player);
    addItem(player, HAT, 1);
    show(Files.read("data/html/default/32600-2.htm ", player), player, npc);
    long now = System.currentTimeMillis() / 1000;
    player.setVar("Birthday", String.valueOf(now));
    DecayTaskManager.getInstance().addDecayTask(npc);
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.