Starting from its latest version G3Fixpack started handling basilisk's petrifying effect, so I need to rewrite my code for it to work with both not fixpacked & fixpacked games. To do so I need to be able to adjust saving throw bonus of all effects of a given spell, like this:
COPY_EXISTING crspl005.spl override LPF ALTER_SPELL_EFFECT INT_VAR match_opcode = -1 savebonus = savebonus+2 STR_VAR END
No doubt you have noticed a line that would not work . I'll try to study tomorrow myself on how should I change this code for it to work (I feel there will be a healthy dose of dreaded "read_byte" which I understood once, about 10 years ago, and forgot completely by now ), but if someone would lend me a hand with that it would be ever so cool!
Bonus question: if I accidentally alter save bonus for an effect having no saving throw at all, I won't screw anything, right, this save bonus simply will be ignored by the engine?