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

        effect.OnUseCard(caster, target);
    }