LoD_PRC8/_module/nss/dhq_mhastr.nss
Jaysyn904 94990edc60 Initial Upload
Initial Upload
2023-09-21 21:20:34 -04:00

16 lines
565 B
Plaintext

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));
}
}
}