From ac3ce91a27b016ae468975774adfc946c365410d Mon Sep 17 00:00:00 2001 From: pepopo978 Date: Wed, 4 Mar 2026 12:14:19 -0800 Subject: [PATCH] remove travel time from hunter spells --- curses.lua | 1 + spells/hunter.lua | 42 +++++++++++++++++++++--------------------- 2 files changed, 22 insertions(+), 21 deletions(-) diff --git a/curses.lua b/curses.lua index ed63a77..e5c7849 100644 --- a/curses.lua +++ b/curses.lua @@ -125,6 +125,7 @@ function curses:LoadCurses() end -- build travelTimeSpellIds from spell data + -- travelTime spells must have a damage component otherwise it won't work curses.travelTimeSpellIds = {} for id, data in pairs(curses.trackedCurseIds) do if data.travelTime then diff --git a/spells/hunter.lua b/spells/hunter.lua index 8619954..e33ee4d 100644 --- a/spells/hunter.lua +++ b/spells/hunter.lua @@ -1,34 +1,34 @@ local L = AceLibrary("AceLocale-2.2"):new("Cursive") function getHunterSpells() return { - [3043] = { name = L["scorpid sting"], rank = 1, duration = 20, travelTime = true }, - [14275] = { name = L["scorpid sting"], rank = 2, duration = 20, travelTime = true }, - [14276] = { name = L["scorpid sting"], rank = 3, duration = 20, travelTime = true }, - [14277] = { name = L["scorpid sting"], rank = 4, duration = 20, travelTime = true }, + [3043] = { name = L["scorpid sting"], rank = 1, duration = 21 }, -- 1 sec added to estimate travel time. Can't use travelTime due to the spell having no direct damage component + [14275] = { name = L["scorpid sting"], rank = 2, duration = 21 }, + [14276] = { name = L["scorpid sting"], rank = 3, duration = 21 }, + [14277] = { name = L["scorpid sting"], rank = 4, duration = 21 }, - [1978] = { name = L["serpent sting"], rank = 1, duration = 15, travelTime = true }, - [13549] = { name = L["serpent sting"], rank = 2, duration = 15, travelTime = true }, - [13550] = { name = L["serpent sting"], rank = 3, duration = 15, travelTime = true }, - [13551] = { name = L["serpent sting"], rank = 4, duration = 15, travelTime = true }, - [13552] = { name = L["serpent sting"], rank = 5, duration = 15, travelTime = true }, - [13553] = { name = L["serpent sting"], rank = 6, duration = 15, travelTime = true }, - [13554] = { name = L["serpent sting"], rank = 7, duration = 15, travelTime = true }, - [13555] = { name = L["serpent sting"], rank = 8, duration = 15, travelTime = true }, - [25295] = { name = L["serpent sting"], rank = 9, duration = 15, travelTime = true }, + [1978] = { name = L["serpent sting"], rank = 1, duration = 16 }, -- 1 sec added to estimate travel time. Can't use travelTime due to the spell having no direct damage component + [13549] = { name = L["serpent sting"], rank = 2, duration = 16 }, + [13550] = { name = L["serpent sting"], rank = 3, duration = 16 }, + [13551] = { name = L["serpent sting"], rank = 4, duration = 16 }, + [13552] = { name = L["serpent sting"], rank = 5, duration = 16 }, + [13553] = { name = L["serpent sting"], rank = 6, duration = 16 }, + [13554] = { name = L["serpent sting"], rank = 7, duration = 16 }, + [13555] = { name = L["serpent sting"], rank = 8, duration = 16 }, + [25295] = { name = L["serpent sting"], rank = 9, duration = 16 }, - [3034] = { name = L["viper sting"], rank = 1, duration = 8, travelTime = true }, - [14279] = { name = L["viper sting"], rank = 2, duration = 8, travelTime = true }, - [14280] = { name = L["viper sting"], rank = 3, duration = 8, travelTime = true }, + [3034] = { name = L["viper sting"], rank = 1, duration = 9 }, -- 1 sec added to estimate travel time. Can't use travelTime due to the spell having no direct damage component + [14279] = { name = L["viper sting"], rank = 2, duration = 9 }, + [14280] = { name = L["viper sting"], rank = 3, duration = 9 }, + + [19386] = { name = L["wyvern sting"], rank = 1, duration = 13 }, -- 1 sec added to estimate travel time. Can't use travelTime due to the spell having no direct damage component + [24132] = { name = L["wyvern sting"], rank = 2, duration = 13 }, + [24133] = { name = L["wyvern sting"], rank = 3, duration = 13 }, [2974] = { name = L["wing clip"], rank = 1, duration = 10 }, [14267] = { name = L["wing clip"], rank = 2, duration = 10 }, [14268] = { name = L["wing clip"], rank = 3, duration = 10 }, - [5116] = { name = L["concussive shot"], rank = 1, duration = 4, travelTime = true }, - - [19386] = { name = L["wyvern sting"], rank = 1, duration = 12, travelTime = true }, - [24132] = { name = L["wyvern sting"], rank = 2, duration = 12, travelTime = true }, - [24133] = { name = L["wyvern sting"], rank = 3, duration = 12, travelTime = true }, + [5116] = { name = L["concussive shot"], rank = 1, duration = 5 }, -- 1 sec added to estimate travel time. Can't use travelTime due to the spell having no direct damage component [19306] = { name = L["counterattack"], rank = 1, duration = 5 }, [20909] = { name = L["counterattack"], rank = 2, duration = 5 },