mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
Improvements to effects that use ADD_COUNTERS GameEvent (#10474)
* Fix Blightbeetle * Another adjustment to Laezel * Fix Vizier of Remedies * Make extra counters overflow safe * Inline variable instead of field (Doubling Season)
This commit is contained in:
parent
93726d6dd0
commit
0ce6df9ef7
11 changed files with 36 additions and 26 deletions
|
|
@ -36,7 +36,7 @@ public class ModifyCountersAddedEffect extends ReplacementEffectImpl {
|
|||
|
||||
@Override
|
||||
public boolean replaceEvent(GameEvent event, Ability source, Game game) {
|
||||
event.setAmountForCounters(event.getAmount() + 1, true);
|
||||
event.setAmountForCounters(CardUtil.overflowInc(event.getAmount(), 1), true);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue