mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
- Added some basic targeting AI for changeZoneAll.
This commit is contained in:
@@ -1347,7 +1347,13 @@ public class AbilityFactory_ChangeZone {
|
||||
return false;
|
||||
}
|
||||
else if (origin.equals("Graveyard")){
|
||||
|
||||
Target tgt = af.getAbTgt();
|
||||
if (tgt != null){
|
||||
if(AllZoneUtil.getPlayerGraveyard(AllZone.HumanPlayer).isEmpty())
|
||||
return false;
|
||||
tgt.resetTargets();
|
||||
tgt.addTarget(AllZone.HumanPlayer);
|
||||
}
|
||||
}
|
||||
else if (origin.equals("Exile")){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user