generated from Jaysyn/ModuleTemplate
25 lines
844 B
Plaintext
25 lines
844 B
Plaintext
//:://////////////////////////////////////////////////
|
|
//:: 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);
|
|
}
|