public void RemoveEffect()
    {
        foreach (StatModContinuous statMod in continuousMods)
        {
            subjectBattleStat.RemoveStatModContinuous(statMod);
        }

        foreach (StatModDiscrete statMod in discreteMods)
        {
            subjectBattleStat.RemoveStatModDiscrete(statMod);
        }
    }
Exemple #2
0
    public void RemoveItemEffects()
    {
        foreach (StatModContinuous mod in continuousMods)
        {
            ownerBattleStat.RemoveStatModContinuous(mod);
        }
        foreach (StatModDiscrete mod in discreteMods)
        {
            ownerBattleStat.RemoveStatModDiscrete(mod);
        }

        if (itemSkillKey != null)
        {
            owner.RemoveSkill(itemSkillKey);
        }
    }
Exemple #3
0
 public override void RemoveStatBonuses()
 {
     myBattleStat.RemoveStatModContinuous(defenceStatMod);
 }