mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 10:40:06 -08:00
fix First Responder effect
This commit is contained in:
parent
08934f3f94
commit
6aabc6c9c9
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ class FirstResponderEffect extends OneShotEffect {
|
||||||
player.moveCards(permanent, Zone.HAND, source, game);
|
player.moveCards(permanent, Zone.HAND, source, game);
|
||||||
int power = permanent.getPower().getValue();
|
int power = permanent.getPower().getValue();
|
||||||
Permanent sourcePermanent = source.getSourcePermanentIfItStillExists(game);
|
Permanent sourcePermanent = source.getSourcePermanentIfItStillExists(game);
|
||||||
if (power < 1 || sourcePermanent == null) {
|
if (power > 0 && sourcePermanent != null) {
|
||||||
sourcePermanent.addCounters(CounterType.P1P1.createInstance(power), source, game);
|
sourcePermanent.addCounters(CounterType.P1P1.createInstance(power), source, game);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue