Initial upload

Initial upload
This commit is contained in:
Jaysyn904
2023-09-21 20:25:34 -04:00
parent 530aa08f94
commit e0ec0015e6
839 changed files with 442077 additions and 0 deletions

View File

@@ -0,0 +1,55 @@
/*
Calculate the nBattleProgress variable and asign it to the scout
nHordestrength is determined by the number of Horde banners that exist
Created By: Dalantriel Jul 22, 2002
*/
void main()
{
// Set the variables
int nHordestrength = 0;
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster1")) >> 0)
{
nHordestrength++;
}
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster2")) >> 0)
{
nHordestrength++;
}
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster3")) >> 0)
{
nHordestrength++;
}
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster4")) >> 0)
{
nHordestrength++;
}
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster5")) >> 0)
{
nHordestrength++;
}
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster6")) >> 0)
{
nHordestrength++;
}
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster7")) >> 0)
{
nHordestrength++;
}
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster8")) >> 0)
{
nHordestrength++;
}
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster9")) >> 0)
{
nHordestrength++;
}
if(GetCurrentHitPoints(GetObjectByTag("spawnmaster10")) >> 0)
{
nHordestrength++;
}
SetLocalInt(OBJECT_SELF, "nBattleProgress", nHordestrength);
}