mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 19:41:59 -08:00
Fixed a bug of Primordial Hydra not triggering add counter event, if counters are doubled.
This commit is contained in:
parent
0a670ded4a
commit
3238c69cdf
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ class PrimordialHydraDoubleEffect extends OneShotEffect<PrimordialHydraDoubleEff
|
||||||
if (sourcePermanent != null) {
|
if (sourcePermanent != null) {
|
||||||
int amount = sourcePermanent.getCounters().getCount(CounterType.P1P1);
|
int amount = sourcePermanent.getCounters().getCount(CounterType.P1P1);
|
||||||
if (amount > 0) {
|
if (amount > 0) {
|
||||||
sourcePermanent.getCounters().addCounter(CounterType.P1P1.createInstance(amount));
|
sourcePermanent.addCounters(CounterType.P1P1.createInstance(amount), game);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue