The revisions let you track differences between multiple versions of a post.

Revision of Battle Pet Tamers of Draenor from Sat, 2016-12-24 01:54

You are currently viewing a Wiki Page. It can be edited by anyone who is currently logged in. Before you change anything, please make sure to read our FAQ, the editing guidelines of this post as well as its comments.

If you feel comfortable editing guide files, feel free to fix bugs on this page.

If you'd rather just leave a comment with any mistakes you find in them, someone else can add the changes to the file at a later time.



Source Code


local guide = WoWPro:RegisterGuide("LarePetTamersDrae","Dailies","Draenor","Larenon","Neutral")
WoWPro:GuideLevels(guide,1, 90, 45)
WoWPro:GuideIcon(guide,"ICON","Interface\\ICONS\\INV_Pet_BabyBlizzardBear")
WoWPro.Dailies:GuideNameAndCategory(guide,"Battle Pet Tamers of Draenor","Pets")
WoWPro:GuidePetBattle(guide)
WoWPro:GuideSteps(guide, function()

return
[[
N General Notes|N|We will visit all the pet tamers of Draenor and choose the best leveling pet. If you have a pet called "Leveling", it will be the choice. For maximum effect, a Safari Hat and a Lesser Pet Treat is advised.|
U Buff check|BUFF|158486|U|92738|N|Warning! It seems your Safari Hat is not on! You can leave your hat on! Put it on from your Toy Collection or you can right click this step to skip.|

F Exile's Rise|AVAILABLE|37203|N|Fly to Exile's Rise in Shadowmoon.|
N Ashlei|AVAILABLE|37203|PET1|Mechanical Pandaren Dragonling;64899;1+1+2|PET2|Leveling;;;|PET3|Darkmoon Zepplin;55367;1+1+2|STRATEGY|Ashlei|
A Ashlei|QID|37203|STRATEGY|Ashlei|M|50.0,31.2|Z|Shadowmoon Valley@Draenor|N|From Ashlei|
C Pixiebell|QID|37203|STRATEGY|Ashlei|N|1) Decoy\n2) Breath spam until Pixiebell dies.|SELECT|1|SWITCH|2|
C Doodle|QID|37203|STRATEGY|Ashlei|N|1) Hit poor Doodle with anything, then switch back to Dragonling|SELECT|2|SWITCH|1|
C Tally|QID|37203|STRATEGY|Ashlei|N|1) Bombing Run\n2) Breath spam until Tally dies.\n3) Use Zepplin for backup|SELECT|1|DEAD|2,3|SWITCH|3|
C Doodle|QID|37203|STRATEGY|Ashlei|N|1) Kill the poor, defenseless plushie, Doodle, with whatever you want. :-(|DEAD|2,2|
T Ashlei|QID|37203|M|50.0,31.2|Z|Shadowmoon Valley@Draenor|N|To Ashlei|

F Veil Terokk|AVAILABLE|37207|N|Fly to Veil Terokk.|M|45.57,25.40|Z|Shadowmoon Valley@Draenor|
N Vesharr|AVAILABLE|37207|PET1|Leveling;;;|PET2|Chrominius;68662;2+2+2|PET3|Mechanical Pandaren Dragonling;64899;1+2+2|STRATEGY|Sybreedx@wowhead.com|
A Vesharr|QID|37207|M|46.2,45.4|Z|Spires of Arak|N|From Vesharr|
C Kaliri|QID|37207|STRATEGY|Sybreedx@wowhead.com|N|1) Use any simple ability. No stuns!\n2) Switch to Chrominius.|SELECT|1|SWITCH|2|
C Kaliri|QID|37207|STRATEGY|Sybreedx@wowhead.com|N|Syncronize with Caw\n1) 2 x Arcane Explosion\n2) Ancient Blessing.\n3) Repeat 3 x Arcane Explosion + Ancient Blessing|SELECT|2|DEAD|2,1|
C Apexis Guardian|QID|37207|STRATEGY|Sybreedx@wowhead.com|N|1) Surge of Power\n2) Switch to MPD|SELECT|2|SWITCH|3|
C Apexis Guardian|QID|37207|STRATEGY|Sybreedx@wowhead.com|N|1) Use Decoy when the Apexis Guardian uses Entangling Roots.\n2) Thunderbolt on cooldown\n3) Spam Breath|SELECT|3|DEAD|2,2|
C Darkwing|QID|37207|STRATEGY|Sybreedx@wowhead.com|N|1) Breath until death.|SELECT|3|DEAD|2,3|
T Vesharr|QID|37207|M|46.2,45.4|Z|Spires of Arak|N|To Vesharr|

F Retribution Point|AVAILABLE|37208|N|Fly to Retribution Point.|M|46.2,44|Z|Spires of Arak|
N Taralune|AVAILABLE|37208|PET1|Chrominius;68662;2+2+2|PET2|Leveling;;;|PET3|Nexus Whelpling;68845;1+2+2|STRATEGY|Taralune|
A Taralune|QID|37208|M|49.0,80.4|Z|Talador|N|From Taralune|
C Serendipity|QID|37208|STRATEGY|Taralune|N|1) Arcane Explosion\n2) Ancient Blessing (from now on, use it on cooldown)\n3) Spam Arcane Explosion\n4) Surge of Power when Serendipity can be killed by it.\n5) When Chrominius dies switch in the level pet.|SELECT|1|DEAD|1,1|SWITCH|2|
C Leveling Pet|QID|37208|STRATEGY|Taralune|N|1) Switch in the Whelpling.|SELECT|2|SWITCH|3|
N Mana Surge Purge|QID|37208|STRATEGY|Taralune|N|1) Arcane Storm\n2) Mana Surge\n3) Victory!|SELECT|3|DEAD|2,3|
T Taralune|QID|37208|M|49.0,80.4|Z|Talador|N|To Taralune|

F Rilzit's Holdfast|AVAILABLE|37206|N|Fly to Rilzit's Holdfast in Nagrand.|M|42,76.8|Z|Talador|
R The way to Tarr|AVAILABLE|37206|M|56.11,23.12;56.98,18.16;55.99,17.12|CS|Z|Nagrand@Draenor|ACH|10018|N|Follow these waypoints to Tarr.|
N Tarr1|AVAILABLE|37206|PET1|Leveling;;;H>650H|PET2|Scooter the Snail;51635;2+2+1;|PET3|Mr. Grubbs;50586;2+1+1|STRATEGY|SnailMaggot|
N Tarr2|AVAILABLE|37206|PET1|Leveling;;;H>650H|PET2|Snail;;449+564+310;|PET3|Maggot;;160+364|STRATEGY|SnailMaggot|
A Tarr the Terrible|QID|37206|M|56.2,9.8|Z|Nagrand@Draenor|N|From Tarr|
C Leveling|QID|37206|STRATEGY|SnailMaggot|N|1) Do something and take the hit\n2)Switch to Snail|SELECT|1|SWITCH|2|
C Snail|QID|37206|STRATEGY|SnailMaggot|N|1) Shell Shield\n2) Spam Absorb and keep Shell Shield up\n3) When Scorched Earth falls off, don't bother renewing Shell Shield anymore.\n4) Use Dive when Gladiator Murkimus uses Heroic Leap.\n5) When the Snail dies, bring in Maggot|SELECT|2|SWITCH|3|
C Maggot|QID|37206|STRATEGY|SnailMaggot|N|Repeat the following:\nA) Leap\nB) Consume|SELECT|3|
T Tarr the Terrible|QID|37206|M|56.2,9.8|Z|Nagrand@Draenor|N|To Tarr|

F Deeproot|AVAILABLE|37201|N|Fly to Deeproot.|M|50.6,30.6|Z|Nagrand@Draenor|FACTION|Alliance|
F Beastwatch|AVAILABLE|37201|N|Fly to Beastwatch.|M|50.6,30.6|Z|Nagrand@Draenor|FACTION|Horde|
R The way to Cymre|AVAILABLE|37201||M|49.83,75.08;51.51,71.35|CS|Z|Gorgrond|ACH|10018|N|Follow these waypoints to Cymre.|FACTION|Alliance|
N Cymre Winter|AVAILABLE|37201|PET1|Leveling;;;H>500U|PET2|Winter Reindeer;15706;1+2+1|PET3|Infinite Whelpling;68820;1+1+1;P>340|STRATEGY|CymreWinter|
N Cymre Idol|AVAILABLE|37201|PET1|Leveling;;;H>500U|PET2|Anubisath Idol;68659;1+1+1|PET3|Mechanical Pandaren Dragonling;64899;1+2+2|STRATEGY|CymreIdol|
A Cymre Brightblade|QID|37201|M|51.0,70.6|Z|Gorgrond|N|From Cymre|
C Leveling|QID|37201|STRATEGY|CymreIdol|N|1) Hit\n2) Switch to Anubisath Idol.|SELECT|1|SWITCH|2|
C Idol of Decay|QID|37201|STRATEGY|CymreIdol|N|Follow this sequence until Idol of Decay dies:\n1) Sandstorm on cooldown\n2) Spam Crush\n3) Deflection (basically when he has Rot off cooldown you need to cast Deflection to prevent it)\n4) Be careful if he casts Dark Rebirth, do not kill it, Pass the turn instead.\n5) Try to ensure that your Deflection is off cooldown when he dies.|SELECT|2|DEAD|2,1|
C Wishbright Lantern|QID|37201|STRATEGY|CymreIdol|N|Follow this sequence until your Idol dies:\n1) Deflection\n2) Sandstorm (from now on, use it on cooldown)\n3) Spam Crush and use Deflection against his Arcane Blast.\n4) When Anubisath dies, switch in the Dragonling.|SELECT|2|SWITCH|3|DEAD|1,2|
C Wishbright Lantern|QID|37201|STRATEGY|CymreIdol|N|1) Thunderbolt\n2) Spam Breath until the enemy dies.\n3) Save your Decoy for Gyrexle!|SELECT|2|DEAD|2,2|
C Leveling|QID|37201|STRATEGY|CymreWinter|N|1) Hit\n 2) Switch to Reindeer.|SELECT|1|SWITCH|2|
C Idol of Decay|QID|37201|STRATEGY|CymreWinter|N|Follow this sequence until Idol of Decay dies:\n1) Natures Ward, Hoof\n2) Natures Ward, 2x Hoof\nNatures Ward after Rot comes up\nBleat to kill time if there is a Dark Revival.\nSwitch to Whelp on last resurection.|SELECT|2|SWITCH|3|
C Wishbright Lantern|QID|37201|STRATEGY|CymreWinter|N|1) Healing Flame\n2) 3x Tail Sweeps\n3) Switch to Reindeer|SELECT|3|SWITCH|2|
C Gyrexle|QID|37201|STRATEGY|CymreWinter|N|1) Bleat\n2) Natures Ward\n3) Switch back to Whelp|SELECT|2|SWITCH|3|
C Gyrexle|QID|37201|N|1) 2x Tail Sweep\n2) Early Advantage\n3) Healing Flame\n4) Tail Sweep\n5) If Whelp dies, use Reindeer to clean up.|SELECT|3|DEAD|2,3|

T Cymre Brightblade|QID|37201|M|51.0,70.6|Z|Gorgrond|N|To Cymre|

F Iron Siegeworks|AVAILABLE|37205|N|Fly to Iron Siegeworks.|M|46.4,76.6|Z|Gorgrond|FACTION|Alliance|
F Wolf's Stand|AVAILABLE|37205|N|Fly to Iron Siegeworks.|M|46.0,69.2|Z|Gorgrond|FACTION|Horde|
R The way through the rockfall|AVAILABLE|37205|M|84.7,59.83;79.36,56.65;79.30,55.64;78.94,55.46;78.62,55.51;78.33,54.83;71.9,57.64|CS|Z|Frostfire Ridge|ACH|10018|N|Go through the rockfall by following these waypoints.|FACTION|Alliance|
N Gargra|AVAILABLE|37205|PET1|Cogblade Raptor;68841;2+1+1;S>259|PET2|Leveling;;;H>300B|PET3|Darkmoon Zepplin;55367;1+1+2|STRATEGY|Gargra|
A Gargra|QID|37205|M|68.6,64.6|Z|Frostfire Ridge|N|From Gargra|
C Wolfus|QID|37205|STRATEGY|Gargra|N|1) Exposed Wounds\n2) 2x Batter until Wolfus is dead.\nIf your Raptor dies here, restart.|SELECT|1|DEAD|2,1|
C Fangra|QID|37205|STRATEGY|Gargra|N|1) Overtune\n2) Exposed Wounds\n3) Repeat:\n A) Overtune\n B) Batter\n until Fangra is dead.\nIt's OK if your Raptor dies and comes back here as long as Fangra dies.|SELECT|1|DEAD|2,2|
C Poor Raptor|QID|37205|STRATEGY|Gargra|N|1) Exposed Wounds\n2) Spam Batter until your Raptor dies.\n3) Switch in Level Pet\n|SELECT|1|SWITCH|2|
C Leveling|QID|37205|STRATEGY|Gargra|N|1) When the round resolves, switch in the Zeppelin.|SELECT|2|SWITCH|3|
C Wolfgar|QID|37205|STRATEGY|Gargra|N|1) Bombing Run\n2) Spam Missile\n3) Use Decoy when Wolfgar uses Howl.|SELECT|3|DEAD|2,3|
T Gargra|QID|37205|M|68.6,64.6|Z|Frostfire Ridge|N|To Gargra|
N End of Guide|N|You've reached the end of the guide! This guide will automatically reset when the dailies reset, or you can reset it manually by right-clicking this window's titlebar or frame.|
]]
end)

[Back to List of Guides]

Comments

rpotor's picture

Sorry, I was out of WoW for a

Sorry, I was out of WoW for a while now, just noticed these pet battle code upgrades. Awesome! :-) However I got two questions, after testing the new and improved guide:

1) Can we somehow also make a level test built into the code? For example, Cymre has two strategies now. Addon chose first team, because I have all the pets for that strategy. However I was kinda surprised when the battle started and I faced Cymre with a common and an uncommon pet, one of them level 5 and the other level 11. I'm all for Mythic level pet battles, but still that looks like a little bit hardcore. :-)) So can we test for a minimum level of a certain pet before it is "accepted" by the addon logic for a given strategy?

2) How does the Leveling logic works? So when you put a pet into a strategy as "Leveling" how does the addon decides which pet to choose? Can the user maybe set-up a desired level up queue, which the addon would check first, before defaulting to its built-in logic?

Ludovicus_Maior's picture

Re: level test built into the code

Urp!   That was an omission on my part.  Just like the leveling pets are selected to have a certain amount of health before the qualify for a battle, I can add the requirements for the non-leveling pets to be L>24, if no limits are specified.

Consider it done for the next update.

As for the leveling logic, it scans for all pets that meet the limit test for the leveling pet specification.  For Cymre it is H>500U, which means it needs to be able to take 500 Undead damage.  It then ranks all pets passing that test and then sorts them according to the sum of health, power and speed and then picks the worst.

Oh, and if the pet is named "Leveling" it is supposed to be given preference if it is eligible.   But this does not work right now.

Emmaleah's picture

Pet Battles

As to your point 2...

I find rematch to be a marvelous addon for the actual teams and strategies.  I dont know that we need to reinvent the queue and all of the very nifty concepts incorporated in that addon.

Emmaleah == bravely leading the way since ... um a long time ago... Smiling

rpotor's picture

I use Rematch too, and it

I use Rematch too, and it would be all kinds of awesome if the Rematch level up queue could somehow be pulled into WoW-Pro. My first thought was to suggest exactly that, but then I also thought maybe it would be an overkill, since pet battles I think are not the main focus of the addon. The solution Ludovicus mentioned above where you would be able to name level up pets as "Leveling" and then the addon would try choosing from them is a very good compromise and maybe it needs less developer time to implement.

Ludovicus_Maior's picture

Better Pet Battles

Larenon:

Thanks for all the hard work you have put into these guides.
As you note, they don't auto-complete and could could be better suportted by the addon.

How about this:

! Brutus/Ruckus|NPC|85561;85655|QID|-85561|
C Iron Starlette/Darkmoon Zepplin|QID|-85561|PET1|Iron Starlette;77221;1+1+1|PET2|Darkmoon Zepplin;85561;1+1+2|PET3|Leveling;;;L>20|STRATEGY|IS/DZ|
C Iron Starlette|QID|-85561|STRATEGY|IS/DZ|N|Brutus:\n1: Windup\m2: Supercharge (kill Brutus)\n3:Windup (and die)|SELECT|PET1|DEAD|PET1|
C Darkmoon Zepplin|QID|-85561|STRATEGY|IS/DZ|N|Rukus:\n1: Bombing Run\m2: Missle\n3:Missle (and die)|SELECT|PET2|DEAD|PET2|
C Leveling Pet|QID|-85561|STRATEGY|IS/DZ|N|Leveling:\n1: Best Damage\n2: Best Damage\n3: Bomb Hits|SELECT|PET3|DEAD|85655|WIN|

C Lil' Bling/Darkmoon Zeppelin|QID|-85561|PET1|Lil' Bling;73011;2+2+2|PET2|Darkmoon Zeppelin;55367;1+2+2|PET3|Leveling|STRATEGY|LB/DZ|

...

The sequence of events would be as follows:

  1. The '!' step says that if you left click on Brutus or Ruckus, that we pretend quest -85561 is active. the NPC ids for the whole team are listed.
  2. Now that quest -85561 is active, the other lines with |QID|-85561| become live.
  3. The next line tests to see if you have a Iron Starlette and a Darkmoon Zepplin. If you do, it sets them up with the appropriate abilities and then sets the STRATEGY to being "IS/DZ", activating the next step. If this step is now skipped, then the next PET spec line would be activated, like the Bling Zepplin line.
  4. The next step makes sure PET1 is SELECTed and completes when PET1 is DEAD.
  5. The next step SELECTs PET2 and completes when PET2 is DEAD.
  6. The next step makes sure PET3 is SELECTed and completes when we WIN. If we dont WIN, it resets completion on all steps with this strategy and lets you try again.
What do y'sll think?

Ludovicus_Maior's picture

Success!

This code works now:

function WoWPro.PetLoadTest()
    WoWPro.PetLoadAndPick(1, 68662,{1,2,1}) -- Chrominius
    WoWPro.PetLoadAndPick(2, 66950,{2,1,2}) -- Pandaren Water Spirit
    WoWPro.PetLoadAndPick(3, 71163,{1,1,2}) -- Unborn Val'kyr
end

It loads three pets of the given NPC id, and sets their abilities.
So I have all the basic building blocks and the hooks into the API.