private static void OnSpellCast(Obj_AI_Base sender, GameObjectProcessSpellCastEventArgs args) { if (sender.IsMe) { if (args.IsAutoAttackReset()) { Core.DelayAction(() => LastAutoAttackTick = 0, 50); } } }