mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Merge remote-tracking branch 'core/master'
This commit is contained in:
@@ -299,10 +299,12 @@ public class ControlGainAi extends SpellAbilityAi {
|
|||||||
final Game game = ai.getGame();
|
final Game game = ai.getGame();
|
||||||
|
|
||||||
// Special card logic that is processed elsewhere
|
// Special card logic that is processed elsewhere
|
||||||
|
if (sa.hasParam("AILogic")) {
|
||||||
if (("DonateTargetPerm").equals(sa.getParam("AILogic"))) {
|
if (("DonateTargetPerm").equals(sa.getParam("AILogic"))) {
|
||||||
// Donate step 2 - target a donatable permanent.
|
// Donate step 2 - target a donatable permanent.
|
||||||
return SpecialCardAi.Donate.considerDonatingPermanent(ai, sa);
|
return SpecialCardAi.Donate.considerDonatingPermanent(ai, sa);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!sa.usesTargeting()) {
|
if (!sa.usesTargeting()) {
|
||||||
if (sa.hasParam("AllValid")) {
|
if (sa.hasParam("AllValid")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user