void Start() { foreach (string eff in StartEffects) { IEffect effect = DataLibrary.GetEffect(eff); AddEffect(effect); } }
public override void UseCard(Owner caster, MapPosition target) { ISpellEffect effect = DataLibrary.GetEffect(AssociatedEffect) as ISpellEffect; effect.OnUseCard(caster, target); }