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