Aller au contenu

Photo

Darkfire on arrows/bolts


  • Veuillez vous connecter pour répondre
2 réponses à ce sujet

#1
Mr_Dammage

Mr_Dammage
  • Members
  • 11 messages
 Was wondering if anyone knew how to go about enabling the casting of darkfire on arrows/ bolts. I used to play on a PW where you could do this. Not sure how to go about making it work. Any help would be much appreciated.  

#2
WhiZard

WhiZard
  • Members
  • 1 204 messages
Bolts and arrows are allowed all on-hit cast spell properties. So all you have to do is modify the scripts (x2_s0_darkfire and x2_s0_flameweapon) checking the bolts and arrows inventory slots to see if they match the targeted item. (Refer to IPGetTargetedOrEquippedMeleeWeapon() in x2_inc_itemprop to see how it is currently handled).

#3
Mr_Dammage

Mr_Dammage
  • Members
  • 11 messages
awesome, thanks very much for that, will give it a try!