Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local _,race = UnitRace("player")
- local racials = {
- ["BloodElf"] = "Arcane Torrent",
- ["Draenei"] = "Gift of the Naaru",
- ["DarkIronDwarf"] = "Fireblood",
- ["Dwarf"] = "Stoneform",
- ["Gnome"] = "Escape Artist",
- ["Goblin"] = "Rocket Jump",
- ["HighmountainTauren"] = "Bull Rush",
- ["Human"] = "Every Man for Himself",
- ["KulTiran"] = "Haymaker",
- ["LightforgedDraenei"] = "Light's Judgment",
- ["MagharOrc"] = "Ancestral Call",
- ["Nightborne"] = "Arcane Pulse",
- ["NightElf"] = "Shadowmeld",
- ["Orc"] = "Blood Fury",
- ["Pandaren"] = "Quaking Palm",
- ["Scourge"] = "Will of the Forsaken",
- ["Tauren"] = "War Stomp",
- ["Troll"] = "Berserking",
- ["VoidElf"] = "Spatial Rift",
- ["Worgen"] = "Darkflight",
- ["ZandalariTroll"] = "Regeneratin'",
- }
- if racials[race] then
- EditMacro("Racist", nil, nil, "#showtooltip\n/use " .. racials[race], 1, 1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement