mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-31 06:07:34 +01:00
Multiplying attack damage now properly scales
This commit is contained in:
parent
1d21233ad6
commit
ca2e84acc9
@ -83,7 +83,7 @@ public class AttackResult {
|
||||
}
|
||||
|
||||
public void addRelativeDamage(double coef) {
|
||||
multiplyDamage(1 + coef);
|
||||
multiplyDamage(Math.max(1, coef));
|
||||
}
|
||||
|
||||
public AttackResult multiplyDamage(double coef) {
|
||||
|
Loading…
Reference in New Issue
Block a user