You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
457 B

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));
}
}