Commit Graph

12 Commits

Author SHA1 Message Date
Enno Rehling 998549e687 mages have spellbooks now 2012-05-26 08:20:26 -07:00
Enno Rehling 409328a9c2 unit tests for setting combat spells 2012-05-26 07:27:59 -07:00
Enno Rehling 9d1b62d463 updating spell-lists is a thing of the past now
almost everything uses books, except sc_mage
2012-05-26 00:33:55 -07:00
Enno Rehling faa72b66b1 untangle the spaghetti a little bit
struct spell is now in spell.h where it belongs
some functions have moved as a result
2012-05-25 22:25:23 -07:00
Enno Rehling 8a4c71f430 unit_add_spell gets a level
added two tests that fail for get_spellfromtoken if spell is not stored with the unit
2012-05-25 21:49:15 -07:00
Enno Rehling a015d72add unit_add_spell gets a level
added a test that fails for get_spellfromtoken if spell is not stored with the unit
2012-05-25 21:07:26 -07:00
Enno Rehling fef92e4971 added more test for pay_spell so I don't break it. 2012-05-25 15:38:24 -07:00
Enno Rehling ae9f12c904 added a test for pay_spell so I don't break it. 2012-05-25 12:46:00 -07:00
Enno Rehling b8d8bac9ae fix trying to add to null-spellbook.
all unit tests pass.
2012-05-24 20:35:13 -07:00
Enno Rehling 3514218dba factions have working spellbooks
update of spellbooks for E3 should be functional
old data file is getting read, and levels guessed?
2012-05-24 00:56:54 -07:00
Enno Rehling 92e96689bb spellbooks fully operational (and could be loaded from XML definitions if I had them)
fixed the cleanup between tests to properly free locales
2012-05-23 20:22:12 -07:00
Enno Rehling db7ed24b3e adding spellbooks.
spellbooks will take the level and magic school out of the spell definitions, and aggregate a list of spells with their minimum levels for learning from. factions will have a list of books they can learn from (different in E2 and E3 already).
2012-05-23 12:42:14 -07:00