示例#1
0
        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);
            }
        }
示例#2
0
        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);
            }
        }