Skip to content

[Help/Request] #153

Open
Open

Description

@Torvvick

Hi
First of all i must say your simple mod is so user friendly! Already tested your and one from patreon but look like me expectation from paid content was exaggerated...

And now my "help" or "request".
I will just mention I'm total noob with javascript.

How to make mana (spell point) potion that will work with your module?
Already spend like 1 hour searching on google but couldn't find any explanation how to make consumable that will restore uses on feature...

Also when creating "items" its possible to link consumption with your module before i transfer it to character sheet?

Activity

  1. misthero commented on Nov 30, 2025

    @misthero
    Owner

    Hello, thx for your kind words. The latest version comes with resource binding. That meand you can create your mana potion that replenish x spell points using the resource primary, secondary or tertiary.

    Image Image

    if the item is not on a character you won't see "Spell Points" you have to choose the same resource you selected in the module configuration (like: resources.secondary.value)

  2. Torvvick commented on Jan 1, 2026

    @Torvvick
    Author

    Thanks for answer!
    To be fair i totally forgot asking and wanted to do it asap so i found some help on official discord that work.
    Targeting item from compendium and while on actor sheet it just work.

    Image

    Tried method you showed me, its look simpler and i don't know if it work or not.
    I just see "Midi Use" not "Recovery Spellpoint" maybe its because i changed item name to "Mana" on sheet.
    When i try it on 0 resource value it show me there are some spell points available.
    While writing it i found whats going on. So when set "Bind spell point item..." it added additional item into "favorites" and look like it don't refresh correctly, like its not linked correctly or something, i don't know. "Mana" bar work with spellpoints feature but that item in favorites have some problems

    Image

    Again thanks for help. I have working item and it must be enough for my players if they dont want to roll and add mana manually :)

  3. misthero commented on Jan 1, 2026

    @misthero
    Owner

    you are right that resource binding is not working correctly. I have to fix that. I just have to find the time to work on it.

  4. misthero commented on Jan 3, 2026

    @misthero
    Owner

    may you check if the latest update fix your issue?

  5. Torvvick commented on Jan 17, 2026

    @Torvvick
    Author

    okeeey
    so its linked correctly
    "mana" bar, linked resource and compendium item all show correct number without any issue i can see right now.
    My mana potion totally stopped working, i think i did everything correctly like you showed me before. Didn't work with old item on sheet and with fresh one.

    Image

    After comparing your potion from compendium and mine i found how it work now, so i think everything work now! Just old method don't work and it must target item on sheet (writing it if anyone will check here in future).

    Also i see you made ring! Not exactly like i planed to make mine but i can work with it ;)

    Have a good and fresh coffee!

    Edit: I forget and i dont remember if it worked or not but while writing "+XX" on mana bar it's skip "+" and change value to "XX".

  6. misthero commented on Jan 17, 2026

    @misthero
    Owner

    My mana potion totally stopped working

    Sorry, that's a side effect, I had to rewrite how the linked resource is working, before was 2 way, now the linked resource just read the spell points value and always replicate it. Before there where racing conditions and loops I wasn't able to prevent. This is more stable. The result should be the same with the new "potion".

    Edit: I forget and i dont remember if it worked or not but while writing "+XX" on mana bar it's skip "+" and change value to "XX".

    that's correct, but I see the HP bar supports relative increments/decrements. It's a good idea. With all that coffee I'll have the energy to implement it. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions