June 5, 20178 yr Is there a way to feed my hunter pet "X" food after "x" amount of time, or "x" number of monsters killed? If this isn't possible with fight class/lua in fight class could someone make a plugin that does this?
June 5, 20178 yr For TBC, you could use an FeedMachine, which as far as I know picks food automatically. It also (afaik) uses some sort of button you just click for one-click feeding. In your fight class, you could just call the Lua code: RunMacroText("/click <buttonname>") Where <buttonname> would be the name of the button FeedMachine uses. No clue what it's called.
June 5, 20178 yr Author I found a multiline macro #showtooltip Feed Pet /cast [@pet, dead] Revive Pet /cast [nopet, nocombat] Call Pet 1 /cast [pet, combat] Mend Pet /cast [pet, nocombat] Feed Pet /use [nocombat] 0 1 I guess this will eat food if its in the #1 inventory slot Can you call multi line with lua in the same spell or how does that work? Would I create an in game macro and call the macro as a spell? How?
June 6, 20178 yr You could multiline by using \n for linebreaks. Or you could create a small addon with a public function that executes all these things, then use the Bot's Lua API to call that function.
July 5, 20178 yr On 6/5/2017 at 10:03 AM, scrublord69420 said: Is there a way to feed my hunter pet "X" food after "x" amount of time, or "x" number of monsters killed? If this isn't possible with fight class/lua in fight class could someone make a plugin that does this? Add spell named : RunMacroText("/cast Feed Pet"); RunMacroText("/use NameOfFood"); Now: NameOfFood= the food you gonna give to your pet. Do the following / Is not spell, Lua script: True Time: (here you put timer of how often you want the bot to feed your pet) >>> Exampel, I want the bot to feed pet every 1 minute. So, timer:60000 Thats 60 seconds ^ which is one minute. Combat only?: False Check Distance: False Can move when using: True There you go, thats a semi solid solution :)
October 22, 20178 yr On 10/12/2017 at 8:35 PM, Lokiro said: my first class is a .xml how i can add runmacro ? Its where you write the spell name, Just as I explained above. After you type the spell name exactly like I wrote it up there, you make sure you fix the settings I included. If you couldn't figure it out drop me a message
July 6, 20187 yr On 10/23/2017 at 7:06 AM, lonellywolf said: Its where you write the spell name, Just as I explained above. After you type the spell name exactly like I wrote it up there, you make sure you fix the settings I included. If you couldn't figure it out drop me a message do i add in 2 spells ? one for feed one for the actual item?
Create an account or sign in to comment