Need help coding 3 types of hit points

Thoughts, Help, Feature Requests, Bug Reports, Developing code for...

Moderators: dorpond, trevor, Azhrei

Forum rules
PLEASE don't post images of your entire desktop, attach entire campaign files when only a single file is needed, or generally act in some other anti-social behavior. :)
AirPower25
Kobold
Posts: 3
Joined: Mon May 10, 2010 6:36 pm

Re: Need help coding 3 types of hit points

Post by AirPower25 »

I am terrible at looking at code and the person who had built my macros previously is indisposed for the time being. Basically, what I am looking for is:

TempHP > SP > HP damage
Healing for SP that stops at a SPMax
Healing for HP that stops at a HPMax
A bar for HP
A bar for SP

I appreciate the help.

Oh, and when I run either of your scripts just on a random token, it always ask for the damage value twice.

EDIT: After much trial and error, I think I got this figured out using 3 different macros. 1 for damage and 2 for healing.

Post Reply

Return to “MapTool”