Package com.l2jfrozen.gameserver.model

Examples of com.l2jfrozen.gameserver.model.L2Character.reduceCurrentMp()


      else
      {
        double damage = Formulas.getInstance().calcManaDam(activeChar, target, skill, sps, bss);

        double mp = (damage > target.getCurrentMp() ? target.getCurrentMp() : damage);
        target.reduceCurrentMp(mp);

        if(damage > 0)
          if(target.isSleeping())
            target.stopSleeping(null);
View Full Code Here


    {
      setChameleon(retval);
    }
    else
    {
      effected.reduceCurrentMp(manaDam);
    }

    return retval;
  }
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.