How to detect a Player Ghoul level-up, and +healing_factor?
Moderator: Moderator
-
- Archmage
- Posts: 366
- Joined: Sat Dec 13, 2014 3:38 pm
How to detect a Player Ghoul level-up, and +healing_factor?
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
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.
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.
-
- Uruivellas
- Posts: 834
- Joined: Mon Jan 27, 2014 10:40 am
Re: How to detect a Player Ghoul level-up, and +healing_fact
you could put it in the levelup mechanics p easy.