Weapon trait bonus should be limited to 78%.

This commit is contained in:
MobiusDevelopment
2020-12-26 18:58:55 +00:00
parent e50d448084
commit 77602928d7
17 changed files with 17 additions and 17 deletions

View File

@ -1339,7 +1339,7 @@ public class Formulas
public static double calcWeaponTraitBonus(Creature attacker, Creature target)
{
return Math.max(0, 1.0 - target.getStat().getDefenceTrait(attacker.getAttackType().getTraitType()));
return Math.max(0.78, 1.0 - target.getStat().getDefenceTrait(attacker.getAttackType().getTraitType()));
}
public static double calcAttackTraitBonus(Creature attacker, Creature target)