This is wrong of course. It should be
!!HE-1:S14/?y2;
!!FU&y2<2:E;
(08.08.2009 08:50)Valery Wrote: After looking at last BAD's script, he choose the class using other:
!!HE-1:B2/?y-7 Ed/?y-8;
!!VRy-99:Sy-7 %2; // only for casters
!!FU&y-99=0:E; // exit the function, if it is a fighter class
I am not sure I understand the Sy-7 %2 part.
He did it right. % is division reminder. So, if it is 0, the number is even, otherwise it's odd. Spellcasters classes are odd.This way is better because it would work if new character classes are added.
(08.08.2009 08:50)Valery Wrote: Also he increased the spells damage but using 3.59 !!SS command. Does this means 3.58 is unable atm to do it?
This can be done by editing memory in 3.58f. You need this only during battle, so it can be done in a clear way.