diff --git a/README.md b/README.md index fece61e..3b70486 100644 --- a/README.md +++ b/README.md @@ -11,13 +11,39 @@ Cursive combines ShaguScan unit scanning with curse tracking similar to DotTimer and the ability to automatically curse targets similar to Decursive. +## Commands `/cursive` for commands, minimap icon to edit options. +### Curse `/cursive curse |||| GetTime() then return else - this.tick = GetTime() + .8 + this.tick = GetTime() + .2 end if not ui.rootBarFrame then @@ -386,6 +394,13 @@ ui:SetScript("OnUpdate", function() end local active = UnitExists(guid) and Cursive.filter.alive(guid) + if active then + local old = GetTime() - time >= 900 -- >= 15 minutes old + if old and not UnitIsVisible(guid) then + active = false + end + end + if not active then -- remove from core Cursive.core.remove(guid)