View Single Post
Sendric
Senior Member
 
Join Date: Jul 2010
Posts: 3,147

Old October 13th, 2020, 04:28 AM
Quote:
Originally Posted by Provos View Post
Yeah I was putting it directly into the item. That was the question I am asking is how to add it directly. I couldn't find an example to copy from.

Sigh, after looking closely at magical weapon it seems I can add a bonus to hit and to damage in the fields. I can modify my item that way.
Sorry. I didn't understand the original question. You should be able to just remove "container.parent." from your script:

Code:
field[wDamBonus].value += 1
field[wAttBonus].value += 1
Sendric is offline   #8 Reply With Quote