View Single Post
ShadowChemosh
Senior Member
Volunteer Data File Contributor
 
Join Date: Jan 2010
Location: Chicago, IL (USA)
Posts: 10,729

Old March 21st, 2018, 10:05 AM
Quote:
Originally Posted by FluffyDingo View Post
3. The tag is adding at First 495 iirc, since I'm adding container (like a glove of storing) to the hero's equipment, and that restricts how late it can run. I'm assuming this is where the issue is.
I am pretty sure this is the issue. The "equipped" field is not updated until First/500 I think. What you are seeing "looks" like reverse logic because its not until the "2nd" time you turn it off the field is updated to "on" and your script fires.

Try putting in a debug statement to see when values are when your doneif() code runs. That will tell you for sure if its the timing...

Hero Lab Resources:
Pathfinder - d20pfsrd and Pathfinder Pack Setup
3.5 D&D (d20) - Community Server Setup
5E D&D - Community Server Setup
Hero Lab Help - Hero Lab FAQ, Editor Tutorials and Videos, Editor & Scripting Resources.
Created by the community for the community
- Realm Works kickstarter backer (Alpha Wolf) and Beta tester.
- d20 HL package volunteer editor.
ShadowChemosh is offline   #3 Reply With Quote