igroglaz / srvmgr

https://rom2.ru
8 stars 5 forks source link

Fix for spell duration overflow #11

Closed serg-bloim closed 4 years ago

serg-bloim commented 4 years ago

Issue and fix explained: https://github.com/igroglaz/srvmgr/wiki/Spell-duration-overflow

serg-bloim commented 4 years ago

I replaced multiple individual functions for every invocation. Instead made a single function fix_spell_duration_overflow to serve 4 invocations.

serg-bloim commented 4 years ago

Tested locally on Fire resist spell