Swapped Disciple of Asmodeus' Summon Glabrezu for Summon Pit Fiend. Glabrezu aren't devils. Wisplings can qualify for Warsling Sniper. Added Maeluth planetouched racialtype. Maeluth can qualify for Dwarven Defender. Ollam and Ironsoul Forgemaster. Added Mechanatrix planetouched racialtype. Updated creature aura scripts to use PRCEffectDamage(), SPApplyEffectToObject() & PRCMySavingThrow().
32 lines
974 B
Plaintext
32 lines
974 B
Plaintext
//::///////////////////////////////////////////////
|
|
//:: Aura of Unnatural
|
|
//:: NW_S1_AuraMencA.nss
|
|
//:: Copyright (c) 2001 Bioware Corp.
|
|
//:://////////////////////////////////////////////
|
|
/*
|
|
Upon entering the aura all animals are struck with
|
|
fear.
|
|
*/
|
|
//:://////////////////////////////////////////////
|
|
//:: Created By: Preston Watamaniuk
|
|
//:: Created On: May 25, 2001
|
|
//:://////////////////////////////////////////////
|
|
|
|
// Modified 2004/01/30 (Brian Greinke)
|
|
// Added disable/reenable support
|
|
#include "prc_alterations"
|
|
|
|
void main()
|
|
{
|
|
//first, look to see if effect is already activated
|
|
if ( GetHasSpellEffect(SPELLABILITY_AURA_UNNATURAL, OBJECT_SELF) )
|
|
{
|
|
PRCRemoveSpellEffects( SPELLABILITY_AURA_UNNATURAL, OBJECT_SELF, OBJECT_SELF );
|
|
return;
|
|
}
|
|
|
|
//Set and apply the AOE object
|
|
effect eAOE = EffectAreaOfEffect(AOE_MOB_UNNATURAL);
|
|
SPApplyEffectToObject(DURATION_TYPE_TEMPORARY, eAOE, OBJECT_SELF, HoursToSeconds(100));
|
|
}
|