mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 13:32:06 -08:00
- Fixed #8038
This commit is contained in:
parent
7326f72222
commit
1d443b231c
2 changed files with 9 additions and 6 deletions
|
|
@ -78,10 +78,13 @@ public class ChooseSecretOpponentEffect extends OneShotEffect {
|
|||
}
|
||||
|
||||
private static String getthing(Ability source, Game game) {
|
||||
if (game.getState().getZone(source.getSourceId()) == Zone.BATTLEFIELD) {
|
||||
return "" + source.getSourceId() + '_' + source.getSourceObjectZoneChangeCounter();
|
||||
if (game.getPermanentEntering(source.getSourceId()) != null) { // Emissary of Grudges and Guardian Archon
|
||||
return "" + source.getSourceId() + '_' + (game.getPermanentEntering(source.getSourceId()).getZoneChangeCounter(game) + 1);
|
||||
}
|
||||
return "" + source.getSourceId() + '_' + (source.getSourceObjectZoneChangeCounter() + 1);
|
||||
if (game.getPermanentOrLKIBattlefield(source.getSourceId()) != null) { // Stalking Leonin
|
||||
return "" + source.getSourceId() + '_' + (game.getPermanentOrLKIBattlefield(source.getSourceId()).getZoneChangeCounter(game));
|
||||
}
|
||||
return "Does not exist";
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue