// Set buffed on/off public void SetBuff(bool enabled) { // En/Disable amp dmgAmp = enabled ? 2.0f : 1.0f; isBuffed = enabled; // En/Disable amp UI PlayerStatsUI.SetBuffEnabled(enabled); }