View Single Post
Tengu1958
Junior Member
 
Join Date: Nov 2013
Location: Sugar Land, TX
Posts: 27

Old October 15th, 2014, 06:11 AM
I did not know I could look at those lists of fields like that with the right clicking. Pretty cool. I saw a bunch of fields that might work and tried them all and still not getting bonus weapon damage. This is how my code looks now:

Pre-Levels Priority 5000 Index 1

~ If we're disabled, do nothing
doneif (tagis[Helper.FtDisable] <> 0)

foreach pick in hero from BaseWep where "wCategory.Melee & (wClass.Light | wClass.OneHanded)"
if (eachpick.tagis[Hero.MainHand] + eachpick.tagis[Hero.OffHand] = 1) then
eachpick.field[wDamBonus].value += 2
endif
nexteach


I also tried it with wDamMelee and several of the dmmXXXXXX fields as well, such as enhancement bonus and trait bonus for damage.

Last edited by Tengu1958; October 15th, 2014 at 06:19 AM.
Tengu1958 is offline   #5 Reply With Quote