mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
- Fixed bug with Clip Wings
This commit is contained in:
@@ -111,7 +111,10 @@ public class SacrificeAi extends SpellAbilityAi {
|
||||
final String valid = sa.getParam("SacValid");
|
||||
if (defined == null) {
|
||||
// Self Sacrifice.
|
||||
} else if (defined.equals("Player") || (defined.equals("Opponent") && !sa.isTrigger())) {
|
||||
} else if (defined.equals("Player")
|
||||
|| ((defined.equals("Player.Opponent") || defined.equals("Opponent")) && !sa.isTrigger())) {
|
||||
// is either "Defined$ Player.Opponent" and "Defined$ Opponent" obsolete?
|
||||
|
||||
// If Sacrifice hits both players:
|
||||
// Only cast it if Human has the full amount of valid
|
||||
// Only cast it if AI doesn't have the full amount of Valid
|
||||
|
||||
Reference in New Issue
Block a user