public void GiveCursedDebuffMinimum(CharacterBody characterBody, int curseAmount) { if (characterBody && characterBody.healthComponent) { var curseDebuffAmount = characterBody.GetBuffCount(RoR2Content.Buffs.PermanentCurse); if (curseDebuffAmount < curseAmount) { HelperUtil.AddBuffStacks(characterBody, RoR2Content.Buffs.PermanentCurse, curseAmount - curseDebuffAmount); } } }