StaticEffectFactory

To be close to AbilityFactory and Triggers, I imagine it to look like this:
Example: Crusade
Parameters:
A. General
EffectZone (defaults to Battlefield)
Affected (can be expanded to players in the future)
Description
B. Effects
AddPower, AddToughness, SetPower, SetToughness, SwitchPT
AddKeyword, AddAbility, AddTrigger
RemoveKeyword, RemoveAbility, RemoveTrigger (allowed is "All")
AddSuperType, AddCardType, AddSubType
RemoveSuperType, RemoveCardType, RemoveSubType (allowed is "All")
AddColor
RemoveColor (allowed is "All")
C. Conditions
isPresent, Threshold, etc.
I hope this should cover everything. I won't commit anything active until the next beta is released. Any comments?
Example: Crusade
- Code: Select all
S:Affected$ Creature.White | AddPower$ 1 | AddToughness$ 1 | EffectDescription$ White creatures get +1/+1.
- Code: Select all
S:Affected$ Forest,Saproling | AddCardType$ Creature,Land | AddSubType$ Forest,Saproling | SetPower$ 1 | SetToughness$ 1 | EffectDescription$ All Forests and all Saprolings are 1/1 green Saproling creatures and Forest lands in addition to their other types.
Parameters:
A. General
EffectZone (defaults to Battlefield)
Affected (can be expanded to players in the future)
Description
B. Effects
AddPower, AddToughness, SetPower, SetToughness, SwitchPT
AddKeyword, AddAbility, AddTrigger
RemoveKeyword, RemoveAbility, RemoveTrigger (allowed is "All")
AddSuperType, AddCardType, AddSubType
RemoveSuperType, RemoveCardType, RemoveSubType (allowed is "All")
AddColor
RemoveColor (allowed is "All")
C. Conditions
isPresent, Threshold, etc.
I hope this should cover everything. I won't commit anything active until the next beta is released. Any comments?