B0a0sti8_firstunityproject/Assets/Skripts/BuffsDebuffs/Buffs/SpeedBoostBuff.cs
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class SpeedBoostBuff : Buff
{
    public override void StartBuffEffect(CharacterStats playerStats)
    {
        buffName = "I Am Speed";
        buffDescription = "brrrr";
        base.StartBuffEffect(playerStats);
        playerStats.movementSpeed.AddModifierAdd(value);
    }

    public override void EndBuffEffect(CharacterStats playerStats)
    {
        base.EndBuffEffect(playerStats);
        playerStats.movementSpeed.AddModifierAdd(-value);
    }

    public override Buff Clone()
    {
        SpeedBoostBuff clone = (SpeedBoostBuff)this.MemberwiseClone();
        return clone;
    }
}