Initial module commit

Initial module commit.
This commit is contained in:
Jaysyn904
2021-08-29 23:34:48 -04:00
parent a7b44c3e1c
commit 0f13e6c538
4092 changed files with 8658543 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
void main()
{
object oPC = GetItemActivator();
int nHD = GetHitDice(oPC) + 1;
int nNewXP = ((( nHD * ( nHD - 1) ) / 2 ) * 1000) + 1;
SetXP(oPC, nNewXP);
object oItem;
oItem = GetItemPossessedBy(oPC, "book_levelup");
if (GetIsObjectValid(oItem))
DestroyObject(oItem);
}