Download on SteamDownload on NWVaultJoin the PRC Discord!
0 Members and 2 Guests are viewing this topic.
Drain Power Points (Su): A creature that falls asleepfrom psionocus poison loses 2 power points per rounduntil it awakens. If the psionocus and its master are within1,500 ft., the master gains those power points, though hispower point total cannot increase beyond maximum.Poison (Ex): Injury, Fortitude DC 13, initial damagesleep for 1 minute plus drain power points, secondarydamage sleep for another 5d6 minutes plus drain powerpoints. The save DC is Constitution-based and includes a+2 racial bonus.
/** * Decreases the character's current power point count by up to the given * amount, limited to not going below 0. * Reaching 0 PP causes loss of psionic focus. * * @param oChar Character whose power points to adjust * @param nLoss How many power points to remove * @param bInform If TRUE, runs TellCharacterPowerPointStatus() on oChar * after making the modification. */void LosePowerPoints(object oChar, int nLoss, int bInform = TRUE);
Something like this?:Quote/** * Decreases the character's current power point count by up to the given * amount, limited to not going below 0. * Reaching 0 PP causes loss of psionic focus. * * @param oChar Character whose power points to adjust * @param nLoss How many power points to remove * @param bInform If TRUE, runs TellCharacterPowerPointStatus() on oChar * after making the modification. */void LosePowerPoints(object oChar, int nLoss, int bInform = TRUE);You can find some useful functins in psi_inc_ppoints.nss(PSP?? That's from Mr Nathan's pack?)