TLuaEngine Documentation: TLuaEngine.EffectsService

EffectsService is the service you will use to avoid the game resetting any effects, mainly potion effects, that you set yourself.
It activates some AOB scripts in 2 categories that either make it so the effect doesnt reset, or it doesnt get updated.
If you find a way to update the effect ingame without changing it in TLuaEngine while NoReset and NoUpdate are both on for that effect, report it in the discord.
Here are the functions in EffectsService:

ToggleResetEffect(effect) - ToggleResetEffect is called with the name of an effect. List of these in the button at the bottom.
ToggleUpdateEffect(effect) - ToggleUpdateEffect is called with the name of an effect. List of these in the button at the bottom.
GetResetEffectState(effect) - GetResetEffectState is called with the name of an effect, and returns whether that NoReset effect script is active or not.
GetUpdateEffectState(effect) - GetUpdateEffectState is called with the name of an efect, and return whether that NoUpdate effect script is active or not.




(More will be added to this page when needed or asked for)