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

A place to post your add ons and ideas for them

Moderator: Moderator

Post Reply
Message
Author
Steven Aus
Archmage
Posts: 366
Joined: Sat Dec 13, 2014 3:38 pm

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

#1 Post 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?

nsrr
Sher'Tul
Posts: 1126
Joined: Mon Sep 21, 2015 8:45 pm
Location: Middle of Nowhere

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

#2 Post 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.

astralInferno
Uruivellas
Posts: 834
Joined: Mon Jan 27, 2014 10:40 am

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

#3 Post by astralInferno »

you could put it in the levelup mechanics p easy.

Post Reply