I would now like to implement the automatic creation of a pet team when selecting a wild pet :
(every detail of my example is probably erroneous, it's the idea that is interesting)
(1) Player selects wild pet, for example <Rabbit> in some level 15 pet zone.
(2) Addon knows that rabbits get destroyed by snakes
(3) (optional) Addon knows either by learning and communicating with other players who have the same addon, or through extensive research before hand that rabbits in some level 15 pet zone will often be flanked by more rabbits, and moths.
(4) With this information, addon calculates that a team of level 10 snakes will be able to totally destroy the opponent, and get tons of xp.
(5) Addon finds 3 level 10 snakes in your roster, and automatically puts them in the battle slots. Or at least does its best to put up a team that will benefit the most from the fight about to be engaged.
(6) (optional) Addon starts the battle
I'm reasonably able to program all of this - what I don't have is the information, mostly because I don't play WoW that much.
Could any learned pet battler grant me any bit of knowledge that would seem to go in that direction?
Edit :
For example, are all the wild pet teams "known" (is it always the same teams in the same zone, even if no one ever bothered to make a list)?
Thanks
![Smile :)](./images/smilies/icon_e_smile.gif)