public void RemoveBuff() { if (buffed == true) { stats.LowerStat(Name, buffPercentage); buffed = false; } }
public void removeAreaBuff(GameObject go) { stats = go.GetComponent <isStats>(); if (stats != null) { stats.LowerStat(Name, buffPercentage); buffed = false; } }