This commit is contained in:
Bunny67
2020-09-14 12:50:19 +03:00
parent bd0642d91b
commit d0ca3637c6
2 changed files with 13 additions and 23 deletions
+1 -1
View File
@@ -1578,7 +1578,7 @@ do
Private.StopProfileSystem("generictrigger swing"); Private.StopProfileSystem("generictrigger swing");
end end
local function swingTimerCheck(event, unit, guid, spell) local function swingTimerCheck(event, unit, spell)
if unit ~= "player" then return end if unit ~= "player" then return end
Private.StartProfileSystem("generictrigger swing"); Private.StartProfileSystem("generictrigger swing");
if event == "UNIT_ATTACK_SPEED" then if event == "UNIT_ATTACK_SPEED" then
+12 -22
View File
@@ -2506,15 +2506,19 @@ Private.weapon_enchant_types = {
showOnMissing = L["Enchant Missing"], showOnMissing = L["Enchant Missing"],
showAlways = L["Always"], showAlways = L["Always"],
} }
Private.reset_swing_spells = {
Private.reset_swing_spells = {} [GetSpellInfo(1464)] = true, -- Slam
[GetSpellInfo(78)] = true, -- Heroic Strike
[GetSpellInfo(845)] = true, -- Cleave
[GetSpellInfo(2973)] = true, -- Raptor Strike
[GetSpellInfo(6807)] = true, -- Maul
[GetSpellInfo(20549)] = true, -- War Stomp
[GetSpellInfo(56815)] = true, -- Rune Strike
}
Private.reset_ranged_swing_spells = { Private.reset_ranged_swing_spells = {
[2480] = true, -- Shoot Bow [GetSpellInfo(2764)] = true, -- Throw
[7919] = true, -- Shoot Crossbow [GetSpellInfo(5019)] = true, -- Shoot Wands
[7918] = true, -- Shoot Gun [GetSpellInfo(75)] = true, -- Auto Shot
[2764] = true, -- Throw
[5019] = true, -- Shoot Wands
[75] = true, -- Auto Shot
} }
WeakAuras.StopMotion = {} WeakAuras.StopMotion = {}
@@ -2541,20 +2545,6 @@ WeakAuras.StopMotion.animation_types = {
progress = L["Progress"] progress = L["Progress"]
} }
if WeakAuras.IsClassic() then
local reset_swing_spell_list = {
1464, 8820, 11604, 11605, -- Slam
78, 284, 285, 1608, 11564, 11565, 11566, 11567, 25286, -- Heroic Strike
845, 7369, 11608, 11609, 20569, -- Cleave
2973, 14260, 14261, 14262, 14263, 14264, 14265, 14266, -- Raptor Strike
6807, 6808, 6809, 8972, 9745, 9880, 9881, -- Maul
20549, -- War Stomp
}
for i, spellid in ipairs(reset_swing_spell_list) do
Private.reset_swing_spells[spellid] = true
end
end
Private.talent_types_specific = {} Private.talent_types_specific = {}
Private.talents_ids = { Private.talents_ids = {
DEATHKNIGHT = {{48979,48997,49182,48978,49004,55107,48982,48987,49467,48985,49145,49015,48977,49006,49005,48988,53137,49027,49016,50365,62905,49018,55233,49189,55050,49023,61154,49028}, {49175,49455,49042,55061,49140,49226,50880,49039,51468,51123,49149,49137,49186,49471,49796,55610,49024,49188,50040,49203,50384,65661,54639,51271,49200,49143,50187,49202,49184}, {51745,48962,55129,49036,48963,49588,48965,49013,51459,49158,49146,49219,55620,49194,49220,49223,55666,49224,49208,52143,66799,51052,50391,63560,49032,49222,49217,51099,55090,50117,49206}}, DEATHKNIGHT = {{48979,48997,49182,48978,49004,55107,48982,48987,49467,48985,49145,49015,48977,49006,49005,48988,53137,49027,49016,50365,62905,49018,55233,49189,55050,49023,61154,49028}, {49175,49455,49042,55061,49140,49226,50880,49039,51468,51123,49149,49137,49186,49471,49796,55610,49024,49188,50040,49203,50384,65661,54639,51271,49200,49143,50187,49202,49184}, {51745,48962,55129,49036,48963,49588,48965,49013,51459,49158,49146,49219,55620,49194,49220,49223,55666,49224,49208,52143,66799,51052,50391,63560,49032,49222,49217,51099,55090,50117,49206}},