Add macros.

This commit is contained in:
Casper V. Kristensen 2021-05-26 22:03:00 +02:00
parent 048b7a9b2e
commit 059e08f9ed
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -6,6 +6,15 @@
/run local y,i,n,v=0;for x=0,4 do for s=1,GetContainerNumSlots(x)do i={GetContainerItemInfo(x,s)}n=i[7]if n and string.find(n,"9d9d9d")then v={GetItemInfo(n)}q=i[2]y=y+v[11]*q;UseContainerItem(x,s)print('sold',n,q)end;end;end;print(GetCoinText(y))
```
**Herbs**: Temporarily remove all ground clutter on right-click to allow seeing herbs.
```lua
#showtooltip
/cast Find Herbs
/stopmacro [button:1]
/run SetCVar("groundEffectDensity", 16);
/run C_Timer.After(5,function(self) SetCVar("groundEffectDensity", 128) end);
```
**ML**: Set master looter to target with gray quality threshold on left-click. Set standard group loot on right-click.
```lua
/run if GetMouseButtonClicked() == "LeftButton" then SetLootMethod("master", GetUnitName("target"), 0) else SetLootMethod("group", 2) end
@ -85,6 +94,19 @@
/click StaticPopup1Button1
```
**SyncSapp**: Spammable macro to Goblin Sapper Charge at the same time (once the coordinator targets an enemy).
```lua
/target Bathwater
/cast [@targettarget,exists,harm] Goblin Sapper Charge
/cast [@targettarget,exists,harm] Ramstein's Lightning Bolts
```
**BBFly**: Spammable macro that will 1) target the Booty Bay Flight Master 2) Fly to Stormwind 3) log out once flight has initialised. Requires spamming this macro + interact keybind to work properly.
```lua
/cancelaura Divine Intervention
/click StaticPopup1Button1
```
**FU**: :D
```lua
............./´¯/)
@ -192,3 +214,13 @@
/equipslot 16 Maladath, Runed Blade of the Black Flight
/equipslot 17 Aegis of the Blood God
```
**AoELIP**: AoE Taunt + LIP (needs double-click). Only AoE Taunt if right-clicking.
```lua
#showtooltip Challenging Shout
/startattack
/use Bloodrage
/cast [button:2] Challenging Shout
/stopmacro [button:2]
/castsequence reset=8 Limited Invulnerability Potion, Challenging Shout
```