Ejemplo n.º 1
0
 /// <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);
 }
Ejemplo n.º 2
0
 /// <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);
 }