--1: battlerage
--2: Witchcraft
--3: Defense
--4: Auramancy
--5: Occultism
--6: Archery
--7: Sorcery
--8: Shadowplay
--9: Songcraft
--10: Vitalism
--11: Malediction
--12: Swiftblade
--13: gunner
--14: dancer
nameMappings = {
    ["name_3_4_5"] = "Tank", -- Skullknight
    ["name_2_3_4"] = "Tank", -- Dreambreaker
    ["name_3_5_8"] = "Tank", -- Dreadnaught
    ["name_1_5_8"] = "Melee", -- Executioner
    ["name_1_5_9"] = "Melee", -- Lorebreaker
    ["name_1_3_5"] = "Melee", -- Doomlord
    ["name_1_4_5"] = "Melee", -- Bloodreaver
    ["name_1_3_8"] = "Melee", -- Blighter
    ["name_1_8_9"] = "Melee", -- Blade Dancer
    ["name_1_3_4"] = "Melee", -- Abolisher
    ["name_1_4_8"] = "Melee", -- Darkrunner
    ["name_1_4_9"] = "Melee", -- Herald
    ["name_1_2_8"] = "Melee", -- Shadowblade
    ["name_1_2_9"] = "Melee", -- Dirgeweaver
    ["name_1_10_14"] = "Melee", -- Illusion Argent
    ["name_1_8_12"] = "Swiftblade", -- Deathwish
    ["name_1_5_12"] = "Swiftblade", -- Deathwish
    ["name_1_9_12"] = "Swiftblade", -- Bladechanter
    ["name_7_8_11"] = "Malediction", -- Fanatic
    ["name_2_7_11"] = "Malediction", -- Blightcaster
    ["name_4_8_11"] = "Malediction", -- Dreadrunner
    ["name_7_9_11"] = "Malediction", -- Spectre
    ["name_8_9_11"] = "Malediction", -- Shadowsong
    ["name_5_9_11"] = "Malediction", -- Banesong
    ["name_4_9_11"] = "Malediction", -- Instigator
    ["name_4_7_9"] = "Mage", -- Spellsong
    ["name_7_8_9"] = "Mage", -- I forgot
    ["name_4_7_8"] = "Mage", -- Enigmatist
    ["name_4_7_11"] = "Mage", -- Spiritualist
    ["name_3_4_7"] = "Mage", -- Thaumaturge
    ["name_2_7_8"] = "Mage", -- Daggerspell
    ["name_2_4_7"] = "Mage", -- Arcanist
    ["name_4_5_7"] = "Mage", -- Revenant
    ["name_2_5_7"] = "Mage", -- Demonologist
    ["name_7_9_14"] = "Mage", -- Musician
    ["name_6_8_9"] = "Archer", -- Ebonsong
    ["name_6_9_10"] = "Archer", -- Soulsong
    ["name_2_6_9"] = "Archer", -- Hex Ranger
    ["name_3_6_8"] = "Archer", -- Stone Arrow
    ["name_6_9_12"] = "Archer", -- Zephyr
    ["name_4_6_8"] = "Archer", -- Primeval
    ["name_4_6_9"] = "Archer", -- Howler
    ["name_4_6_13"] = "Gunner", -- Barrelace
    ["name_3_6_13"] = "Gunner", -- Defiant
    ["name_6_9_13"] = "Gunner", -- Tempest
    ["name_3_4_13"] = "Gunner", --Bulwark
    ["name_6_8_13"] = "Gunner", -- Deathtrigger
    ["name_6_13_14"] = "Gunner", -- Illusion Hunter
    ["name_3_10_13"] = "Gunner", -- Clairvoyer
    ["name_4_8_13"] = "Gunner", -- Bounty Hunter
    ["name_5_6_13"] = "Gunner", -- Banebolt
    ["name_8_9_13"] = "Gunner", -- Privateer
    ["name_4_9_13"] = "Gunner", -- Minstrel
    ["name_3_9_13"] = "Gunner", -- Leadbiter
    ["name_3_5_13"] = "Gunner", -- Bloodmage
    ["name_9_13_14"] = "Gunner", -- Song Fanatic
    ["name_3_8_13"] = "Gunner", -- Gloomknight
    ["name_3_4_9"] = "Songer", -- Tomb Warden
    ["name_2_3_9"] = "Songer", -- Poxbane
    ["name_2_4_9"] = "Songer", -- Enchantrix
    ["name_3_6_9"] = "Songer", -- Honorguard
    ["name_4_8_9"] = "Songer", -- Exorcist
    ["name_4_9_14"] = "Dancer", -- Sunset Dancer
    ["name_9_10_14"] = "Dancer", -- Glamorous Savior
    ["name_8_10_14"] = "Dancer", -- Darkness Savior
    ["name_2_10_14"] = "Dancer", -- Fear Savior
    ["name_3_4_14"] = "Dancer", -- Tough Dancer
    ["name_1_3_14"] = "Dancer", -- Seal resolver
    ["name_8_9_14"] = "Dancer", -- Bloody Dancer
    ["name_3_9_14"] = "Dancer", -- Leaddancer
    ["name_3_10_14"] = "Healer", -- Comedian
    ["name_2_8_10"] = "Healer", -- Assassin
    ["name_4_8_10"] = "Healer", -- Soothsayer
    ["name_5_8_10"] = "Healer", -- Doombringer 
    ["name_2_9_10"] = "Healer", -- Athame
    ["name_8_9_10"] = "Healer", -- Confessor
    ["name_3_9_10"] = "Healer", -- Caretaker
    ["name_4_9_10"] = "Healer", -- Cleric
    ["name_2_5_10"] = "Healer", -- Necromancer
    ["name_2_3_10"] = "Healer", -- Shadowbane
    ["name_2_4_10"] = "Healer" -- Hierophant
}
