View Single Post
02/26/23, 09:29 AM   #4
ExoY
 
ExoY's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2020
Posts: 88
Originally Posted by sinnereso View Post
ya seems your correct. Im new at this so getting mind blown with formatting. I think ive found my 2 issues. the weapons array isnt passing to the chargeweapon line properly for some reason.
you dont use your table in that line anyway. You use the respective entry your loop is currently looking at.
So I dont know what you mean with that comment.

Also looks like you forgot to define the gemIndex locally. This can cause issues.

Also for troubleshooting, just use the function in quesiton (here: ChargeItemWithSoulGem) manually with script lines in chat.
That makes it easier to pin point the problem
  Reply With Quote