Initial commit

Adding all of the current content for Anphillia Unlimited.
This commit is contained in:
Jaysyn904
2024-01-04 07:49:38 -05:00
parent df18cd54c8
commit 28cdb617b3
12943 changed files with 9727121 additions and 0 deletions

View File

@@ -0,0 +1,43 @@
/************************************************************************
* script name : eE_enc_wipe
* created by : eyesolated
* date : 2011/6/1
*
* description : This script checks wheter the encounter wiped and initiates
* appropriate actions.
*
* changes : 2010/6/1 - eyesolated - Initial creation
************************************************************************/
// Includes
#include "eE_inc"
void main()
{
// This script self-checks every 15 seconds as long as the encounter
// is in Progress.
object oEncounter = OBJECT_SELF;
if (eE_GetEncounterStatus(oEncounter) == eE_ENCOUNTER_STATUS_INPROGRESS)
{
// Get the player count again
if (eE_GetEncounterPlayerCount(oEncounter) > 0)
{
eE_DebugMSG(oEncounter, "Wipe prevented.");
return;
}
if (GetLocalInt(oEncounter, eE_VAR_CDAFTERWIPE) == eE_VAR_CDAFTERWIPE_ENABLED)
{
// End the encounter
eE_DebugMSG(oEncounter, "Wipe, initiating reset and cooldown...");
ExecuteScript(eE_SCRIPT_ENCOUNTER_END, oEncounter);
}
else
{
// Reset the encounter
eE_DebugMSG(oEncounter, "Wipe, initiating reset...");
eE_ResetEncounter(oEncounter);
}
}
}