Example #1
0
 public override void RemoveEffect(IStatusEffectCore effectToRemove)
 {
     base.RemoveEffect(effectToRemove);
     ResetMaxStaminaIfNowOver();
     ResetMaxMPIfNowOver();
 }
Example #2
0
 public virtual void RemoveEffect(IStatusEffectCore effectToRemove)
 {
     m_effects.Remove(effectToRemove);
     effectToRemove.Remove(this);
 }
Example #3
0
 public override void AddEffect(IStatusEffectCore effectToAdd)
 {
     base.AddEffect(effectToAdd);
     ResetMaxStaminaIfNowOver();
     ResetMaxMPIfNowOver();
 }
Example #4
0
 public virtual void AddEffect(IStatusEffectCore effectToAdd)
 {
     m_effects.Add(effectToAdd);
     effectToAdd.Apply(this);
 }