Author Topic: Flame Weapon potion?  (Read 563 times)

Legacy_xtreme1

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Flame Weapon potion?
« on: February 19, 2011, 06:38:43 am »


               I've seen in some mods the builder/s have included some potions that aren't in the regular item palette or aren't even part of the CEP hak. Potions such as flame weapon. Now I could easily code the potion via the unique power option but I was wondering if I may just be missing it somehow? I know that some PW's have it in their palettes but I'm unsure if they used a hak for it or not.

Thanks for any info!

x
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Flame Weapon potion?
« Reply #1 on: February 19, 2011, 06:44:07 am »


               short answer: iprp_spells



my community patch allows to place any self/single target beneficial spell into potion and every spell except epic into wand, link is in my signature
               
               

               
            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
Flame Weapon potion?
« Reply #2 on: February 19, 2011, 08:04:05 am »


               Yes, those PWs that allow this are using a hak file (which contains an edited version of the iprp_spells.2da file ShaDoOoW mentioned).

To do make the change for flame weapon specifically, you'll need to edit the 2da.  The flame weapon spell is at line 477...just change the "0" in the PotionUse column to "1" (you can do this for any other self-targeting spell if you desire).  Put it in your custom hak and associate it with your module, and you're good to go.
               
               

               


                     Modifié par The Amethyst Dragon, 19 février 2011 - 08:04 .
                     
                  


            

Legacy_xtreme1

  • Newbie
  • *
  • Posts: 8
  • Karma: +0/-0
Flame Weapon potion?
« Reply #3 on: February 19, 2011, 05:26:04 pm »


               Ok. Thanks for the replies!



x