Examples of chestTrap()


Examples of com.l2jfrozen.gameserver.model.actor.instance.L2ChestInstance.chestTrap()

        }
        else
        {
          activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(), 13));
          if (Rnd.get(100) < chestTrapLimit)
            chest.chestTrap(activeChar);
          chest.setInteracted();
          chest.addDamageHate(activeChar, 0, 1);
          chest.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, activeChar);
        }
        chest = null;
View Full Code Here

Examples of net.sf.l2j.gameserver.model.actor.instance.L2ChestInstance.chestTrap()

            chest.reduceCurrentHp(99999999, activeChar);
        }
        else
        {
            activeChar.broadcastPacket(new SocialAction(activeChar.getObjectId(),13));
            if (Rnd.get(100) < chestTrapLimit) chest.chestTrap(activeChar);
            chest.setInteracted();
            chest.addDamageHate(activeChar,0,1);
            chest.getAI().setIntention(CtrlIntention.AI_INTENTION_ATTACK, activeChar);
        }
      }
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.