Initial Upload

Initial Upload
This commit is contained in:
Jaysyn904
2023-09-21 21:20:34 -04:00
parent d3f23f8b3c
commit 94990edc60
5734 changed files with 6324648 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
#include "final_legend_inc"
void main()
{
object oPC = GetPCSpeaker();
int iDone = CheckExchangeItems(oPC,1);
effect eVis1 = EffectVisualEffect(VFX_DUR_PROTECTION_ELEMENTS);
effect eVis2 = EffectVisualEffect(VFX_DUR_CESSATE_POSITIVE);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,eVis1, oPC, 2.0f);
ApplyEffectToObject(DURATION_TYPE_TEMPORARY,eVis2, oPC, 2.0f);
string sCharName = GetName(oPC);
string sName = GetPCPlayerName(oPC);
string sIP = GetPCIPAddress(oPC);
string sCD = GetPCPublicCDKey(oPC);
string sMessage = sName + " (" + sCharName + ") " + " (" + sIP + ") " + " (" + sCD + ") has won the Final Legend.";
WriteTimestampedLogEntry(sMessage);
SetCampaignInt("final_legend_player", sName, TRUE);
}