public void removeAreaBuff(GameObject go) { stats = go.GetComponent <isStats>(); if (stats != null) { stats.LowerStat(Name, buffPercentage); buffed = false; } }
public void AreaBuff() { if (hasBuffed.Contains(recipient)) { return; } else { stats = recipient.GetComponent <isStats>(); if (stats != null) { stats.BuffStat(Name, buffPercentage); hasBuffed.Add(recipient); times.Add(0.0f); } } }
public void Buff(isStats s) { stats = s; stats.BuffStat(Name, buffPercentage); buffed = true; }