mirror of
https://github.com/magefree/mage.git
synced 2025-12-23 20:11:59 -08:00
fixed bug #3853
This commit is contained in:
parent
a2f25c76d9
commit
2b5f5463e6
1 changed files with 5 additions and 0 deletions
|
|
@ -99,6 +99,11 @@ class NetherTraitorTriggeredAbility extends TriggeredAbilityImpl {
|
|||
@Override
|
||||
public boolean checkTrigger(GameEvent event, Game game) {
|
||||
ZoneChangeEvent zEvent = (ZoneChangeEvent) event;
|
||||
for (Zone z : Zone.values()) {
|
||||
if (game.getShortLivingLKI(sourceId, z) && !z.equals(Zone.GRAVEYARD)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (zEvent.getFromZone() == Zone.BATTLEFIELD && zEvent.getToZone() == Zone.GRAVEYARD) {
|
||||
if (zEvent.getTarget() != null &&
|
||||
zEvent.getTarget().getOwnerId().equals(this.getControllerId()) &&
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue