• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

Stuck Again

ErinRigh

Well-known member
Well here I am stuck again.

I am coding a feat that adds your intelligence bonus to Melee damage

This is the code I came up with which doesnt work!

What am I doing wrong?


foreach pick in hero from BaseWep where "wCategory.Melee"
eachpick.field[wDamBonus].value += hero.child[aINT].field[aModBonus].value
nexteach
 
Nothing is wrong with that script. My "guess" is sense you didn't post the timing of the script that you have this running at First/100. Well attributes have not been calculated yet so the script is always adding zero.

Trying running at Post-Attributes/10000. :)
 
Back
Top