From 19f535a21462f7c63537867edaf6962ed7e62367 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 6 May 2016 15:55:37 +0200 Subject: [PATCH] -Added in every version of Arcane Torrent. -Calculated in dash's (druid) minor glyph. -Fixed Enable/Disable. -Random Changes --- Vect.lua | 4 ---- data/drs.lua | 4 ++-- data/global.lua | 12 ++++++++++++ data/spells.lua | 11 +++++++---- 4 files changed, 21 insertions(+), 10 deletions(-) diff --git a/Vect.lua b/Vect.lua index 8a14a24..cfe26e5 100644 --- a/Vect.lua +++ b/Vect.lua @@ -1,11 +1,7 @@ --TODOS: ---DR timers ---fix config for drs, add in displaying the number of drs, add in a config -> where to show them uncomment enableds ---fix libdrdata, its dr groups are bad --spec detection --Way to show pet cds on the master -> currently looks impossible ---add every version for arcane torrent (BE racial) --"Globals" local aceDB = LibStub("AceDB-3.0"); diff --git a/data/drs.lua b/data/drs.lua index adc1315..c7ba981 100644 --- a/data/drs.lua +++ b/data/drs.lua @@ -63,7 +63,7 @@ end function Vect:DRDebuffFaded(spellID, dstGUID, isPlayer) local db = Vect.db.profile; - --if not db["enabled"] then return end; + if not db["enabled"] then return end; if not Vect.drs[dstGUID] then Vect.drs[dstGUID] = {} @@ -116,7 +116,7 @@ end function Vect:ReassignDRs(which) local db = Vect.db.profile; --bail out early, if frames are disabled - --if not db[which]["enabled"] or not db["enabled"] then return end; + if not db[which]["enabled"] or not db["enabled"] then return end; --first hide all for i = 1, 18 do local frame = Vect.frames[which][i]["frame"]; diff --git a/data/global.lua b/data/global.lua index 77740af..5e505d8 100644 --- a/data/global.lua +++ b/data/global.lua @@ -13,4 +13,16 @@ function Vect:HideFrames() local frame = self.frames["focus"][i]["frame"]; frame:Hide(); end + for i = 1, 18 do + local frame = self.frames["targetdr"][i]["frame"]; + frame:Hide(); + end + for i = 1, 18 do + local frame = self.frames["focusdr"][i]["frame"]; + frame:Hide(); + end + for i = 1, 18 do + local frame = self.frames["selfdr"][i]["frame"]; + frame:Hide(); + end end \ No newline at end of file diff --git a/data/spells.lua b/data/spells.lua index d7cb11c..827ea0f 100644 --- a/data/spells.lua +++ b/data/spells.lua @@ -7,7 +7,10 @@ Vect.spells = { --Racials (War Stomp no combatlog entry) [59752] = {120, nil}, --Every Man For Himself [7744] = {120, nil}, --Will of the Forsaken - [25046] = {120, nil}, --Arcane Torrent + [25046] = {120, nil}, --Arcane Torrent (Energy Version) + [28730] = {120, nil}, --Arcane Torrent (Mana version) + [50613] = {120, nil}, --Arcane Torrent (Runic Power version) + [28730] = {120, nil}, --Arcane Torrent (Heroes Warrior) [65116] = {120, nil}, --Stoneform [58984] = {120, nil}, --Shadowmeld [20589] = {105, nil}, --Escape Artist @@ -398,9 +401,9 @@ Vect.spells = { [6798] = {30, nil}, --Bash r2 [8983] = {30, nil}, --Bash r3 [50334] = {180, nil}, --Berserk - [1850] = {180, nil}, --Dash r1 - [9821] = {180, nil}, --Dash r2 - [33357] = {180, nil}, --Dash r3 + [1850] = {144, nil}, --Dash r1 + [9821] = {144, nil}, --Dash r2 + [33357] = {144, nil}, --Dash r3 [5229] = {60, nil}, --Enrage [16979] = {15, nil}, --Feral Charge - Bear [49376] = {30, nil}, --Feral Charge - Cat