Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-25 20:24:01 -04:00
parent 4e16ca63ca
commit 5197ad9a4d
7741 changed files with 5391820 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
#include "xp_inc"
#include "aps_include"
void main()
{
object oPC = GetPCSpeaker();
object oFuck = GetModule();
int oXP = GetXP(oPC);
if (WithdrawCap == TRUE)
{
if (GetXP(oPC) >= (XPcap - 99999))
{
SpeakString(slvlcap);
return;
}
}
string sCDKey = GetPCPublicCDKey(oPC);
int fXP = GetPersistentInt(oFuck, sCDKey, "pwdata") -100000;
SetPersistentInt( oFuck, sCDKey, fXP, 0, "pwdata");
GiveXPToCreature(oPC, 100000);
SpeakString ("You have withdrawn 100,000 XP.");
}