Skip to content

Commit

Permalink
Merge pull request #138 from djsmithdev/development
Browse files Browse the repository at this point in the history
Feat: improved macro templates
  • Loading branch information
sampconrad authored Sep 10, 2024
2 parents 642a4f6 + b1bc861 commit 0a77805
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CombatMode/CombatMode.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 110002
## Version: 2.4.7.1
## Version: 2.4.8

## Title: |A:::|a|TInterface\Addons\CombatMode\assets\cmtitle:22:95|t
## Author: justice7ca, sampconrad.
Expand Down
11 changes: 7 additions & 4 deletions CombatMode/Constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,15 @@ CM.Constants.BlizzardTagetFocusCVarValues = {
---------------------------------------------------------------------------------------
-- MACROS --
---------------------------------------------------------------------------------------
-- For interrupts/taunts we use CM_PrioritizeTarge
-- For everything else we wannna macro, we use CM_PrioritizeCursor
CM.Constants.Macros = {
CM_ClearTarget = "/stopmacro [noexists]\n/cleartarget",
CM_ClearFocus = "/clearfocus",
CM_HardTarget = "#showtooltip\n/cleartarget [help][noharm,exists][dead]\n/target [@mouseover,harm,nodead]\n/startattack\n/cast PLACEHOLDER_SPELL",
CM_SoftTarget = "#showtooltip\n/cleartarget\n/cast [@mouseover,harm,nodead][] PLACEHOLDER_SPELL\n/startattack",
CM_CastCursor = "#showtooltip\n/cast [mod:shift] PLACEHOLDER_SPELL; [nomod, @cursor] PLACEHOLDER_SPELL"
CM_ClearFocus = "/stopmacro [noexists]\n/clearfocus",
CM_CastCursor = "#showtooltip\n/cast [mod:shift] SPELL; [@cursor] SPELL",
CM_PrioritizeTarget = "#showtooltip\n/cleartarget [help][noharm][dead]\n/cast [@target,harm,nodead][@mouseover,harm,nodead] SPELL\n/startattack",
CM_PrioritizeCursor = "#showtooltip\n/cleartarget [help][noharm][dead]\n/cast [@mouseover,harm,nodead][@target,harm,nodead] SPELL\n/startattack",
CM_PrioritizeCursorShift = "#showtooltip [mod:shift] SPELL_1; SPELL_2\n/cleartarget [help][noharm][dead]\n/cast [mod:shift,@mouseover,harm,nodead][mod:shift,@target,harm,nodead] SPELL_1; [@mouseover,harm,nodead][@target,harm,nodead] SPELL_2\n/startattack",
}

---------------------------------------------------------------------------------------
Expand Down

0 comments on commit 0a77805

Please sign in to comment.