mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
- The AI will now use the ability of Shirei, Shizo's Caretaker.
This commit is contained in:
@@ -7,6 +7,7 @@ import java.util.Map;
|
||||
|
||||
import forge.Card;
|
||||
import forge.Singletons;
|
||||
import forge.card.ability.AbilityFactory;
|
||||
import forge.card.ability.ApiType;
|
||||
import forge.card.cost.Cost;
|
||||
import forge.card.mana.ManaCost;
|
||||
@@ -405,6 +406,10 @@ public class WrappedAbility extends Ability implements ISpellAbility {
|
||||
return;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (triggerParams.containsKey("DelayedTrigger")) {
|
||||
//TODO: The only card with an optional delayed trigger is Shirei, Shizo's Caretaker,
|
||||
// needs to be expanded when a more difficult cards comes up
|
||||
} else {
|
||||
ArrayList<Object> tgts = null;
|
||||
// make sure the targets won't change
|
||||
@@ -423,6 +428,7 @@ public class WrappedAbility extends Ability implements ISpellAbility {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (getActivatingPlayer().isHuman()) {
|
||||
game.getActionPlay().playSpellAbilityNoStack(getActivatingPlayer(), sa, true);
|
||||
|
||||
Reference in New Issue
Block a user