public virtual void PayCost() { Caller.ApplySingleEffect("Stamina", -GetCost.stamina); Caller.ApplySingleEffect("Health", -GetCost.health); if (GetCost.bodyPartDamage.bodyPart != BodyPart.None) { Caller.ApplySingleBodyEffect(GetCost.bodyPartDamage.bodyPart, GetCost.bodyPartDamage.damage); } }
protected override IEnumerator ApplyEffects() { yield return(StartCoroutine(base.ApplyEffects())); (lockingCard as SC_Submission).ApplyBodyPartDamage(); if ((lockingCard as SC_Submission).GetCost.bodyPartDamage.bodyPart != BodyPart.None) { Caller.ApplySingleBodyEffect((lockingCard as SC_Submission).GetCost.bodyPartDamage.bodyPart, (lockingCard as SC_Submission).GetCost.bodyPartDamage.damage); } }