Player:EffectFunction
Description
Calls the given callback function (e.g. EFFECT.OnApplied, EFFECT.OnExpired, EFFECT.OnRemoved) of one of the player's active effects, forwarding any extra arguments.
Does nothing if the player doesn't have that effect active, or the effect doesn't define the callback.