zarqon
Well-known member
When checking for effects using modifier_eval(), the effect() function is quite handy.
It would be much more handy, however, if it allowed us to use integers instead of the effect name, i.e. use "effect(1418)" instead of "effect(Glorious Blessing of the War Snapper)".
It would also avoid problems with strange characters in the name. For example, there are currently 9 effects with parentheses in the name.
In my particular case, it would also help me parse my data files more easily. Since effect() is currently the only thing introducing spaces to my damage formulae (which are written as <damage formula> <damage types>), I'd appreciate being able to eliminate the spaces from the formulae by specifying effects as integers.
It would be much more handy, however, if it allowed us to use integers instead of the effect name, i.e. use "effect(1418)" instead of "effect(Glorious Blessing of the War Snapper)".
It would also avoid problems with strange characters in the name. For example, there are currently 9 effects with parentheses in the name.
> ash modifier_eval("effect(educated (kinda))")
Expression syntax errors for 'modifier_eval()':
Expected end, found )
In my particular case, it would also help me parse my data files more easily. Since effect() is currently the only thing introducing spaces to my damage formulae (which are written as <damage formula> <damage types>), I'd appreciate being able to eliminate the spaces from the formulae by specifying effects as integers.