Thanks I'll give that a try. Do you happen to know if the sourceName parameter means the ability's name, the player character's name, or something else? I found an already made function called EffectTypeToName but that didn't end up working to use as effects.EffectTypeToName() for the sourceName parameter. What I'm currently trying to do is use the PauseEffect function inside of the Friendly Meditation mod to keep buffs' durations from counting down while meditating, if that helps give you any clearer idea of how to help.