Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Hunter
- if class == "HUNTER" then
- local pets = {}
- _, _, _, pets[1], _ = GetStablePetInfo(1);
- _, _, _, pets[2], _ = GetStablePetInfo(2);
- _, _, _, pets[3], _ = GetStablePetInfo(3);
- _, _, _, pets[4], _ = GetStablePetInfo(4);
- _, _, _, pets[5], _ = GetStablePetInfo(5);
- local family = {
- ["Basilisk"] = "Petrifying Gaze",
- ["Bat"] = "Sonic Blast",
- ["Bear"] = "Thick Fur",
- ["Beetle"] = "Harden Carapace",
- ["Bird of Prey"] = "Talon Rend",
- ["Boar"] = "Bristle",
- ["Carrion Bird"] = "Bloody Screech",
- ["Cat"] = "Catlike Reflexes",
- ["Chimaera"] = "Frost Breath",
- ["Clefthoof"] = "Thick Hide",
- ["Core Hound"] = "Obsidian Skin",
- ["Crab"] = "Pin",
- ["Crane"] = "Chi-Ji's Tranquility",
- ["Crocolisk"] = "Ankle Crack",
- ["Devilsaur"] = "Monstrous Bite",
- ["Direhorn"] = "Gore",
- ["Dog"] = "Lock Jaw",
- ["Dragonhawk"] = "Dragon's Guile",
- ["Feathermane"] = "Feather Flurry",
- ["Fox"] = "Agile Reflexes",
- ["Goat"] = "Gruff",
- ["Gorilla"] = "Silverback",
- ["Hydra"] = "Acid Bite",
- ["Hyena"] = "Infected Bite",
- ["Krolusk"] = "Bulwark",
- ["Lizard"] = "Grievous Bite",
- ["Mechanical"] = "Defense Matrix",
- ["Monkey"] = "Primal Agility",
- ["Moth"] = "Serenity Dust",
- ["Nether Ray"] = "Nether Shock",
- ["Ox"] = "Niuzao's Fortitude",
- ["Pterrordax"] = "Ancient Hide",
- ["Quilen"] = "Stone Armor",
- ["Raptor"] = "Savage Rend",
- ["Ravager"] = "Ravage",
- ["Riverbeast"] = "Gruesome Bite",
- ["Rodent"] = "Gnaw",
- ["Scalehide"] = "Scale Shield",
- ["Scorpid"] = "Deadly Sting",
- ["Serpent"] = "Serpent's Swiftness",
- ["Shale Spider"] = "Solid Shell",
- ["Silithid"] = "Tendon Rip",
- ["Spider"] = "Web Spray",
- ["Spirit Beast"] = "Spirit Shock",
- ["Sporebat"] = "Spore Cloud",
- ["Stag"] = "Nature's Grace",
- ["Tallstrider"] = "Dust Cloud",
- ["Toad"] = "Swarm of Flies",
- ["Turtle"] = "Shell Shield",
- ["Warp Stalker"] = "Warp Time",
- ["Wasp"] = "Toxic Sting",
- ["Water Strider"] = "Soothing Water",
- ["Wind Serpent"] = "Winged Agility",
- ["Wolf"] = "Furious Bite",
- ["Worm"] = "Acid Spit",
- }
- local exotic = {
- ["Bear"] = "Trick",
- ["Bird of Prey"] = "Trick",
- ["Cat"] = "Prowl",
- ["Chimaera"] = "Froststorm Breath",
- ["Clefthoof"] = "Blood of the Rhino",
- ["Core Hound"] = "Molten Hide",
- ["Crane"] = "Trick",
- ["Devilsaur"] = "Feast",
- ["Feathermane"] = "Updraft",
- ["Fox"] = "Play",
- ["Krolusk"] = "Calcified Carapace",
- ["Pterrordax"] = "Updraft",
- ["Quilen"] = "Eternal Guardian",
- ["Rodent"] = "Rest",
- ["Shale Spider"] = "Shimmering Scale",
- ["Silithid"] = "Dune Strider",
- ["Spirit Beast"] = "Spirit Mend",
- ["Water Strider"] = "Surface Trot",
- ["Worm"] = "Burrow Attack",
- }
- -- Family Pet Ability
- local body = "#showtooltip\n/use "
- for i = 1, 5 do
- if family[pets[i]] then
- body = body .. "[pet:" .. pets[i] .. "]" .. family[pets[i]] .. ";"
- end
- end
- body = body .. "Tame Beast"
- EditMacro("CR", nil, nil, body, 1, 1)
- -- Exotic Pet Ability
- local body = "#showtooltip\n/use "
- for i = 1, 5 do
- if exotic[pets[i]] then
- if pets[i] == "Spirit Beast" then
- body = body .. "[pet:Spirit Beast,help][pet:Spirit Beast,@player]Spirit Mend;"
- else
- body = body .. "[pet:" .. pets[i] .. "]" .. exotic[pets[i]] .. ";"
- end
- end
- end
- body = body .. "Tame Beast"
- EditMacro("F3", nil, nil, body, 1, 1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement