Horsefly Swamp update

Creatures & encounter tables to support Horsefly swamp expansion.
This commit is contained in:
Jaysyn904
2023-08-13 17:21:44 -04:00
parent e4a37cd868
commit df709d33fc
485 changed files with 257810 additions and 10741 deletions

View File

@@ -0,0 +1,28 @@
#include "nw_i0_generic"
#include "x2_inc_switches"
#include "inc_AI"
void main()
{
// The following two lines should not be touched
object oIntruder = GetCreatureOverrideAIScriptTarget();
ClearCreatureOverrideAIScriptTarget();
if ( !GetCanAct(OBJECT_SELF) )
{
SetCreatureOverrideAIScriptFinished();
return;
}
int bAura = GetLocalInt(OBJECT_SELF,"aura");
if ( !bAura )
{
// ActionCastFakeSpellAtLocation(SPELL_SUMMON_SHADOW,GetLocation(OBJECT_SELF));
ExecuteScript("rotaura",OBJECT_SELF);
// SetCreatureOverrideAIScriptFinished();
SetLocalInt(OBJECT_SELF,"aura",1);
return;
}
}