public Ongoing(Ongoing basis) : base(basis) { this.baseCard = basis.baseCard; }
public void ApplyCardEffect(Card c, Minion caster, TriggerItem target, MinionAnimationSequence animation) { TextChanges changes = null; if (cardTextChanges.ContainsKey(c)) changes = cardTextChanges[c]; ApplyEffect(c.effect, new EffectContext(this, changes, caster, target, new TriggerEvent(TriggerType.onSpell, caster, target.permanent), animation)); if (c.ongoingType != null) { Point pos = target.position; ongoingEffects[pos] = new Ongoing(c, pos); } }