Exemple #1
0
    public void EndBuff(PlayerBuff buff)
    {
        PlayerBuff oldBuff = playerBuffs.FirstOrDefault(o => o.BuffName == buff.BuffName);

        if (oldBuff != null)
        {
            oldBuff.EndBuff();
        }
    }