Page 1 of 1

How to detect a Player Ghoul level-up, and +healing_factor?

Posted: Thu Jul 27, 2017 3:15 am
by Steven Aus
I want to add a certain amount of healing factor per level, for Ghoul subrace (and any based on Ghoul subrace, like Kruk Ghoul) only. How do I do that?

Re: How to detect a Player Ghoul level-up, and +healing_fact

Posted: Thu Jul 27, 2017 10:42 pm
by nsrr
There's probably a 'better' way, but the one that comes to my mind would be to add it in as a passive on their first racial talent. There's something you can stick into talent definitions that will cause it to update passive values when stats change. I can't recall exactly what it is... I think Brawler has a generic that passively increases stats based on other stats you could check for a reference.

As I said, there's probably a way you could do it with a hook or a superload, but my way would work for the time being, though I admit it's a little 'hacky'.

Edit: Also worth mentioning that doing it this way would garauntee it would affect Kruk Ghouls as well, since they just copy and edit standard Ghoul birth definitions.

Re: How to detect a Player Ghoul level-up, and +healing_fact

Posted: Sun Sep 03, 2017 5:00 am
by astralInferno
you could put it in the levelup mechanics p easy.