Package l2p.gameserver.model

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


    if(mpConsume > effector.getCurrentMp())
    {
      effector.sendPacket(Msg.NOT_ENOUGH_MP);
      return false;
    }
    effector.reduceCurrentMp(mpConsume, effector);
    // Использовать разрешено только скиллы типа TARGET_ONE
    for(L2Character cha : L2World.getAroundCharacters(symbol, getSkill().getSkillRadius(), 200))
    {
      if(cha.getEffectList().getEffectsBySkill(skill) == null && skill.checkTarget(effector, cha, cha, false, false) == null)
      {
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.