mirror of
https://github.com/correl/mage.git
synced 2024-12-25 11:11:16 +00:00
* Vanishing - Fixed that the sacrifice works again if all time counters are removed.
This commit is contained in:
parent
cb20981a7b
commit
d4e2a34ddf
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class VanishingSacrificeAbility extends TriggeredAbilityImpl {
|
|||
|
||||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
if (event.getType() == GameEvent.EventType.COUNTER_REMOVED && event.getData().equals("Time") && event.getTargetId().equals(this.getSourceId())) {
|
||||
if (event.getType() == GameEvent.EventType.COUNTER_REMOVED && event.getData().equals("time") && event.getTargetId().equals(this.getSourceId())) {
|
||||
Permanent p = game.getPermanent(this.getSourceId());
|
||||
if (p != null) {
|
||||
return p.getCounters().getCount(CounterType.TIME) == 0;
|
||||
|
|
Loading…
Reference in a new issue