/// <summary> /// Called when the buff runs out /// </summary> /// <param name="target">The target battle driver</param> protected override void OnRemoval(BaseBattleDriver target) { target.SetStat(this.Stat, target.GetStat(this.Stat) / this.Multiplier); }
/// <summary> /// Called when the buff is applied /// </summary> /// <param name="target">The target battle driver</param> protected override void OnApplication(BaseBattleDriver target) { target.SetStat(this.Stat, target.GetStat(this.Stat) * this.Multiplier); }