Tag addition issues
I'm having a bit of a problematic issue with tags not adding properly. For context, I've got 9 rings that you get synergy bonuses from depending on how many you equip. Each is bootstrapped with the abilities you gain (which are unique), each of which check the hero for how many on a specific tag are present (each ring adding one while equipped). That works perfects, but the rings are adding the tags when unequipped, and removing them when equipped.
I have: 1. Each file starting with a "done if not equipped" followed by a "add this tag to hero". Yes, making sure my done if worked properly was my first check. 2. Tried relaunching the program, as that usually clears up this issue. 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. Any thoughts on the matter would be appreciated. Thanks! |
It is probably the "done if not equipped" line which is the wrong way around.
Can you post the actual code? |
Quote:
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... |
Quote:
As I said, it was the first thing I checked. Quote:
|
As far as the timing goes that can be a doozy as I have ran into that several times. Although the bootstraps can be hidden via a conditional bootstrap. Look under conditionals in this thread:
http://forums.wolflair.com/showthread.php?t=21663 That should help you get something going as far as managing bootstraps. |
Quote:
But normally this is why items don't bootstrap other items. :( |
Quote:
Quote:
|
Quote:
To make sure we are on the same page. The BEST way to find an answer for timing is to use DEBUG statements in the script. Make a script on your item and set it to First/490. Then add this script: Code:
debug "gIsEqip " & field[gIsEquip].value Add the item to a blank character and then equip and un-equip the item. The values of the above fields at First/490 will be displayed to you. This then lets you 100% prove what the values are at for a specific timing. :) |
All times are GMT -8. The time now is 01:47 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.