Example #1
0
    public void StopBuffEffect(string buffKey)
    {
        if (Instance.GetBuff(buffKey) == null)
        {
            switch (buffKey)
            {
            case "stunChance":
            {
                this.Stunned = false;
                break;
            }

            case "crippleChance":
            {
                this.Slowed = false;
                break;
            }
            }
        }
    }