• 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

Custom spell components.

overdark

Member
Im sure there is a better pre-existing thread for this, but I'm kind lazy at the moment.

So I tried to create a stonskin spell component so I could track it on my In Play tab.

Got it to come up on the gear menu as an item. Got it to appear on the In Play tab even, but when I buy two of them the In Play tracker still only shows one.

I then made a different item which was a batch of four stonskin components in one item (with 4 'charges' in the data file) and when I buy that it shows up with 4 uses on the In Play tab.

How do I make a single use stonskin component that stacks when you purcase multiple copies of it.:confused:

The changes I made to the Boots of Speed worked fine and now it shows up on the In Play tab so that I can track the rounds that I use them.
 
Last edited:
Also is it possible to attach my data file to a post here so that someone who wants to help with this can see the file and tell me what I'm doing wrong.
 
You can attach to a post but it has to be a zip or pdf file. So just zip up the .user file and you will be good to go.

For the tracker my thought here is that you should set the Tracker to "Unique" so only one of it will ever load and set the default values to zero.

Then on your Stoneskin component Thing create an eval script that is set at Pre-Levels/10,000 that increases the Max counter value. This way as each of your Things get added only ONE tracker will exist and each will add one to the tracker max value.

Code:
~ Pre-levels/10,000
~ Increase Tracker max by 1
#trkmax[UniqueIDofYourTrackerGoesHERE] += 1



I have not done allot with trackers actually but this should do what you want I am pretty sure. ;)
 
That didn't work too well.
Umm would need to know more to help. What did it do? Did you get errors? Also posting the scripts and timing info would help us see if you made a mistake or something.

What I listed should have worked so not sure why it did not. :(

Thanks
 
Back
Top