mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
*Applied Swordshines fix to Commander cost increasing. Thanks! :)
This commit is contained in:
@@ -143,7 +143,7 @@ public class CardFactory {
|
|||||||
out.setCommander(in.isCommander());
|
out.setCommander(in.isCommander());
|
||||||
if(out.isCommander())
|
if(out.isCommander())
|
||||||
{
|
{
|
||||||
out.addStaticAbility("Mode$ RaiseCost | Amount$ CommanderCostRaise | Type$ Spell | Affected$ Card.Self | EffectZone$ Command | AffectedZone$ Command");
|
out.addStaticAbility("Mode$ RaiseCost | Amount$ CommanderCostRaise | Type$ Spell | Affected$ Card.Self+wasCastFromCommand | EffectZone$ All | AffectedZone$ Stack");
|
||||||
SpellAbility sa = AbilityFactory.getAbility(
|
SpellAbility sa = AbilityFactory.getAbility(
|
||||||
"SP$ PermanentCreature | SorcerySpeed$ True | ActivationZone$ Command | SubAbility$ DBCommanderIncCast | Cost$ " + out.getManaCost().toString(),
|
"SP$ PermanentCreature | SorcerySpeed$ True | ActivationZone$ Command | SubAbility$ DBCommanderIncCast | Cost$ " + out.getManaCost().toString(),
|
||||||
out);
|
out);
|
||||||
|
|||||||
@@ -2056,7 +2056,7 @@ public class CardFactoryUtil {
|
|||||||
cmd.addSpellAbility(sa);
|
cmd.addSpellAbility(sa);
|
||||||
|
|
||||||
cmd.addIntrinsicAbility("SP$ PermanentCreature | SorcerySpeed$ True | ActivationZone$ Command | SubAbility$ DBCommanderIncCast | Cost$ " + cmdManaCost);
|
cmd.addIntrinsicAbility("SP$ PermanentCreature | SorcerySpeed$ True | ActivationZone$ Command | SubAbility$ DBCommanderIncCast | Cost$ " + cmdManaCost);
|
||||||
cmd.addStaticAbility("Mode$ RaiseCost | Amount$ CommanderCostRaise | Type$ Spell | Affected$ Card.Self | EffectZone$ Command | AffectedZone$ Command");
|
cmd.addStaticAbility("Mode$ RaiseCost | Amount$ CommanderCostRaise | Type$ Spell | Affected$ Card.Self+wasCastFromCommand | EffectZone$ All | AffectedZone$ Stack");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user