• 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 potion

Our game has an house rule that all healing potions actually have 3 charges in each potion.

Could someone point me in the direction on where I would go in HL to create such a custom potion/item?
 
Have you tooled around with the editor before?

If so: create it as a wondrous item, because the potion tab doesn't have a checkbox for tracked resources. Which leads to the next instruction: when adding, check the "show in tracked resources" checkbox. Then open up the eval script and add:

field[trkMax].value += 3

This gives the item 3 charges.

If you've never played around with the editor before... then I need to give more detailed instructions. You may want to check out the Hero Lab Manual/Tutorial under the help button.
 
If so: create it as a wondrous item, because the potion tab doesn't have a checkbox for tracked resources. Which leads to the next instruction: when adding, check the "show in tracked resources" checkbox. Then open up the eval script and add:

field[trkMax].value += 3

This gives the item 3 charges.

If you've never played around with the editor before... then I need to give more detailed instructions. You may want to check out the Hero Lab Manual/Tutorial under the help button.
You don't actually have to do the eval script. Right below the "show in tracked resources" is "Total Charges" and you can enter 3. Then on the "Usage Period" you can select "Uses".

The eval script would only be needed if it need to do some type of calculation or you where adjusting the amount from another Thing.
 
No I haven't played around with the editor yet. But I've been planning on. Now that I know its something I need to create with the editor, I'll take a look at the tutorial and go from there.

Any tips for a beginner with the editor would help as well
 
Thanks for the help guys. It was fairly easy to setup.

EDIT:

I assume to share it with other members, I can just send them the user file and get them to drop it into their data directory?
 
Last edited:
You don't actually have to do the eval script. Right below the "show in tracked resources" is "Total Charges" and you can enter 3. Then on the "Usage Period" you can select "Uses".

The eval script would only be needed if it need to do some type of calculation or you where adjusting the amount from another Thing.

you're right. I'm so used to having to add modifiers I forget that's there. That's what I get for trying to sound smrt :-)
 
Back
Top