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,24 @@
#include "NW_I0_GENERIC"
void main()
{
int nHPPercent = GetPercentageHPLoss(OBJECT_SELF);
int nHasSpawnedDeepHorrors = GetLocalInt(OBJECT_SELF, "SpawnedDeepHorrors");
if (nHPPercent <= 25 && !nHasSpawnedDeepHorrors)
{
SetLocalInt(OBJECT_SELF, "Summoning", TRUE);
ClearAllActions(TRUE);
ActionSpeakString("ARRRGH!");
ActionWait(1.0f);
ActionSpeakString("Creatures of the Deep, I summon thee.");
ActionPlayAnimation(ANIMATION_LOOPING_CONJURE2, 1.0f, 2.0f);
DelayCommand(3.2f, ExecuteScript("mdg_hignardhsumm", OBJECT_SELF));
SetLocalInt(OBJECT_SELF, "SpawnedDeepHorrors", TRUE);
DelayCommand(3.5f, SetLocalInt(OBJECT_SELF, "Summoning", FALSE));
return;
}
ExecuteScript("nw_c2_default3", OBJECT_SELF);
}