• 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

Bizarre Issue...

Thorn

Member
Ok, I've been using the same script for ever and now its doing odd things with one of the items (a wondrous item) I use it in...

Instead of adding 2 to the skills in question, its subtracting two and I've no clue why. As I said, its always worked normally before, so maybe something has changed and I don't know it or something...

Any ideas anyone?

The script is...

hero.child[skKnowNat].field[Bonus].value += 2
hero.child[skRide].field[Bonus].value += 2
hero.child[skHandleAn].field[Bonus].value += 2

I've also tried it as requiring equipping (though it makes no difference) as...

if (field[gIsEquip].value <> 0) then
hero.child[skKnowNat].field[Bonus].value += 2
hero.child[skRide].field[Bonus].value += 2
hero.child[skHandleAn].field[Bonus].value += 2
endif

thanx.
 
Nothing has changed to not make the above logic NOT work. Just tried them on a blank character and it works fine.

What timing are you using?

Do see this behavior on a new blank character or on a specific test .por your using?
 
Last edited:
It worked with blank but not with full char.

I totally forgot about Timing cause it hadn't seem to make a difference to this one before... but setting it later does seem to fix it. (Don't know why it makes a diff from blank to por, but it did.

Thanks.
 
What is it on (a magic item, an alternate racial trait, or something else)?

What Phase and priority were you running the script from that it wasn't working? I'd love to get this investigated, but I need a bit more information.
 
Back
Top