PlayerCombatStats dex penalty applied correctly
This commit is contained in:
1 parent
f073a93d47
commit
b7c2b7a0d5
2 files changed
+4
-4
No files matched your search
@@ -687,7 +687,7 @@ public class PlayerCombatStats {
|
||||
if(penaltyFactor > 0)
|
||||
penaltyFactor *= 0.01f;
|
||||
|
||||
float totalPenalty = dex * (1 + penaltyFactor);
|
||||
float totalPenalty = dex * penaltyFactor;
|
||||
|
||||
return Math.round(dex - totalPenalty);
|
||||
|
||||
|
||||
Reference in new issue
Block a user