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:
xenohedron 2023-06-16 02:24:32 -04:00 committed by GitHub
parent 93726d6dd0
commit 0ce6df9ef7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 36 additions and 26 deletions

View file

@ -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;
}