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
VuhDo
VuhDo
Commits
e78ea771
Commit
e78ea771
authored
May 07, 2022
by
Ivaria
Browse files
Ensure auto-trigger custom spell units are settings are saved as a part of the key layout
parent
0a3d6dd3
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
VuhDoNewOptionsSpellFireShared.lua
VuhDoNewOptionsSpellFireShared.lua
+2
-0
VuhDoOptions/VuhDoNewOptionsToolsKeyLayouts.lua
VuhDoOptions/VuhDoNewOptionsToolsKeyLayouts.lua
+2
-0
No files found.
VuhDoNewOptionsSpellFireShared.lua
View file @
e78ea771
...
...
@@ -18,6 +18,8 @@ function VUHDO_activateLayout(aName)
VUHDO_SPELL_CONFIG
[
"FIRE_CUSTOM_1_SPELL"
]
=
VUHDO_SPELL_LAYOUTS
[
aName
][
"FIRE"
][
"I1N"
];
VUHDO_SPELL_CONFIG
[
"FIRE_CUSTOM_2_SPELL"
]
=
VUHDO_SPELL_LAYOUTS
[
aName
][
"FIRE"
][
"I2N"
];
VUHDO_SPELL_CONFIG
[
"IS_FIRE_GLOVES"
]
=
VUHDO_SPELL_LAYOUTS
[
aName
][
"FIRE"
][
"T3"
];
VUHDO_SPELL_CONFIG
[
"custom1Unit"
]
=
VUHDO_SPELL_LAYOUTS
[
aName
][
"FIRE"
][
"I1U"
];
VUHDO_SPELL_CONFIG
[
"custom2Unit"
]
=
VUHDO_SPELL_LAYOUTS
[
aName
][
"FIRE"
][
"I2U"
];
end
VUHDO_SPEC_LAYOUTS
[
"selected"
]
=
aName
;
...
...
VuhDoOptions/VuhDoNewOptionsToolsKeyLayouts.lua
View file @
e78ea771
...
...
@@ -170,6 +170,8 @@ function VUHDO_saveKeyLayoutCallback(aDecision)
[
"I1N"
]
=
VUHDO_SPELL_CONFIG
[
"FIRE_CUSTOM_1_SPELL"
],
[
"I2N"
]
=
VUHDO_SPELL_CONFIG
[
"FIRE_CUSTOM_2_SPELL"
],
[
"T3"
]
=
VUHDO_SPELL_CONFIG
[
"IS_FIRE_GLOVES"
],
[
"I1U"
]
=
VUHDO_SPELL_CONFIG
[
"custom1Unit"
],
[
"I2U"
]
=
VUHDO_SPELL_CONFIG
[
"custom2Unit"
],
},
[
"HOTS"
]
=
VUHDO_compressTable
(
VUHDO_PANEL_SETUP
[
"HOTS"
]),
};
...
...
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