Initial upload
Initial upload
This commit is contained in:
26
_module/nss/cb_asyglobe2.nss
Normal file
26
_module/nss/cb_asyglobe2.nss
Normal file
@@ -0,0 +1,26 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
object oPC = GetPCSpeaker();
|
||||
|
||||
effect eEffect;
|
||||
eEffect = EffectDamage(65, DAMAGE_TYPE_MAGICAL, DAMAGE_POWER_NORMAL);
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_INSTANT, eEffect, oPC);
|
||||
|
||||
object oTarget;
|
||||
oTarget = oPC;
|
||||
int nInt;
|
||||
nInt = GetObjectType(oTarget);
|
||||
|
||||
if (nInt != OBJECT_TYPE_WAYPOINT) ApplyEffectToObject(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SOUND_BURST), oTarget);
|
||||
else ApplyEffectAtLocation(DURATION_TYPE_INSTANT, EffectVisualEffect(VFX_FNF_SOUND_BURST), GetLocation(oTarget));
|
||||
|
||||
oTarget = oPC;
|
||||
|
||||
eEffect = EffectDazed();
|
||||
|
||||
ApplyEffectToObject(DURATION_TYPE_TEMPORARY, eEffect, oTarget, 120.0f);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user