Forge Condition
Contents |
Condition
SpellAbility_Condition is mostly used with the new Ability_Factory. But in certain circumstances can also be used with code blocks.
Here are the following current Restrictions.
Condition
Condition$ <Option> can accept several different values:
- Metalcraft
- Threshold
- Hellbent
These basically follow the text of the card.
ConditionZone
ConditionZone$<Zone> For cards that have conditions about where a card starts (this probably needs more testing)
SorcerySpeed
SorcerySpeed$True For cards that have "if you cast at sorcery speed"
PlayerTurn
PlayerTurn$True For cards with conditions during the activating player's turn.
OpponentTurn
OpponentTurn $True For cardswith conditions during the opponent's turn of the activating player.
ConditionPhases
ConditionPhases$<Phases,Seperated,By,Commas> For Abilities can only be activated during upkeep then it'll be ConditionPhases$Upkeep if it's before Declare Attackers than it's ConditionPhases$Upkeep,Draw,Main1,BeginCombat
This can also be handled in a range. ConditionPhases$ BeginCombat->EndCombat for Spells that can only be cast during combat.
ConditionCardsInHand
ConditionCardsInHand$<CardsInHand>
Present for Conditions
ConditionPresent is the only Required Parameter. The rest will default to a the most common case. Similar to IsPresent but Condition is checked on Resolution not Activation.
ConditionPresent
This parameter gets sent in to CardList.getValidCards() as a comparison. If you don't know what this should be, make it "Card"
ConditionDefined
Defined tells Condition where to grab it's CardList from. By default, it would be "Cards On Battlefield" but it can easily be things like "Targeted" or anything else that Defined uses.
ConditionCompare
After the card list is filtered by Valid cards, Compare will compare the size of that list to this comparison value. This
ConditionDescription
Can be used to improve the legibility of the generated StackDescription


