30 lines
934 B
Plaintext
30 lines
934 B
Plaintext
|
//::///////////////////////////////////////////////
|
||
|
//:: Stink Beetle OnDeath Event
|
||
|
//:: Copyright (c) 2002 Bioware Corp.
|
||
|
//:://////////////////////////////////////////////
|
||
|
/*
|
||
|
Releases the Stink Beetle's Stinking Cloud
|
||
|
special ability OnDeath.
|
||
|
*/
|
||
|
//:://////////////////////////////////////////////
|
||
|
//:: Created By: Andrew
|
||
|
//:: Created On: Jan 2002
|
||
|
//:://////////////////////////////////////////////
|
||
|
|
||
|
// Jasperre - added execute script for default death file (especially to remove corpses)
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
//Declare major variables
|
||
|
effect eAOE = EffectAreaOfEffect(AOE_MOB_TYRANT_FOG,"NW_S1_Stink_A");
|
||
|
location lTarget = GetLocation(OBJECT_SELF);
|
||
|
|
||
|
//Create the AOE object at the selected location
|
||
|
ApplyEffectAtLocation(DURATION_TYPE_TEMPORARY, eAOE, lTarget, RoundsToSeconds(2));
|
||
|
|
||
|
// Jaspere - Execute death script
|
||
|
|
||
|
// Fire the normal death script
|
||
|
ExecuteScript("nw_c2_default7", OBJECT_SELF);
|
||
|
}
|