Updating addEffect in manager_effect.lua of CoreRPG
I recently tried to replace the addEffect function in manager_effect.lua from CoreRPG but it currently relies on locally declared variables like _nDelayedUpdates. If I wanted to overwrite the function but still do much of what its currently doing and update the local variables it doesn't look like I can reference them via EffectManager._nDelayedUpdates. Short of replacing the entire file does anyone know how to do something like this?
Ultimately I'm trying to just get the duplicate message print out to obey the bShowMsg flag and only print its message when that boolean is true.