mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Merge branch 'asFlash' of git.cardforge.org:core-developers/forge into asFlash
This commit is contained in:
@@ -423,6 +423,10 @@ public final class GameActionUtil {
|
||||
}
|
||||
}
|
||||
} else if (keyword.startsWith("MayFlashCost")) {
|
||||
// this is there for the AI
|
||||
if ( source.getGame().getPhaseHandler().isPlayerTurn(source.getController())) {
|
||||
continue; // don't cast it with additional flash cost during AI's own turn, commonly a waste of mana
|
||||
}
|
||||
final String[] k = keyword.split(":");
|
||||
for (int i = 0; i < abilities.size(); i++) {
|
||||
final SpellAbility newSA = abilities.get(i).copy();
|
||||
|
||||
Reference in New Issue
Block a user