mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
Fixed Persist Ability
This commit is contained in:
parent
8ba88ff5f2
commit
3f444ec6de
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ public class PersistAbility extends DiesTriggeredAbility {
|
|||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
if (super.checkTrigger(event, game)) {
|
||||
Permanent p = (Permanent) game.getLastKnownInformation(event.getTargetId(), Constants.Zone.BATTLEFIELD);
|
||||
if (!p.getCounters().containsKey(CounterType.P1P1) || p.getCounters().getCount(CounterType.M1M1) == 0) {
|
||||
if (p.getCounters().getCount(CounterType.M1M1) == 0) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue