Elmorito 0 Posted June 21, 2017 Share Posted June 21, 2017 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 Link to comment https://wrobot.eu/forums/topic/6207-macros-in-fight-class/ Share on other sites More sharing options...
Bear T.O.E. 63 Posted June 21, 2017 Share Posted June 21, 2017 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. Grevlen 1 Link to comment https://wrobot.eu/forums/topic/6207-macros-in-fight-class/#findComment-28125 Share on other sites More sharing options...
Richard365 1 Posted August 11, 2017 Share Posted August 11, 2017 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. Link to comment https://wrobot.eu/forums/topic/6207-macros-in-fight-class/#findComment-30618 Share on other sites More sharing options...
Richard365 1 Posted August 11, 2017 Share Posted August 11, 2017 Cant believe it.... it's becasue of the setting default to "use pet" FALSE... Change this to TRUE... Link to comment https://wrobot.eu/forums/topic/6207-macros-in-fight-class/#findComment-30619 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now