Horsefly Swamp update
Creatures & encounter tables to support Horsefly swamp expansion.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user