Initial Upload
Initial Upload
This commit is contained in:
24
_module/nss/mdg_hignaroncomb.nss
Normal file
24
_module/nss/mdg_hignaroncomb.nss
Normal 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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user