Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.L2Summon.reduceCurrentHp()


                // not be killed
                if (summon.getCurrentHp() < tDmg)
                  tDmg = (int) summon.getCurrentHp() - 1;
                if (tDmg > 0)
                {
                  summon.reduceCurrentHp(tDmg, activeChar);
                  damage -= tDmg;
                }
              }
              if (damage >= player.getCurrentHp())
              {
View Full Code Here


          tDmg = (int) summon.getCurrentHp() - 1;
        }

        if(tDmg > 0)
        {
          summon.reduceCurrentHp(tDmg, attacker);
          value -= tDmg;
          fullValue = (int) value; // reduce the annouced value here as player will get a message about summon dammage
        }
      }
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.