Example: Execute Macro
Execute Macro
Using the Heitu Super Macro, you can automatically press Heroic Strike just before your main-hand auto-attack ends, and then automatically cancel it after the swing lands — achieving the "Execute" technique: gaining the off-hand hit bonus from Heroic Strike without consuming rage.
Warning
This is just an example. You can read the Heitu Super Macro documentation yourself or have an AI read it (by providing the URL) and refine this function according to your needs.
Use Cases
- Warrior tank / Fury warrior to boost threat and DPS
- Situations where maximizing rage efficiency is critical
How to Use
Create a new macro in-game with the following content:
/s S t = AttackTime1() if t>200 or Power(1)>50 then M('/use 英勇打击') if t>200 then Sleep(1,t-200,function() if Power(1)>50 then M('/use 英勇打击') else StopCasting() end end) end endFor 1.12 client and Turtle WoW, use the following instead:
/s S t = AttackTime1() if t>200 or Power(1)>50 then Script("CastSpellByName('英勇打击')") if t>200 then Sleep(1,t-200,function() if Power(1)>50 then Script("CastSpellByName('英勇打击')") else Script("SpellStopCasting()") end end) end endThen bind the macro to a frequently used key and press it repeatedly during combat.
How It Works
flowchart TD
A[Press macro] --> B{Main-hand swing remaining time > 200ms?}
B -->|Yes| C[Press Heroic Strike]
B -->|No| D[Do nothing]
C --> E[Delay until just before swing completes]
E --> F{Current rage > 50?}
F -->|Yes| G[Press Heroic Strike again to let it land]
F -->|No| H[Cancel Heroic Strike — rage not consumed]Function Reference
| Function | Description |
|---|---|
AttackTime1() | Gets the remaining time (ms) on main-hand weapon swing |
Power(1) | Gets the current rage value |
Sleep(id, ms, fn) | Executes a callback function after a specified delay in milliseconds |
Macro() / M() | Executes a native WoW macro command |
StopCasting() / SC() | Cancels the current cast / cancels Heroic Strike |
Customization
Adjust Trigger Threshold
Modify the 200 value based on your weapon speed and feel:
-- Faster weapon: lower threshold (press Heroic Strike later)
t > 150
-- Slower weapon: raise threshold (press Heroic Strike earlier)
t > 300Adjust Rage Protection
Modify 50 to control the rage level below which Heroic Strike is canceled:
Power(1) > 60 -- More conservative: cancel if rage is below 60
Power(1) > 30 -- More aggressive: cancel only if rage is below 30Notes
- This macro requires high-frequency key presses (bind it to a commonly used ability key); it cannot be pressed just once
- Adjust the
200msthreshold based on your actual weapon speed - Use with discretion in heroic/raid content to avoid pulling aggro