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
Valery Kornilovich
VuhDo
Commits
cf1a48c6
Commit
cf1a48c6
authored
9 years ago
by
Ivaria
Browse files
Options
Download
Email Patches
Plain Diff
Added new bindable command "ExtraActionButton" (useful to pass Eye of Anzu).
parent
b4bddb43
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
2 deletions
+18
-2
VuhDoConst.lua
VuhDoConst.lua
+1
-0
VuhDoKeySetup.lua
VuhDoKeySetup.lua
+6
-0
VuhDoMacroFactory.lua
VuhDoMacroFactory.lua
+6
-0
VuhDoOptions/VuhDoNewOptionsSpellHostile.lua
VuhDoOptions/VuhDoNewOptionsSpellHostile.lua
+2
-1
VuhDoToolbox.lua
VuhDoToolbox.lua
+2
-1
changelog.txt
changelog.txt
+1
-0
No files found.
VuhDoConst.lua
View file @
cf1a48c6
...
...
@@ -225,6 +225,7 @@ VUHDO_ID_CLASSES = {
VUHDO_SPELL_KEY_ASSIST
=
"assist"
;
VUHDO_SPELL_KEY_FOCUS
=
"focus"
;
VUHDO_SPELL_KEY_TARGET
=
"target"
;
VUHDO_SPELL_KEY_EXTRAACTIONBUTTON
=
"extraactionbutton"
;
VUHDO_SPELL_KEY_MENU
=
"menu"
;
VUHDO_SPELL_KEY_TELL
=
"tell"
;
VUHDO_SPELL_KEY_DROPDOWN
=
"dropdown"
;
...
...
This diff is collapsed.
Click to expand it.
VuhDoKeySetup.lua
View file @
cf1a48c6
...
...
@@ -11,6 +11,7 @@ local VUHDO_buildTargetButtonMacroText;
local
VUHDO_buildTargetMacroText
;
local
VUHDO_buildFocusMacroText
;
local
VUHDO_buildAssistMacroText
;
local
VUHDO_buildExtraActionButtonMacroText
;
local
VUHDO_replaceMacroTemplates
;
local
VUHDO_isActionValid
;
local
VUHDO_isSpellKnown
;
...
...
@@ -42,6 +43,7 @@ function VUHDO_keySetupInitLocalOverrides()
VUHDO_buildTargetMacroText
=
_G
[
"VUHDO_buildTargetMacroText"
];
VUHDO_buildFocusMacroText
=
_G
[
"VUHDO_buildFocusMacroText"
];
VUHDO_buildAssistMacroText
=
_G
[
"VUHDO_buildAssistMacroText"
];
VUHDO_buildExtraActionButtonMacroText
=
_G
[
"VUHDO_buildExtraActionButtonMacroText"
];
VUHDO_replaceMacroTemplates
=
_G
[
"VUHDO_replaceMacroTemplates"
];
VUHDO_isActionValid
=
_G
[
"VUHDO_isActionValid"
];
VUHDO_isSpellKnown
=
_G
[
"VUHDO_isSpellKnown"
];
...
...
@@ -85,6 +87,10 @@ local function _VUHDO_setupHealButtonAttributes(aModiKey, aButtonId, anAction, a
aButton
:
SetAttribute
(
aModiKey
..
"type"
..
aButtonId
,
"macro"
);
aButton
:
SetAttribute
(
aModiKey
..
"macrotext"
..
aButtonId
,
VUHDO_buildTargetMacroText
(
tUnit
));
elseif
"extraactionbutton"
==
tActionLow
then
aButton
:
SetAttribute
(
aModiKey
..
"type"
..
aButtonId
,
"macro"
);
aButton
:
SetAttribute
(
aModiKey
..
"macrotext"
..
aButtonId
,
VUHDO_buildExtraActionButtonMacroText
(
tUnit
));
elseif
"menu"
==
tActionLow
or
"tell"
==
tActionLow
then
aButton
:
SetAttribute
(
aModiKey
..
"type"
..
aButtonId
,
nil
);
...
...
This diff is collapsed.
Click to expand it.
VuhDoMacroFactory.lua
View file @
cf1a48c6
...
...
@@ -275,6 +275,12 @@ end
--
function
VUHDO_buildExtraActionButtonMacroText
(
aTarget
)
return
"/tar [@vuhdo]\n/click ExtraActionButton1\n/targetlasttarget"
;
end
local
VUHDO_PROHIBIT_HELP
=
{
[
VUHDO_SPELL_ID
.
REBIRTH
]
=
true
,
...
...
This diff is collapsed.
Click to expand it.
VuhDoOptions/VuhDoNewOptionsSpellHostile.lua
View file @
cf1a48c6
...
...
@@ -56,7 +56,8 @@ local function VUHDO_isHostileActionValid(anActionName)
if
(
VUHDO_SPELL_KEY_ASSIST
==
tActionLowerName
or
VUHDO_SPELL_KEY_FOCUS
==
tActionLowerName
or
VUHDO_SPELL_KEY_TARGET
==
tActionLowerName
)
then
or
VUHDO_SPELL_KEY_TARGET
==
tActionLowerName
or
VUHDO_SPELL_KEY_EXTRAACTIONBUTTON
==
tActionLowerName
)
then
return
"Command"
,
0
.
8
,
1
,
0
.
8
;
end
...
...
This diff is collapsed.
Click to expand it.
VuhDoToolbox.lua
View file @
cf1a48c6
...
...
@@ -682,7 +682,8 @@ function VUHDO_isActionValid(anActionName, anIsCustom)
or
VUHDO_SPELL_KEY_FOCUS
==
tActionLowerName
or
VUHDO_SPELL_KEY_MENU
==
tActionLowerName
or
VUHDO_SPELL_KEY_TELL
==
tActionLowerName
or
VUHDO_SPELL_KEY_TARGET
==
tActionLowerName
or
VUHDO_SPELL_KEY_TARGET
==
tActionLowerName
or
VUHDO_SPELL_KEY_EXTRAACTIONBUTTON
==
tActionLowerName
or
VUHDO_SPELL_KEY_DROPDOWN
==
tActionLowerName
then
return
VUHDO_I18N_COMMAND
,
0
.
8
,
1
,
0
.
8
,
"CMD"
;
end
...
...
This diff is collapsed.
Click to expand it.
changelog.txt
View file @
cf1a48c6
...
...
@@ -21,6 +21,7 @@ Improvements:
-- Bumped TOCs for 6.2
-- Added default custom debuffs for patch 6.2 (HFC raid encounters + Kazzak)
-- Added default common debuffs to the ignore list (eg. Exhaustion)
-- Added new bindable command "ExtraActionButton" (useful to pass Eye of Anzu)
--------------------------------------------------------------
...
...
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