public override void RemoveEffect(IStatusEffectCore effectToRemove) { base.RemoveEffect(effectToRemove); ResetMaxStaminaIfNowOver(); ResetMaxMPIfNowOver(); }
public virtual void RemoveEffect(IStatusEffectCore effectToRemove) { m_effects.Remove(effectToRemove); effectToRemove.Remove(this); }
public override void AddEffect(IStatusEffectCore effectToAdd) { base.AddEffect(effectToAdd); ResetMaxStaminaIfNowOver(); ResetMaxMPIfNowOver(); }
public virtual void AddEffect(IStatusEffectCore effectToAdd) { m_effects.Add(effectToAdd); effectToAdd.Apply(this); }