Addition of AutoAttackDamageBonus effect.
Contributed by nasseka.
This commit is contained in:
@@ -1445,6 +1445,7 @@ public class Formulas
|
||||
damage *= calcAttackTraitBonus(attacker, target);
|
||||
damage *= calcAttributeBonus(attacker, target, null);
|
||||
damage *= calculatePvpPveBonus(attacker, target, null, crit);
|
||||
damage *= attacker.getStat().getMul(Stat.AUTO_ATTACK_DAMAGE_BONUS);
|
||||
|
||||
return Math.max(0, damage);
|
||||
}
|
||||
|
@@ -87,6 +87,7 @@ public enum Stat
|
||||
CRITICAL_DAMAGE_ADD("cAtkAdd"), // this is another type for special critical damage mods - vicious stance, critical power and critical damage SA
|
||||
HATE_ATTACK("attackHate"),
|
||||
REAR_DAMAGE_RATE("rearDamage"),
|
||||
AUTO_ATTACK_DAMAGE_BONUS("autoAttackDamageBonus"),
|
||||
|
||||
// PVP BONUS
|
||||
PVP_PHYSICAL_ATTACK_DAMAGE("pvpPhysDmg"),
|
||||
|
Reference in New Issue
Block a user