Problem removing reagents from spells
I am having a problem removing the reagent from the mage pet spells. I am currently developing a custom server and would like to make the pet and other spells not require reagents and/or different ones. I have edited the spells_new db entry for the target spell (315 - elementalkin water) and removed the reagent count and id number. I used the perl script to export a spellfile for my client.
I know the spellfile is exported correctly because I changed the name of the spell to "Elementalkin: Water (No Reagent)" in the DB and that shows up properly in the client.
Upon casting the spell I get:
[Debug] OP CastSpell: slot=4, spell=315, target=51, inv=ffffffff
[Debug] [SPELLS__CASTING] Alla: CastSpell called for spell Elementalkin: Water (315) on entity 51, slot 4, time -1, mana -1, from item slot 999
[Debug] [SPELLS__CASTING] Alla: Check Fizzle Alla spell 315 fizzlechance: 7.31% diff: -13.45 roll: 36.97
[Debug] [SPELLS__CASTING] Alla: DoCastSpell called for spell Elementalkin: Water (315) on entity 51, slot 4, time -1, mana -1, from item 999
[Debug] [SPELLS__CASTING] Alla: Casting 315 Started at (-966.250,142.000,-38.841)
[Debug] [SPELLS__CASTING] Alla: Determined effective casting level 40+0+0=40
[Debug] [SPELLS__CASTING] Alla: Spell 315: Casting level 40, formula 0, base_duration 0: result 1
[Debug] [SPELLS__CASTING] Alla: Spell 6000: Casting time 6000 (orig 40), mana cost 0
[Debug] [SPELLS__CASTING_ERR] Alla: Spell 315: Canceled. Missing required reagent UNKNOWN (10015)
[Debug] [SPELLS__CASTING] Alla: Spell 315 has been interrupted.
Everything seems to be right. I have searched the forums and the wiki and cant really find any info on my problem. Thank you much for your help.
|