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

@@ -88,7 +88,22 @@ void main()
} // look for master
//:: Sets a random integer on the creature to use with other spell functions
int nBloodfly = GetStringLeft(GetTag(OBJECT_SELF), 13) == "RA_BLDFLYSWRM" ? TRUE : FALSE;
if(nBloodfly) {ExecuteScript("swarm_bloodfly", OBJECT_SELF);}
if(sResRef == "ra_bldflyswrm01") {ExecuteScript("swarm_bloodfly", OBJECT_SELF);}
//:: [SWARM] Allow passing thru other creatures
int nSwarm = GetLocalInt(OBJECT_SELF,"SWARM");
if ( nSwarm )
{
effect eSwarm = EffectCutsceneGhost();
eSwarm = ExtraordinaryEffect(eSwarm);
ApplyEffectToObject(DURATION_TYPE_PERMANENT, eSwarm, OBJECT_SELF);
}
//:: Sets a random integer on the creature to use with other spell functions
string sImmune = GetName(OBJECT_SELF)+"_AURA_IMMUNE";
int nRandomSeed = Random(999);
@@ -448,6 +463,8 @@ void main()
DelayCommand(0.0f, ApplyEffectToObject(DURATION_TYPE_PERMANENT,eVis,OBJECT_SELF));
}
// Check for randomizations.
ms_Nomenclature(OBJECT_SELF);