Author Topic: IP_CONST_CASTSPELL_* Variable for Mestil's Acid Sheath?  (Read 417 times)

Legacy_jplesuk

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
IP_CONST_CASTSPELL_* Variable for Mestil's Acid Sheath?
« on: August 25, 2010, 04:01:51 pm »


               Hey All. I'm trying to add Mestil's Acid Sheath to a weapon via a script with the ItemPropertyCastSpell function. Basically, the PC equips the weapon and the spell magically gets added to it.

Unforutnately though, I cannot find the IP_CONST_CASTSPELL_ variable for Mestil's Acid Sheath in nwscript, or the Lexicon. Is it just a INT I'm supposed to use in place of a fancy CONST INT variable name? If so, does anyone know the number?
               
               

               
            

Legacy_Guest_invisig0th_*

  • Jr. Member
  • **
  • Posts: 97
  • Karma: +0/-0
IP_CONST_CASTSPELL_* Variable for Mestil's Acid Sheath?
« Reply #1 on: August 25, 2010, 04:35:17 pm »


               The line for that spell in IPRP_SPELLS.2da is 462. Try that.
               
               

               
            

Legacy_jplesuk

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
IP_CONST_CASTSPELL_* Variable for Mestil's Acid Sheath?
« Reply #2 on: August 25, 2010, 06:23:13 pm »


               Ah yeah...it would have made sense to check there. Nice. I'm assuming that has to be it, but if not I'll be back. '<img'>



Thanks!