Lone Wolf Development Forums

Lone Wolf Development Forums (http://forums.wolflair.com/index.php)
-   HL - Pathfinder Roleplaying Game (http://forums.wolflair.com/forumdisplay.php?f=62)
-   -   Bizarre Issue... (http://forums.wolflair.com/showthread.php?t=25042)

Thorn October 14th, 2012 08:18 AM

Bizarre Issue...
 
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.

ShadowChemosh October 14th, 2012 09:21 AM

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?

Thorn October 15th, 2012 08:01 AM

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.

Aaron October 15th, 2012 12:00 PM

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.


All times are GMT -8. The time now is 02:29 AM.

Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.