Added Dynamic Kobolds
Added Dynamic Kobolds. Fixed ghoul / wight texture. Added Jann model. Made PnP Zombie, Ghoul, Ghast, Wight & Mohrg creatures. Full Compile
This commit is contained in:
@@ -511,6 +511,40 @@ void main()
|
||||
//:: Execute PRC OnSpawn script.
|
||||
ExecuteScript("prc_npc_spawn", OBJECT_SELF);
|
||||
|
||||
//:: activate various custom auras.
|
||||
int nAtropal = GetTag(OBJECT_SELF)=="ATROPAL001" ? TRUE : FALSE;
|
||||
if(nAtropal)ExecuteScript("atropal_aura",OBJECT_SELF);
|
||||
|
||||
int nCryptChanter = GetTag(OBJECT_SELF)=="CRYPTCHANTER001" ? TRUE : FALSE;
|
||||
if(nCryptChanter)ExecuteScript("DrainingMelody",OBJECT_SELF);
|
||||
|
||||
int nNWalker = GetTag(OBJECT_SELF)=="NIGHTWALKER001" ? TRUE : FALSE;
|
||||
if(nNWalker)ExecuteScript("desecrating_aura",OBJECT_SELF);
|
||||
|
||||
int nNCrawler = GetTag(OBJECT_SELF)=="Nightcrawler" ? TRUE : FALSE;
|
||||
if(nNCrawler)ExecuteScript("desecrating_aura",OBJECT_SELF);
|
||||
|
||||
int nVoidWraith = GetTag(OBJECT_SELF)=="VOIDWRAITH001" ? TRUE : FALSE;
|
||||
if(nVoidWraith)ExecuteScript("airlessaura",OBJECT_SELF);
|
||||
|
||||
int AtropalScion = GetTag(OBJECT_SELF)=="ATROPALSCION001" ? TRUE : FALSE;
|
||||
if(AtropalScion)ExecuteScript("neaura",OBJECT_SELF);
|
||||
|
||||
int nGhast1 = GetTag(OBJECT_SELF)=="GHAST001" ? TRUE : FALSE;
|
||||
if(nGhast1)ExecuteScript("ghast_stench",OBJECT_SELF);
|
||||
|
||||
int nGhast2 = GetTag(OBJECT_SELF)=="GHAST002" ? TRUE : FALSE;
|
||||
if(nGhast2)ExecuteScript("ghast_stench",OBJECT_SELF);
|
||||
|
||||
int nGhast3 = GetTag(OBJECT_SELF)=="GHAST003" ? TRUE : FALSE;
|
||||
if(nGhast3)ExecuteScript("ghast_stench",OBJECT_SELF);
|
||||
|
||||
int nTliz = GetTag(OBJECT_SELF)=="TLIZ001" ? TRUE : FALSE;
|
||||
if(nTliz)ExecuteScript("tliz_aura",OBJECT_SELF);
|
||||
|
||||
int nDecay = GetTag(OBJECT_SELF)=="ANGELOFDECAY001" ? TRUE : FALSE;
|
||||
if(nDecay)ExecuteScript("rotura",OBJECT_SELF);
|
||||
|
||||
//:: Regeneration (not Fast Healing)
|
||||
if(sResRef == "ra_troll001" || sResRef == "TROLL_FEDORLA")
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user