Burgeoning Battle Gamma Guardian of Eternity Posted April 4, 2005 Share Posted April 4, 2005 *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 More sharing options...
Hatchling Cockatrice Lilith Posted April 4, 2005 Share Posted April 4, 2005 Quote: if (get_spell_level(w,0,15) < 3)) { Spot the problem. (Hint: parentheses.) Link to comment Share on other sites More sharing options...
Burgeoning Battle Gamma Guardian of Eternity Posted April 4, 2005 Author Share Posted April 4, 2005 That's all it was. Of course, now I have to rebuild my characters' spellcasting skills after the error in Lord Putidus... I just looked at their stats, and I figured out where that scenario re-placed the skill levels... Thrown Missles and First Aid. Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted April 5, 2005 Share Posted April 5, 2005 There is no error in LP. That's how it's supposed to work. Please distinguish between things that you don't like and things that the designer didn't intend. Link to comment Share on other sites More sharing options...
Burgeoning Battle Gamma Guardian of Eternity Posted April 5, 2005 Author Share Posted April 5, 2005 It permanently moved my spellcasting skills to other skill areas, intentionally? I had no idea... Link to comment Share on other sites More sharing options...
Magnificent Ornk Kelandon Posted April 5, 2005 Share Posted April 5, 2005 It has a sort of pre-fab party and takes place on Earth. It shouldn't take too much to put two and two together. Link to comment Share on other sites More sharing options...
Burgeoning Battle Gamma The Yeoman Cheesemonger Posted April 5, 2005 Share Posted April 5, 2005 I haven't Started LP yet, but before I do: Will I get my spellcasting back? The Main Power Of My group is in spellcasting and this would devastate me entirely if that happened. Then I would Find The Author and reach down his throat and turn him inside Out. Link to comment Share on other sites More sharing options...
Hatchling Cockatrice Lilith Posted April 5, 2005 Share Posted April 5, 2005 You don't get your spells back. But you're meant to use a brand new level-1 party anyway, so just don't take in your normal party. Link to comment Share on other sites More sharing options...
Recommended Posts