Package com.l2jfrozen.gameserver.model

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


      if(damage > 0)
      {
        // Manage attack or cast break of the target (calculating rate, sending message...)
        if(!target.isRaid() && Formulas.calcAtkBreak(target, damage))
        {
          target.breakAttack();
          target.breakCast();
        }

        activeChar.sendDamageMessage(target, damage, mcrit, false, false);
View Full Code Here


        target.reduceCurrentHp(damage, activeChar);

        // Manage attack or cast break of the target (calculating rate, sending message...)
        if(!target.isRaid() && Formulas.calcAtkBreak(target, damage))
        {
          target.breakAttack();
          target.breakCast();
        }

        activeChar.sendDamageMessage(target, damage, false, false, false);
View Full Code Here

      int damage = (int) (target.getCurrentCp() * (1 - skill.getPower()));

      // Manage attack or cast break of the target (calculating rate, sending message...)
      if(!target.isRaid() && Formulas.calcAtkBreak(target, damage))
      {
        target.breakAttack();
        target.breakCast();
      }
      skill.getEffects(activeChar, target, ss, sps, bss);
      activeChar.sendDamageMessage(target, damage, false, false, false);
      target.setCurrentCp(target.getCurrentCp() - damage);
View Full Code Here

      if (damage > 0 && (!target.isDead() || getTargetType() != SkillTargetType.TARGET_CORPSE_MOB))
      {
        // Manage attack or cast break of the target (calculating rate, sending message...)
        if (!target.isRaid() && Formulas.calcAtkBreak(target, damage))
        {
          target.breakAttack();
          target.breakCast();
        }
       
        activeChar.sendDamageMessage(target, damage, mcrit, false, false);
       
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.