#include "lod_include" void main() { if(!IsPCInArea(OBJECT_SELF)) { return; } 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("BaneFlame"); effect eVisual = EffectVisualEffect(VFX_IMP_DIVINE_STRIKE_FIRE, FALSE); ApplyEffectToObject(DURATION_TYPE_INSTANT, eVisual, OBJECT_SELF, 0.0f); SetLocalInt(OBJECT_SELF, "Hammered", 1); DelayCommand(10.0f, SetLocalInt(OBJECT_SELF, "Hammered", 0)); } } }