mirror of
https://github.com/correl/mage.git
synced 2025-01-12 11:08:01 +00:00
Overflow check
This commit is contained in:
parent
d0f74c9f9d
commit
27f0f04d52
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ class AngrathsMaraudersEffect extends ReplacementEffectImpl {
|
|||
|
||||
@Override
|
||||
public boolean replaceEvent(GameEvent event, Ability source, Game game) {
|
||||
event.setAmount(2 * event.getAmount());
|
||||
event.setAmount(game.addWithOverflowCheck(event.getAmount(), event.getAmount()));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue