forked from External/mage
Refactor: overflow method naming
This commit is contained in:
parent
2393485320
commit
b6f6bac5e0
51 changed files with 139 additions and 138 deletions
|
|
@ -80,7 +80,7 @@ public class MageInt implements Serializable, Copyable<MageInt> {
|
|||
}
|
||||
|
||||
public void boostValue(int amount) {
|
||||
this.boostedValue = CardUtil.addWithOverflowCheck(this.boostedValue, amount);
|
||||
this.boostedValue = CardUtil.overflowInc(this.boostedValue, amount);
|
||||
}
|
||||
|
||||
public void resetToBaseValue() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue