mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
FlipACoinAi: format and remove getOpponent
This commit is contained in:
@@ -28,7 +28,7 @@ public class FlipACoinAi extends SpellAbilityAi {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
sa.resetTargets();
|
sa.resetTargets();
|
||||||
for (Card c : ai.getOpponent().getCreaturesInPlay()) {
|
for (Card c : ai.getOpponents().getCreaturesInPlay()) {
|
||||||
if (sa.canTarget(c)) {
|
if (sa.canTarget(c)) {
|
||||||
sa.getTargets().add(c);
|
sa.getTargets().add(c);
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
Reference in New Issue
Block a user