Jump to content

Code Check (Rip This To Shreds)


Recommended Posts

*sigh* Working on teaching a spell to the party via a super-elementary terrain script. However, the dialog it calls in the town script is giving me trouble. No problems rewarding the party with gold or an item (armor), but I'm struggling with teaching a spell. Limited help in the searchable board messages or the documentation. I know the problem is somewhere in this code:

Code:
 			w = 0;			while (w < 4) {				if (char_ok(w)) {					if (get_spell_level(w,0,15) < 3)) {						change_spell_level(w,0,15,1); }					}				w = w + 1;				} 
I get an "Improper command" error when I test it.
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...