Tutorial: spellcasting
Add some basic spellcasting stuff to the tutorial: read a spellbook, cast a spell. If the hero doesn't have enough energy, just adds a note saying so. Remove/restore the known spells when entering/leaving the tutorial.
This commit is contained in:
@@ -423,6 +423,7 @@ struct instance_globals_g {
|
||||
long gmst_moves;
|
||||
struct obj *gmst_invent;
|
||||
genericptr_t *gmst_ubak, *gmst_disco, *gmst_mvitals;
|
||||
struct spell gmst_spl_book[MAXSPELL + 1];
|
||||
|
||||
/* pline.c */
|
||||
struct gamelog_line *gamelog;
|
||||
|
||||
Reference in New Issue
Block a user