#stabilize checks mod discussion

1 messages ยท Page 1 of 1 (latest)

red dove
#

Starting a thread to not fill up the "regular" chat. Give me a couple minutes and I'll collect some resources to point out the things you'll need to look into

modest cypress
short sand
#

how i imagine the algorithm is something like

a) establish a hook to 'character turn start' so that you can do stuff when it fires
b) check character's HP
c) if less than 0, roll a constitution check
d) if result is less than 10 - current HP (i.e. 10 + the absolute value of the negative HP), decrease HP by 1
e) if result is equal to or higher than target value, remove character from combat

short sand
#

im actually using this for bleed, i must have missed that it does stabilization checks

modest cypress
#

there is option for that somethere in the module

#

probb related to

short sand
#

yup im looking at the same thing

obsidian elbow
#

It's a bit messy. Maybe someday it'll be better.

modest cypress
red dove
#

Well there you go. Sorry I got "distracted" by work. Will Mana's mod work or are you still interested in making one yourself?

short sand
#

I was just testing it though

#

And it's not rolling stabilization rolls

#

I've checked the option to make it do so

obsidian elbow
#

Have you added the dying buff to them?

short sand
#

ohhh is that the requirement

obsidian elbow
#

It has no way of tracking when to Stop rolling them otherwise.

short sand
#

no i didnt

#

gotcha

#

do i have to manually add that buff?

#

or is there a way to auto do that when they go below 0

obsidian elbow
#

Currently it doesn't auto add it.

short sand
#

I see, i can try and add that functionality maybe

obsidian elbow
#

Honestly in hindsight my solution for tracking dying is really bad. I should've just added dying condition to Foundry, instead of running it via a buff.

short sand
#

also, it doesn't auto remove the dying buff either on stabilization roll success, right?

obsidian elbow
#

It should disable it only.

short sand
#

hmm it didn't seem to do that

modest cypress
#

some items/feats keep you alive and not bleeding while below zero , so manual is probb the best no?

red dove
short sand
#

i hope im adding the dying buff the right way too

obsidian elbow
short sand
obsidian elbow
#

That should be all you need. The boolean flag , I mean

short sand
#

soo I am testing it with the dying buff from the compendium now

#

it continues to roll stabilization checks every round

#

doesn't seem to auto disable the buff

#

on success

obsidian elbow
#

That's very odd. I don't see anything in the code that would suggest it not doing that...

short sand
#

two dying characters in the combat with me just advancing turns

obsidian elbow
#

Showing more screenshots of the cards is not adding more information for us to ponder on this.

short sand
#

sorry

#

any other info i could get you?

obsidian elbow
#

Check console log

short sand
#

if not, that's fine, it's a minor thing anyway, i can run without it, not a problem

obsidian elbow
#

Unrelated error, but nice to know another of my modules is failing.

short sand
#

๐Ÿ˜…

#

ah well it's okay i'll figure it out

#

thanks for the help everyone

modest cypress
obsidian elbow
#

Not for me, but I'm dealing with a refactored version that hasn't been released to the wild.

modest cypress
#

im using 0.5.3

short sand
#

0.5.0.3?

obsidian elbow
#

Please update

modest cypress
short sand
#

welp

#

im on v9

obsidian elbow
#

I haven't supported v9 in a long time. v11 is almost out even.

short sand
#

the git page link for the v9 compatible version gives 0.5.0.3

#

yeah i know ๐Ÿ˜…

#

ive just got a lot of modules and im terrified to update

#

i made a backup to test

modest cypress
#

v9 whelp ๐Ÿ™‚

short sand
#

but havent found time

obsidian elbow
#

Changelog says 0.5.2 fixed the stablilization bug, and that's after v9 support was dropped.

short sand
#

well that answers all my questions i think

#

thanks everyone and especially Mana

obsidian elbow
#

I've discovered new bugs because of this tho.

If the target is healed, or regenerates out of <0 HP, they don't disable the condition either, and keep rolling stabilize.

short sand
#

lol happy to have helped

modest cypress