using System.Collections; using System.Collections.Generic; using UnityEngine; public class MovementBuff : Buff { public MovementBuff(int setTimer, int setAmount) { timer = setTimer + 1; amount = setAmount; } public override void Apply(Character self) { self.SetMoveCofficient((int)(amount)); } public override void Remove(Character self) { self.SetMoveCofficient((int)(-amount)); } }