For ages I used a random pet macro in WoW, something like
/run CallCompanion("CRITTER", random(GetNumCompanions("CRITTER")));
I noticed that it stopped working in the latest release. After a bit of digging, I found this replacement:
/run local t,o=C_PetJournal.GetNumPets(false);local p=C_PetJournal.GetPetInfoByIndex(random(o),false);C_PetJournal.SummonPetByID(p);
Kudos go to GnowKnayme of US MAlganis for it.
For completeness, here's a random mount macro, as well:
/run if not IsMounted() then local m,t,f="mount",{{},{}} for i=1,GetNumCompanions(m) do tinsert(t[bit.band(2,select(6,GetCompanionInfo(m,i)))==0 and 1 or 2],i) end f=IsFlyableArea() and 2 or 1 CallCompanion(m,t[f][random(#t[f])]) else Dismount() end;
Kudos for this one go to Bõb of US Aerie Peak.
WoT 1.28.1 Common Test: Gryphon In-Game Screenshots & Historical Reference
-
With the release of Update 1.28.1, the Gryphon (🇬🇧 UK, Tier X Heavy Tank,
Promotional, Mechanic: 2-shell autoreloader) will be available for testing
by...
20 minutes ago
No comments:
Post a Comment