Initial module commit
Initial module commit.
This commit is contained in:
29
_module/nss/nw_c2_stnkbtdie.nss
Normal file
29
_module/nss/nw_c2_stnkbtdie.nss
Normal file
@@ -0,0 +1,29 @@
|
||||
//::///////////////////////////////////////////////
|
||||
//:: 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);
|
||||
}
|
Reference in New Issue
Block a user