i30817 Posted December 2, 2011 Posted December 2, 2011 I'm confused about this spell. In spell.ids there is only CLERIC_RESIST_FIRE and CLERIC_RESIST_COLD Are these "subspells" from the one that we see in the game? If so, how can i clear the memorization of Resist Fire and Cold? I'm using Spell(Myself,XXXXXXX) If i have to cast both at once is it something like this: IF HotKey(~F_KEY~) HaveSpell(CLERIC_RESIST_FIRE) THEN RESPONSE #100 Spell(Myself,CLERIC_RESIST_FIRE) Spell(Myself,CLERIC_RESIST_COLD) Continue() END So RESIST_FIRE always has a sibling RESIST_COLD, or is it something else? Does this clear the Resist Fire and Cold?
lynx Posted December 2, 2011 Posted December 2, 2011 you can deduce which spell the id corresponds to by checking the id itself. I'm in a hurry, so just from memory: the first digit is the type (mage/cleric/innate), the rest correspond to the number in the resref.
devSin Posted December 3, 2011 Posted December 3, 2011 Yes, the type being 1 (priest, SPPR), 2 (wizard, SPWI), 3 (innate, SPIN), 4 (class, SPCL) (and either 0 or 5 are MARW, sigh), with a three-digit number corresponding to the spell resource. All spells are expressed as numbers. The IDS sometimes has symbols for spells that were removed or left unimplemented. When in doubt, use the number (it compiles to a number anyway, and that's all the engine cares about). I think AD&D had these as separate spells, that they combined as a single spell for BG (for whatever reason), but I don't remember.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.