generated from Jaysyn/ModuleTemplate
Initial Commit
Initial Commit.
This commit is contained in:
24
_module/nss/skel_ondamaged.nss
Normal file
24
_module/nss/skel_ondamaged.nss
Normal file
@@ -0,0 +1,24 @@
|
||||
//:://////////////////////////////////////////////////
|
||||
//:: NW_C2_DEFAULT6
|
||||
//:: Default OnDamaged handler
|
||||
/*
|
||||
If already fighting then ignore, else determine
|
||||
combat round
|
||||
*/
|
||||
//:://////////////////////////////////////////////////
|
||||
//:: Copyright (c) 2002 Floodgate Entertainment
|
||||
//:: Created By: Naomi Novik
|
||||
//:: Created On: 12/22/2002
|
||||
//:://////////////////////////////////////////////////
|
||||
#include "nw_i0_generic"
|
||||
void main()
|
||||
{
|
||||
object oMod;
|
||||
oMod=GetModule();
|
||||
location lTarget;
|
||||
lTarget =GetLocation(OBJECT_SELF);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SUMMON_MONSTER_2), OBJECT_SELF);
|
||||
CreateObject(OBJECT_TYPE_PLACEABLE, "invisiblemarker", lTarget);
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectDamage(300, DAMAGE_TYPE_DIVINE, DAMAGE_POWER_ENERGY), OBJECT_SELF);
|
||||
ExecuteScript("skel_spawner", oMod);
|
||||
}
|
||||
Reference in New Issue
Block a user