Merge branch 'crewsd' into 'master'

tidy Crew StackDescription

See merge request core-developers/forge!6151
This commit is contained in:
Michael Kamensky
2022-02-05 05:42:31 +00:00

View File

@@ -3357,10 +3357,11 @@ public class CardFactoryUtil {
// tapXType has a special check for withTotalPower, and NEEDS it to be "+withTotalPowerGE" // tapXType has a special check for withTotalPower, and NEEDS it to be "+withTotalPowerGE"
// So adding redundant YouCtrl to simplify matters even though its unnecessary // So adding redundant YouCtrl to simplify matters even though its unnecessary
String effect = "AB$ Animate | Cost$ tapXType<Any/Creature.YouCtrl+withTotalPowerGE" + power + String effect = "AB$ Animate | Cost$ tapXType<Any/Creature.YouCtrl+withTotalPowerGE" + power + "> | " +
"> | CostDesc$ Crew " + power + " (Tap any number of creatures you control with total power " + power + "CostDesc$ Crew " + power + " (Tap any number of creatures you control with total power " + power +
" or more: | Crew$ True | Secondary$ True | Defined$ Self | Types$ Creature,Artifact | RemoveCardTypes$ True" + " or more: | Crew$ True | Secondary$ True | Defined$ Self | Types$ Creature,Artifact | " +
" | SpellDescription$ CARDNAME becomes an artifact creature until end of turn.)"; "RemoveCardTypes$ True | StackDescription$ SpellDescription | SpellDescription$ CARDNAME becomes" +
" an artifact creature until end of turn.)";
final SpellAbility sa = AbilityFactory.getAbility(effect, card); final SpellAbility sa = AbilityFactory.getAbility(effect, card);
sa.setIntrinsic(intrinsic); sa.setIntrinsic(intrinsic);