Lone Wolf Development Forums  

Go Back   Lone Wolf Development Forums > Hero Lab Forums > HL - d20 System

Notices

Reply
 
Thread Tools Display Modes
LordValerius
Junior Member
 
Join Date: Oct 2011
Posts: 29

Old October 1st, 2011, 06:00 AM
Hello all...
Having a small issue that I am sure I am just missing something...

Creating a Magic Item in the editor and it will be applying a +1 Luck bonus to all saves.

I have that part down and the bonus applies correctly, however, I have the item set to only apply the bonus when worn, not carried, so I have Available when Equipped? checked and Powers always Available? unchecked but it still seems to apply the bonuses as soon as the item hits the inventory, and remains active when checked to equip the item. Not really a big deal but I am kind of anal like that. Is it a setting I've missed? Is it a timing issue? (Not real good with those yet...)

Any help would be gratefully appreciated.

Thanks!

Val
LordValerius is offline   #1 Reply With Quote
Kendall-DM
Spy
 
Join Date: Jan 2011
Location: Overland Park, Kansas
Posts: 1,217

Old October 1st, 2011, 06:23 AM
Put this at the top of your script and it will solve the problem.

doneif (field[gIsEquip].value = 0)

Scripts are not part of the powers are available only when equipped, only bootstrapped things and charges. For scripts, you have to include code to achieve that.

Last edited by Kendall-DM; October 1st, 2011 at 06:29 AM.
Kendall-DM is offline   #2 Reply With Quote
LordValerius
Junior Member
 
Join Date: Oct 2011
Posts: 29

Old October 1st, 2011, 07:31 AM
Thank you very much for the code and the instruction!

Val
LordValerius is offline   #3 Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 04:02 PM.


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