-Added in every version of Arcane Torrent.

-Calculated in dash's (druid) minor glyph.
-Fixed Enable/Disable.
-Random Changes
This commit is contained in:
Relintai 2016-05-06 15:55:37 +02:00
parent a3168fcdab
commit 19f535a214
4 changed files with 21 additions and 10 deletions

View File

@ -1,11 +1,7 @@
--TODOS: --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 --spec detection
--Way to show pet cds on the master -> currently looks impossible --Way to show pet cds on the master -> currently looks impossible
--add every version for arcane torrent (BE racial)
--"Globals" --"Globals"
local aceDB = LibStub("AceDB-3.0"); local aceDB = LibStub("AceDB-3.0");

View File

@ -63,7 +63,7 @@ end
function Vect:DRDebuffFaded(spellID, dstGUID, isPlayer) function Vect:DRDebuffFaded(spellID, dstGUID, isPlayer)
local db = Vect.db.profile; 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 if not Vect.drs[dstGUID] then
Vect.drs[dstGUID] = {} Vect.drs[dstGUID] = {}
@ -116,7 +116,7 @@ end
function Vect:ReassignDRs(which) function Vect:ReassignDRs(which)
local db = Vect.db.profile; local db = Vect.db.profile;
--bail out early, if frames are disabled --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 --first hide all
for i = 1, 18 do for i = 1, 18 do
local frame = Vect.frames[which][i]["frame"]; local frame = Vect.frames[which][i]["frame"];

View File

@ -13,4 +13,16 @@ function Vect:HideFrames()
local frame = self.frames["focus"][i]["frame"]; local frame = self.frames["focus"][i]["frame"];
frame:Hide(); frame:Hide();
end 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 end

View File

@ -7,7 +7,10 @@ Vect.spells = {
--Racials (War Stomp no combatlog entry) --Racials (War Stomp no combatlog entry)
[59752] = {120, nil}, --Every Man For Himself [59752] = {120, nil}, --Every Man For Himself
[7744] = {120, nil}, --Will of the Forsaken [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 [65116] = {120, nil}, --Stoneform
[58984] = {120, nil}, --Shadowmeld [58984] = {120, nil}, --Shadowmeld
[20589] = {105, nil}, --Escape Artist [20589] = {105, nil}, --Escape Artist
@ -398,9 +401,9 @@ Vect.spells = {
[6798] = {30, nil}, --Bash r2 [6798] = {30, nil}, --Bash r2
[8983] = {30, nil}, --Bash r3 [8983] = {30, nil}, --Bash r3
[50334] = {180, nil}, --Berserk [50334] = {180, nil}, --Berserk
[1850] = {180, nil}, --Dash r1 [1850] = {144, nil}, --Dash r1
[9821] = {180, nil}, --Dash r2 [9821] = {144, nil}, --Dash r2
[33357] = {180, nil}, --Dash r3 [33357] = {144, nil}, --Dash r3
[5229] = {60, nil}, --Enrage [5229] = {60, nil}, --Enrage
[16979] = {15, nil}, --Feral Charge - Bear [16979] = {15, nil}, --Feral Charge - Bear
[49376] = {30, nil}, --Feral Charge - Cat [49376] = {30, nil}, --Feral Charge - Cat