Added PnP Dire Rat.

Added PnP Dire Rat.
This commit is contained in:
Jaysyn904
2021-07-21 17:48:43 -04:00
parent 552f1686c8
commit b01c5cc7db
10849 changed files with 171143 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
//::///////////////////////////////////////////////
//:: FileName ds_take10kxp
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////
//:: Created By: Script Wizard
//:: Created On: 3/3/2004 10:21:48 PM
//:://////////////////////////////////////////////
void main()
{
// Remove some xp from the player
object oPC = GetPCSpeaker();
int nLevel = GetHitDice(oPC); //Get level
int nXP = GetXP(oPC); //Save XP so we can restore it afterwards
int nDelevelXP = (nLevel-1) * (nLevel - 2) * 500; //Work out how much XP will delevel the PC
SetXP(oPC, nDelevelXP);
}