Weapon trait bonus should be limited to 78%.
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user