Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Joschi Grey
VuhDo
Commits
84417e5e
Commit
84417e5e
authored
10 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Fixed Buff Watch for new derived spells (eg. Seal of Truth) - closes CurseForge ticket 354
parent
e6503928
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
43 additions
and
24 deletions
+43
-24
VuhDo.toc
VuhDo.toc
+1
-1
VuhDoBuffConst.lua
VuhDoBuffConst.lua
+1
-1
VuhDoBuffWatch.lua
VuhDoBuffWatch.lua
+8
-17
VuhDoBuffWatchBuilder.lua
VuhDoBuffWatchBuilder.lua
+19
-2
VuhDoConstSpells.lua
VuhDoConstSpells.lua
+1
-1
VuhDoDebuffConst.lua
VuhDoDebuffConst.lua
+1
-1
VuhDoOptions/VuhDoOptions.toc
VuhDoOptions/VuhDoOptions.toc
+1
-1
changelog.txt
changelog.txt
+11
-0
No files found.
VuhDo.toc
View file @
84417e5e
## Interface: 60000
## Title: VuhDo ['vu:du:]
## Author: Iza@Gilneas, humfras
## Version: 3.6
3
## Version: 3.6
4
## Notes: Raid Frames providing click-heal functionality, buff and debuff control, main tank management and much more
## SavedVariablesPerCharacter: VUHDO
_
CONFIG, VUHDO
_
PANEL
_
SETUP, VUHDO
_
SPELL
_
ASSIGNMENTS, VUHDO
_
HOSTILE
_
SPELL
_
ASSIGNMENTS, VUHDO
_
MM
_
SETTINGS, VUHDO
_
PLAYER
_
TARGETS, VUHDO
_
MAINTANK
_
NAMES, VUHDO
_
BUFF
_
SETTINGS, VUHDO
_
POWER
_
TYPE
_
COLORS, VUHDO
_
SPELLS
_
KEYBOARD, VUHDO
_
SPELL
_
CONFIG, VUHDO
_
BUFF
_
ORDER, VUHDO
_
SPEC
_
LAYOUTS, VUHDO
_
GROUP
_
SIZE, VUHDO
_
RAID, VUHDO
_
INDICATOR
_
CONFIG
## SavedVariables: VUHDO
_
PROFILES, VUHDO
_
MANUAL
_
ROLES, VUHDO
_
SPELL
_
LAYOUTS, VUHDO
_
USER
_
CLASS
_
COLORS, VUHDO
_
DEBUFF
_
BLACKLIST, VUHDO
_
BOUQUETS, VUHDO
_
COMBAT
_
LOG
_
TRACE, VUHDO
_
GLOBAL
_
CONFIG, VUHDO
_
DEBUG
...
...
This diff is collapsed.
Click to expand it.
VuhDoBuffConst.lua
View file @
84417e5e
...
...
@@ -161,6 +161,7 @@ VUHDO_CLASS_BUFFS = {
{
VUHDO_SPELL_ID
.
BUFF_SEAL_OF_JUSTICE
,
VUHDO_BUFF_TARGET_STANCE
},
{
VUHDO_SPELL_ID
.
BUFF_SEAL_OF_INSIGHT
,
VUHDO_BUFF_TARGET_STANCE
},
{
VUHDO_SPELL_ID
.
BUFF_SEAL_OF_TRUTH
,
VUHDO_BUFF_TARGET_STANCE
},
{
VUHDO_SPELL_ID
.
BUFF_SEAL_OF_COMMAND
,
VUHDO_BUFF_TARGET_STANCE
},
},
[
VUHDO_SPELL_ID
.
BUFF_BEACON_OF_LIGHT
]
=
{
{
VUHDO_SPELL_ID
.
BUFF_BEACON_OF_LIGHT
,
VUHDO_BUFF_TARGET_UNIQUE
},
...
...
@@ -255,7 +256,6 @@ VUHDO_CLASS_BUFFS = {
{
VUHDO_SPELL_ID
.
BUFF_ASPECT_OF_THE_PACK
,
VUHDO_BUFF_TARGET_SELF
},
{
VUHDO_SPELL_ID
.
BUFF_ASPECT_OF_THE_FOX
,
VUHDO_BUFF_TARGET_SELF
},
{
VUHDO_SPELL_ID
.
BUFF_ASPECT_OF_THE_CEETAH
,
VUHDO_BUFF_TARGET_SELF
},
{
VUHDO_SPELL_ID
.
BUFF_IRON_HAWK
,
VUHDO_BUFF_TARGET_SELF
},
},
},
...
...
This diff is collapsed.
Click to expand it.
VuhDoBuffWatch.lua
View file @
84417e5e
...
...
@@ -364,28 +364,19 @@ function VUHDO_initBuffsFromSpellBook()
local
tSpellName
,
tSpellId
,
tIcon
;
-- GetSpellBookItemInfo is bugged for Hunter Iron Hawk
if
"HUNTER"
==
VUHDO_PLAYER_CLASS
then
VUHDO_BUFFS
[
VUHDO_SPELL_ID
.
BUFF_IRON_HAWK
]
=
{
[
"icon"
]
=
select
(
3
,
GetSpellInfo
(
109260
)),
[
"id"
]
=
109260
,
};
end
-- GetSpellBookItemInfo is bugged for Shaman Water Shield
if
"SHAMAN"
==
VUHDO_PLAYER_CLASS
then
VUHDO_BUFFS
[
VUHDO_SPELL_ID
.
BUFF_WATER_SHIELD
]
=
{
[
"icon"
]
=
select
(
3
,
GetSpellInfo
(
52127
)),
[
"id"
]
=
52127
,
};
end
-- Patch 6.0.2 broke the spell book for a certain class of spells which 'transform' into other spells
-- eg. Lightning Shield becomes Water Shield, Seal of Command becomes Seal of Truth
-- the workaround is to always check for existance in the spell book using the 'source' or 'parent'
-- spell name then map the 'source' spell name to the correct 'derived' or 'child' spell info
-- eg. GetSpellBookItemInfo("Lightning Shield") will return a spell ID only for Lightning Shield,
-- however when a Resto Shaman calls GetSpellInfo("Lightning Shield") it returns the correct
-- information for the derived spell Water Shield
for
_
,
tCateg
in
pairs
(
VUHDO_getPlayerClassBuffs
())
do
for
_
,
tCategSpells
in
pairs
(
tCateg
)
do
tSpellName
=
tCategSpells
[
1
];
_
,
tSpellId
=
GetSpellBookItemInfo
(
tSpellName
);
if
tSpellId
then
_
,
_
,
tIcon
=
GetSpellInfo
(
tSpell
Id
);
tSpellName
,
_
,
tIcon
,
_
,
_
,
_
,
tSpellId
=
GetSpellInfo
(
tSpell
Name
);
VUHDO_BUFFS
[
tSpellName
]
=
{
[
"icon"
]
=
tIcon
,
[
"id"
]
=
tSpellId
...
...
This diff is collapsed.
Click to expand it.
VuhDoBuffWatchBuilder.lua
View file @
84417e5e
...
...
@@ -68,11 +68,24 @@ end
--
local
function
VUHDO_getFirstBuffCategoryVariant
(
aCategorySpec
)
local
tFirstVariant
=
nil
;
for
_
,
tFirstVariant
in
pairs
(
VUHDO_getPlayerClassBuffs
()[
aCategorySpec
])
do
if
VUHDO_BUFFS
[
tFirstVariant
[
1
]]
~=
nil
then
return
tFirstVariant
;
end
end
return
nil
;
end
--
local
function
VUHDO_addBuffPanel
(
aCategorySpec
)
local
tCategName
=
aCategorySpec
;
local
tSettings
=
VUHDO_BUFF_SETTINGS
[
tCategName
];
local
tFirstVariant
=
VUHDO_getPlayerClassBuffs
()[
aCategorySpec
][
1
];
local
tBuffPanel
,
tSwatch
;
local
tIcon
;
local
tTargetType
;
...
...
@@ -80,8 +93,12 @@ local function VUHDO_addBuffPanel(aCategorySpec)
local
tTexture
;
local
tLabelText
;
local
tFirstVariant
=
VUHDO_getFirstBuffCategoryVariant
(
aCategorySpec
);
-- Happens on emergency login
if
not
VUHDO_BUFFS
[
tFirstVariant
[
1
]]
then
return
nil
;
end
if
not
tFirstVariant
or
not
VUHDO_BUFFS
[
tFirstVariant
[
1
]]
then
return
nil
;
end
tTargetType
=
tFirstVariant
[
2
];
tLabelText
=
VUHDO_BUFF_SETTINGS
[
tCategName
][
"buff"
]
or
tFirstVariant
[
1
];
...
...
This diff is collapsed.
Click to expand it.
VuhDoConstSpells.lua
View file @
84417e5e
...
...
@@ -221,6 +221,7 @@ VUHDO_SPELL_ID.BUFF_SEAL_OF_JUSTICE = VUHDO_getSpellInfo(20164);
VUHDO_SPELL_ID
.
BUFF_SEAL_OF_INSIGHT
=
VUHDO_getSpellInfo
(
20165
);
VUHDO_SPELL_ID
.
BUFF_SEAL_OF_TRUTH
=
VUHDO_getSpellInfo
(
31801
);
VUHDO_SPELL_ID
.
BUFF_SEAL_OF_RIGHTEOUSNESS
=
VUHDO_getSpellInfo
(
20154
);
VUHDO_SPELL_ID
.
BUFF_SEAL_OF_COMMAND
=
VUHDO_getSpellInfo
(
105361
);
VUHDO_SPELL_ID
.
BUFF_BEACON_OF_LIGHT
=
VUHDO_getSpellInfo
(
53563
);
...
...
@@ -266,7 +267,6 @@ VUHDO_SPELL_ID.BUFF_TRUESHOT_AURA = VUHDO_getSpellInfo(19506);
VUHDO_SPELL_ID
.
BUFF_ASPECT_OF_THE_PACK
=
VUHDO_getSpellInfo
(
13159
);
VUHDO_SPELL_ID
.
BUFF_ASPECT_OF_THE_FOX
=
VUHDO_getSpellInfo
(
172106
)
VUHDO_SPELL_ID
.
BUFF_ASPECT_OF_THE_CEETAH
=
VUHDO_getSpellInfo
(
5118
);
VUHDO_SPELL_ID
.
BUFF_IRON_HAWK
=
VUHDO_getSpellInfo
(
109260
);
-- Rogue
VUHDO_SPELL_ID
.
BUFF_TRICKS_OF_THE_TRADE
=
VUHDO_getSpellInfo
(
57934
);
...
...
This diff is collapsed.
Click to expand it.
VuhDoDebuffConst.lua
View file @
84417e5e
...
...
@@ -51,7 +51,7 @@ VUHDO_INIT_DEBUFF_ABILITIES = {
VUHDO_SPEC_TO_DEBUFF_ABIL
=
{
[
VUHDO_SPELL_ID
.
INTERNAL_MEDICINE
]
=
VUHDO_SPELL_ID
.
DETOX
,
}
}
;
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoOptions.toc
View file @
84417e5e
## Interface: 60000
## Title: VuhDo ['vu:du:] - Options
## Author: Iza@Gilneas, humfras
## Version: 3.6
3
## Version: 3.6
4
## Notes: VuhDo Options
## SavedVariables: VUHDO
_
OPTIONS
_
SETTINGS
## SavedVariablesPerCharacter: VUHDO
_
GLOBAL
_
ICONS, VUHDO
_
GI
_
SCAN
_
IDX
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
84417e5e
Version 3.64.
Bugfixes:
-- Fixed Buff Watch support for the new type of derived spells
-- Fixed watching of Shaman Lightning Shield and Water Shield
-- Fixed watching of Paladin Seal of Truth
-- Removed deprecated Hunter spell Aspect of the Iron Hawk
--------------------------------------------------------------
Version 3.63.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment