nwnx_cool has an onSpellCast hook.
You are able to change the caster level in that event.
//Spellcast
if( nEvent == 1 ){
//Can override casterlevel for the comming spellscript
if(GetIsAGod(oPC)){
WriteTimestampedLogEntry("God casting spell: Override CasterLevel to 9000");
SetLocalInt( oPC, "cstrlvl", 9000 );
}
}
As for the nwnx_funcs - SetMaxHP.
I think that it works primarilly for NPC's
For PC's you can use
SetMaxHPPerLevel - or whatever it is called
You can provide I believe up to 254 hp per hitdice (level)
And combined with nwnx_cool - with its levelup capabillities that allow leveling up beyond level 40 - you can in theory have an uncapped HP Limit.
Assuming that the levels continue to accept 254 hp per level
Eg: 80 Levels x 254 = 20320 Max HP (Theoretical)
Thats actually higher than the HP you can set for a NPC in toolset