Initial Upload
Initial Upload
This commit is contained in:
15
_module/nss/dhq_mhastr.nss
Normal file
15
_module/nss/dhq_mhastr.nss
Normal file
@@ -0,0 +1,15 @@
|
||||
void main()
|
||||
{
|
||||
|
||||
if(GetTag(GetArea(GetNearestCreature(CREATURE_TYPE_PLAYER_CHAR, PLAYER_CHAR_IS_PC, OBJECT_SELF, 1))) == GetTag(GetArea(OBJECT_SELF)))
|
||||
{
|
||||
if(GetLocalInt(OBJECT_SELF, "Hammered") == 0)
|
||||
{
|
||||
object oWay = GetWaypointByTag("AltarStrike");
|
||||
effect eVisual = EffectVisualEffect(VFX_FNF_STRIKE_HOLY, FALSE);
|
||||
ApplyEffectAtLocation(DURATION_TYPE_INSTANT, eVisual, GetLocation(oWay), 0.0f);
|
||||
SetLocalInt(OBJECT_SELF, "Hammered", 1);
|
||||
DelayCommand(60.0f, SetLocalInt(OBJECT_SELF, "Hammered", 0));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user