Package l2p.gameserver.model.instances

Examples of l2p.gameserver.model.instances.L2TrapInstance.destroy()


    L2TrapInstance trap;
    for(Integer trapId : traps.keySet())
    {
      if((trap = (L2TrapInstance) L2ObjectsStorage.get(traps.get(trapId))) != null)
      {
        trap.destroy();
        return;
      }
      traps.remove(trapId);
      return;
    }
View Full Code Here


    public void run()
    {
      L2TrapInstance trap = (L2TrapInstance) L2ObjectsStorage.get(trapStoreId);
      if(trap != null)
      {
        trap.destroy();
      }
    }
  }
}
View Full Code Here

      if(target != null && target.isTrap())
      {
        L2TrapInstance trap = (L2TrapInstance) target;
        if(trap.getLevel() <= getPower())
        {
          trap.destroy();
        }
      }
    }
    if(isSSPossible())
    {
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.