after leveling up in nwn2 the pc recieves maximum hp always. i already know the debate about average hp and how nwn2 is centered around the maxhp setting. i still want to alter this in my own module because i do believe that those big amount of hp causes an inbalance between classes and weakens abilities.
i can adjust the creature-hp of my module manually in the blueprints. i know that the hit dice are stored within the classes.2da but that won't be liked rolled points. how was this achieved in nwn1? perhaps hardcoded?
anyways i've got the following idea but i am too bad in scripting to know if this'll work:
place a script in the module's level up event which gets the appropriate hit dice of the pc through the gethitdice() function. a switch (gethitdice()) now gets the actual maximum hp of the pc after level up, rolls a random number according to the hit die (e.g. d10() if the hit die of the class is 1d10), subtracts this from the actual hp and applies it to the pc as a permanent supernatural effect. this is more rolling down your hp but at least it's random and more coherent to the rules
is this a bad idea with too many side effects?
Modifié par -Semper-, 21 octobre 2011 - 08:28 .





Retour en haut







