spell_parser problem

From: Mark Garringer (zizazat@rainbow.rmii.com)
Date: 10/06/94


It seems, to me at least, that this is wrong:

//#define SPELL_LEVEL(ch, sn)               \
//  ( (GET_CLASS(ch) == CLASS_CLERIC_OF_AO) ?     \
//  spell_info[sn].min_level_cleric_of_ao : spell_info[sn].min_level_magic)

In the addclass.doc it says for a new spell using class add something 
like spell_info[sn].min_level_newclass, but the above statment say if 
class = cleric use min_level cleric, else min_level magic. Adding another 
min_level to a two condition statment would cause problems, would it not?

--Ziz



This archive was generated by hypermail 2b30 : 12/07/00 PST