Examples of destroyFirstTrap()


Examples of lineage2.gameserver.model.Player.destroyFirstTrap()

        break;
      case TRAP:
        Skill trapSkill = getFirstAddedSkill();
        if (activeChar.getTrapsCount() >= 5)
        {
          activeChar.destroyFirstTrap();
        }
        TrapInstance trap = new TrapInstance(IdFactory.getInstance().getNextId(), NpcHolder.getInstance().getTemplate(getNpcId()), activeChar, trapSkill);
        activeChar.addTrap(trap);
        trap.spawnMe();
        break;
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.