Re-uploaded instead of migrated

Re-uploaded instead of migrated.
This commit is contained in:
Jaysyn904
2024-08-03 15:05:13 -04:00
parent 53776f5b96
commit defc8f9f6d
934 changed files with 643472 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
/*
Calculate the remaining hitpoints of each gate
Created By: Dalantriel Jul 22, 2002
*/
void main()
{
// Set the variables
int nTempleGate = (GetCurrentHitPoints(GetObjectByTag("TempleGate")));
int nNorthGate = (GetCurrentHitPoints(GetObjectByTag("NorthGate")));
int nSouthGate = (GetCurrentHitPoints(GetObjectByTag("SouthGate")));
SetLocalInt(OBJECT_SELF, "nTempleGateStrength", nTempleGate);
SetLocalInt(OBJECT_SELF, "nNorthGateStrength", nNorthGate);
SetLocalInt(OBJECT_SELF, "nSouthGateStrength", nSouthGate);
}