Package l2p.gameserver.model

Examples of l2p.gameserver.model.L2Character.reduceCurrentHp()


        obj = plyr;
      }
      if(obj != null && obj.isCharacter())
      {
        L2Character target = (L2Character) obj;
        target.reduceCurrentHp(target.getMaxHp() + 1, activeChar, null, true, true, true, false);
      }
      else
      {
        activeChar.sendPacket(Msg.INVALID_TARGET);
      }
View Full Code Here


      }
    }
    if(obj != null && obj.isCharacter())
    {
      L2Character target = (L2Character) obj;
      target.reduceCurrentHp(target.getMaxHp() + target.getMaxCp() + 1, activeChar, null, true, true, false, false);
    }
    else
    {
      activeChar.sendPacket(Msg.INVALID_TARGET);
    }
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.