Initial Commit

Initial Commit
This commit is contained in:
Jaysyn904
2023-09-21 19:51:32 -04:00
parent 65b5bd7fd3
commit 102ba7dab6
6400 changed files with 5741850 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
#include "x4_inc_functions"
void ReturnXP(object oPC)
{
string sDB = GetLocalString(GetModule(), "DB");
string sVariable = "STOREDXP_" + GetPCPlayerName(oPC);
int nXP = GetCampaignInt(sDB, sVariable);
SetXP(oPC, nXP);
DeleteCampaignVariable(sDB, sVariable);
}
void main()
{
object oPC = GetPCSpeaker();
ActionCastFakeSpellAtObject(SPELL_INVISIBILITY_PURGE, oPC);
ActionDoCommand(ReturnXP(oPC));
}