Skip to content
View in the app

A better way to browse. Learn more.

WRobot

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Macros in Fight class

Featured Replies

Hello,

Just wanna ask if it is possible to use an ingame macro in the fightclass creator into the fight sequence?

In which case, do if just copy the name i gave the Macro?

First one looks like this:

/run local c=CastSpellByName;if UnitHealth("pet")==0 then c("Revive Pet") elseif UnitHealth("pet")~=UnitHealthMax("pet") then c("Mend Pet") elseif GetPetHappiness()~=nil and GetPetHappiness()~=3 then c("Feed Pet");PickupContainerItem(0,1) end

 

And second one is just simple for pull:

/cast Hunter's Mark
/petattack
/cast Charge

Thanks

Yes it is. Name the Macro. then add that to your spell list. Then in the conditions list select LUA Code. in the LUA code box select the drop list button on mouse over. Then add the code there. In the box at the top right of the fightclass editor there is an option Is LUA Code make sure this is selected as True. There is another way as well. in the spell list make a spell that says /RunMacroText(MACRO) and then make sure it is Selected LUA Code True.

  • 1 month later...

this doesnt work... i've tried everything... broken please fix.

 

ADDED TO SPELL LIST:
/RunMacroText(revivepet)

MACRO (revivepet):
/use [nopet] Call Pet 1
/cast [@pet,exists,nodead] Mend Pet; Revive Pet

 

Made "/RunMacroText(revivepet)" top of the list in priority. NO CONDITIONS. LUA Script is TRUE.

Nothing happens.

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.