I wrote that script in response to a reported assert error. It checks for an invalid target type (2) on the caster/global effects for spells. (The engine doesn't like that and immediately errors out.)
I guess the fix really depends on the respective spell but setting the target type to 1 (self) should be relatively safe.
As for myself, I'm still supporting the german community whenever I can, but sadly I don't have much time anymore.
Debugging assert errors is still fun though.
Taimon
Member Since 19 Jan 2008Offline Last Active Private