From 5c664cf284ec492c9fca54036d9d61095212da5f Mon Sep 17 00:00:00 2001 From: ackis Date: Wed, 17 Dec 2008 01:39:58 +0000 Subject: [PATCH] Fix a bug with factions for npc's --- ARLDataminer.rb | 328 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 320 insertions(+), 8 deletions(-) diff --git a/ARLDataminer.rb b/ARLDataminer.rb index 408f8c4..110090f 100644 --- a/ARLDataminer.rb +++ b/ARLDataminer.rb @@ -1466,12 +1466,12 @@ EOF lookup_lua.print(")") else if v[:faction] - lookup_lua.print("#{v[:faction]})") + lookup_lua.print(",#{v[:faction]})") else if $factionmap[v[:name]] - lookup_lua.print("#{$factionmap[v[:name]]})") + lookup_lua.print(",#{$factionmap[v[:name]]})") else - lookup_lua.print("0)") + lookup_lua.print(",0)") end end # Add the name to the list of localization strings @@ -2493,47 +2493,359 @@ $bosslist = [ # Manual mapping of mobs to their zones $zonemap = { - "Amani'shi Protector" => "Zul'Aman", + "Amal'thazad" => "Eastern Plaguelands", + "Crystalline Keeper" => "The Nexus", + "Durnholde Sentry" => "Old Hillsbrad Foothills", + "Enslaved Proto-Drake" => "Utgarde Keep", + "Krystallus" => "Halls of Stone", + "Lady Alistra" => "Eastern Plaguelands", + "Lord Thorval" => "Eastern Plaguelands", + "Mage Slayer" => "The Nexus", + "Nightmare Scalebane" => "Sunken Temple", + "Overlord Wyrmthalak" => "Blackrock Spire", + "Portal Guardian" => "The Violet Hold", + "Portal Keeper" => "The Violet Hold", + "Primordial Behemoth" => "Maraudon", + "Risen Drakkari Death Knight" => "Drak'Tharon Keep", + "Scarlet Myrmidon" => "Scarlet Monastery", + "Shattered Hand Champion" => "The Shattered Halls", + "Stormforged Giant" => "Halls of Lightning", + "Subterranean Diemetradon" => "Maraudon", + "Anub'ar Guardian" => "Azjol-Nerub", + "Anub'ar Prime Guard" => "Azjol-Nerub", + "Anub'ar Venomancer" => "Azjol-Nerub", + "Azure Magus" => "The Nexus", + "Azure Raider" => "The Nexus", + "Azure Sorceror" => "The Nexus", + "Azure Stalker" => "The Nexus", + "Azure Warder" => "The Nexus", + "Crystalline Protector" => "The Nexus", + "Ormorok the Tree-Shaper" => "The Nexus", + "Savage Worg" => "Utgarde Keep", + "Sjonnir The Ironshaper" => "Halls of Stone", + "40 Tickets - Schematic: Steam Tonk Controller" => "Darkmoon Faire", + "Master Craftsman Omarion" => "Naxxramas", + "Azure Ley-Whelp" => "The Oculus", + "Bloodaxe Raider" => "Blackrock Spire", + "Forgotten One" => "Ahn'kahet: The Old Kingdom", + "Gorgolon the All-seeing" => "", + "Great-father Winter" => "Orgrimmar", + "Illidari Defiler" => "Black Temple", + "Lightning Construct" => "Halls of Stone", + "Ravaged Cadaver" => "Stratholme", + "Sjonnir the Ironshaper" => "Halls of Stone", + "Skeletal Fiend (Enraged Form)" => "Duskwood", + "Storm Fury" => "Black Temple", + "Gorgolon the All-seeing" => "Blade's Edge Mountains", + "A Binding Contract" => "Blackrock Depths", + "Aged Dalaran Wizard" => "Old Hillsbrad Foothills", + "Amani'shi Flame Caster" => "Zul'Aman", + "Annora" => "Uldaman", + "Anub'arak" => "Azjol-Nerub", + "Cluster Launcher" => "Moonglade", + "Cyanigosa" => "The Violet Hold", + "Drakkari Bat" => "Drak'Tharon Keep", + "Drakkari Earthshaker" => "Gundrak", + "Enchanted Thorium Platemail: Volume I" => "Dire Maul", + "Enchanted Thorium Platemail: Volume II" => "Dire Maul", + "Enchanted Thorium Platemail: Volume III" => "Dire Maul", + "Festive Recipes" => "Moonglade", + "Firework Launcher" => "Moonglade", + "Flash Bomb Recipe" => "Badlands", + "Flesheating Ghoul" => "Drak'Tharon Keep", + "Gyth" => "Blackrock Spire", + "Herald Volazj" => "Ahn'kahet: The Old Kingdom", + "Imperial Plate Belt" => "Tanaris", + "Imperial Plate Boots" => "Tanaris", + "Imperial Plate Bracer" => "Tanaris", + "Imperial Plate Chest" => "Tanaris", + "Imperial Plate Helm" => "Tanaris", + "Imperial Plate Leggings" => "Tanaris", + "Imperial Plate Shoulders" => "Tanaris", + "Indormi" => "Hyjal Summit", + "Ingvar the Plunderer" => "Howling Fjord", + "Keristrasza" => "Borean Tundra", + "King Ymiron" => "Howling Fjord", + "Koren" => "Karazhan", + "Lieutenant General Andorov" => "Ruins of Ahn'Qiraj", + "Loken" => "The Storm Peaks", + "Lokhtos Darkbargainer" => "Blackrock Depths", + "Okuno" => "Black Temple", + "Ras Frostwhisper" => "Scholomance", + "Risen Drakkari Soulmage" => "Drak'Tharon Keep", + "Risen Drakkari Warrior" => "Drak'Tharon Keep", + "Shen'dralar Provisioner" => "Dire Maul", + "Sister of Torment" => "Magisters' Terrace", + "The Prophet Tharon'ja" => "Grizzly Hills", + "Thomas Yance" => "Old Hillsbrad Foothills", + "Twilight Worshipper" => "Ahn'kahet: The Old Kingdom", + "Ythyar" => "Karazhan", + "Abomination" => "Hyjal Summit", + "Akil'zon" => "Zul'Aman", + "Amani Dragonhawk" => "Zul'Aman", + "Amani Elder Lynx" => "Zul'Aman", + "Amani'shi Axe Thrower" => "Zul'Aman", + "Amani'shi Beast Tamer" => "Zul'Aman", + "Amani'shi Guardian" => "Zul'Aman", + "Amani'shi Handler" => "Zul'Aman", + "Amani'shi Scout" => "Zul'Aman", + "Amani'shi Tribesman" => "Zul'Aman", + "Amani'shi Warbringer" => "Zul'Aman", + "Amani'shi Wind Walker" => "Zul'Aman", + "Anetheron" => "Hyjal Summit", + "Anguished Dead" => "Scarlet Monastery", + "Anvilrage Captain" => "Blackrock Depths", + "Anvilrage Marshal" => "Blackrock Depths", + "Anvilrage Overseer" => "Blackrock Depths", + "Anvilrage Soldier" => "Blackrock Depths", "Apocalypse Guard" => "Sunwell Plateau", + "Arcane Anomaly" => "Karazhan", + "Arcane Protector" => "Karazhan", + "Arcatraz Sentinel" => "The Arcatraz", + "Archimonde" => "Hyjal Summit", + "Atal'ai Deathwalker" => "Sunken Temple", + "Atal'ai Warrior" => "Sunken Temple", + "Atal'ai Witch Doctor" => "Sunken Temple", + "Attumen the Huntsman" => "Karazhan", + "Auchenai Monk" => "Auchenai Crypts", "Ayamiss the Hunter" => "Ruins of Ahn'Qiraj", + "Azgalor" => "Hyjal Summit", + "Bannok Grimaxe" => "Blackrock Spire", + "Banshee" => "Hyjal Summit", + "Baron Geddon" => "Molten Core", + "Battleguard Sartura" => "Temple of Ahn'Qiraj", + "Blackhand Elite" => "Blackrock Spire", + "Blackheart the Inciter" => "Shadow Labyrinth", + "Bleeding Hollow Darkcaster" => "Hellfire Ramparts", + "Bloodhound" => "Blackrock Depths", + "Bloodwarder Legionnaire" => "The Eye", + "Bloodwarder Vindicator" => "The Eye", + "Bog Giant" => "The Underbog", + "Bonechewer Destroyer" => "Hellfire Ramparts", + "Burrowing Thundersnout" => "Blackrock Depths", "Buru the Gorger" => "Ruins of Ahn'Qiraj", + "Cabal Acolyte" => "Shadow Labyrinth", + "Cabal Cultist" => "Shadow Labyrinth", + "Cabal Fanatic" => "Shadow Labyrinth", + "Cabal Spellbinder" => "Shadow Labyrinth", "Cannon Master Willey" => "Stratholme", + "Captain Skarloc" => "Old Hillsbrad Foothills", "Cataclysm Hound" => "Sunwell Plateau", + "Chrono Lord Deja" => "The Black Morass", + "Cobalt Serpent" => "Sethekk Halls", + "Coilfang Champion" => "The Slave Pens", + "Coilfang Hate-Screamer" => "Serpentshrine Cavern", + "Coilfang Myrmidon" => "The Steamvault", + "Coilfang Oracle" => "The Steamvault", + "Coilfang Serpentguard" => "Serpentshrine Cavern", + "Coilfang Shatterer" => "Serpentshrine Cavern", + "Coilfang Siren" => "The Steamvault", + "Coilfang Sorceress" => "The Steamvault", + "Coilfang Technician" => "The Slave Pens", + "Coilfang Warrior" => "The Steamvault", + "Coilskar Sea-Caller" => "Black Temple", + "Commander Sarannis" => "The Botanica", "Crimson Inquisitor" => "Stratholme", "Crimson Sorcerer" => "Stratholme", + "Crypt Fiend" => "Hyjal Summit", + "Crystalcore Mechanic" => "The Eye", + "Dalliah the Doomsayer" => "The Arcatraz", + "Dark Screecher" => "Blackrock Depths", + "Darkmaster Gandling" => "Scholomance", + "Darkwater Crocolisk" => "Tanaris", + "Darkweaver Syth" => "Sethekk Halls", + "Deep Stinger" => "Blackrock Depths", + "Defias Pirate" => "The Deadmines", + "Defias Squallshaper" => "The Deadmines", + "Don Carlos" => "Old Hillsbrad Foothills", "Doomfire Destroyer" => "Sunwell Plateau", + "Doomforge Craftsman" => "Blackrock Depths", + "Doomforge Dragoon" => "Blackrock Depths", + "Dragonmaw Wind Reaver" => "Black Temple", + "Durnholde Lookout" => "Old Hillsbrad Foothills", + "Durnholde Rifleman" => "Old Hillsbrad Foothills", + "Durnholde Tracking Hound" => "Old Hillsbrad Foothills", + "Emperor Vek'lor" => "Temple of Ahn'Qiraj", + "Emperor Vek'nilash" => "Temple of Ahn'Qiraj", + "Epoch Hunter" => "Old Hillsbrad Foothills", + "Eredar Deathbringer" => "The Arcatraz", + "Ethereal Priest" => "Mana-Tombs", + "Ethereal Scavenger" => "Mana-Tombs", + "Ethereal Spellbinder" => "Mana-Tombs", + "Ethereal Thief" => "Karazhan", + "Ethereum Smuggler" => "Magisters' Terrace", + "Exarch Maladaar" => "Auchenai Crypts", + "Fankriss the Unyielding" => "Temple of Ahn'Qiraj", + "Fel Orc Convert" => "The Shattered Halls", "Fel Rager" => "Blade's Edge Mountains", + "Fel Stalker" => "Hyjal Summit", + "Felguard Annihilator" => "The Blood Furnace", + "Firebrand Grunt" => "Blackrock Spire", + "Firebrand Invoker" => "Blackrock Spire", + "Firebrand Legionnaire" => "Blackrock Spire", + "Firebrand Pyromancer" => "Blackrock Spire", + "Fleshbeast" => "Karazhan", + "Frost Wyrm" => "Hyjal Summit", + "Gargantuan Abyssal" => "The Arcatraz", + "Gargoyle" => "Hyjal Summit", + "Garr" => "Molten Core", + "Gehennas" => "Molten Core", + "General Drakkisath" => "Blackrock Spire", "General Rajaxx" => "Ruins of Ahn'Qiraj", - "Illidari Heartseeker" => "Black Temple", + "Ghaz'an" => "The Underbog", + "Ghostly Philanthropist" => "Karazhan", + "Ghostly Steward" => "Karazhan", + "Ghoul" => "Hyjal Summit", + "Giant Infernal" => "Hyjal Summit", + "Golem Lord Argelmach" => "Blackrock Depths", + "Golemagg the Incinerator" => "Molten Core", + "Goraluk Anvilcrack" => "Blackrock Spire", + "Grand Warlock Nethekurse" => "The Shattered Halls", + "Greater Bogstrok" => "The Slave Pens", + "Greater Fleshbeast" => "Karazhan", + "Grizzle" => "Blackrock Depths", + "Gronn-Priest" => "Gruul's Lair", + "Halazzi" => "Zul'Aman", + "Hammered Patron" => "Blackrock Depths", + "Hex Lord Malacrass" => "Zul'Aman", + "High Botanist Freywinn" => "The Botanica", + "Homunculus" => "Karazhan", + "Hydromancer Thespia" => "The Steamvault", "Ironbark Protector" => "Dire Maul", + "Jan'alai" => "Zul'Aman", + "Kaz'rogal" => "Hyjal Summit", "Kurinnaxx" => "Ruins of Ahn'Qiraj", "Lord Kazzak" => "Blasted Lands", + "Lord Kri" => "Temple of Ahn'Qiraj", + "Lord Roccor" => "Blackrock Depths", + "Loro" => "Sunken Temple", + "Lucifron" => "Molten Core", + "Magical Horror" => "Karazhan", "Magister Kalendris" => "Dire Maul", + "Magmadar" => "Molten Core", "Maleki the Pallid" => "Stratholme", + "Mana Warp" => "Karazhan", + "Mechano-Lord Capacitus" => "The Mechanar", + "Mekgineer Steamrigger" => "The Steamvault", + "Mekgineer Thermaplugg" => "Gnomeregan", + "Mennu the Betrayer" => "The Slave Pens", + "Midnight" => "Karazhan", + "Mijan" => "Sunken Temple", "Moam" => "Ruins of Ahn'Qiraj", + "Moroes" => "Karazhan", + "Murk Worm" => "Sunken Temple", + "Murmur" => "Shadow Labyrinth", + "Nalorakk" => "Zul'Aman", + "Nethermancer Sepethrea" => "The Mechanar", + "Nethervine Inciter" => "The Botanica", + "Nexus Stalker" => "Mana-Tombs", + "Nexus-Prince Shaffar" => "Mana-Tombs", + "Nightbane" => "Karazhan", "Oblivion Mage" => "Sunwell Plateau", + "Onyxia" => "Onyxia's Lair", "Ossirian the Unscarred" => "Ruins of Ahn'Qiraj", + "Ouro" => "Temple of Ahn'Qiraj", "Painbringer" => "Sunwell Plateau", + "Pathaleon the Calculator" => "The Mechanar", + "Phantom Attendant" => "Karazhan", + "Phantom Guardsman" => "Karazhan", + "Phantom Guest" => "Karazhan", + "Phantom Stagehand" => "Karazhan", + "Phantom Valet" => "Karazhan", + "Phoenix-Hawk" => "The Eye", + "Phoenix-Hawk Hatchling" => "The Eye", + "Plugger Spazzring" => "Blackrock Depths", "Priestess Delrissa" => "Magisters' Terrace", "Priestess of Torment" => "Sunwell Plateau", + "Princess Huhuran" => "Temple of Ahn'Qiraj", + "Princess Yauj" => "Temple of Ahn'Qiraj", "Pusillin" => "Dire Maul", + "Pyromancer Loregrain" => "Blackrock Depths", + "Quartermaster Zigris" => "Blackrock Spire", + "Rabid Warhound" => "The Shattered Halls", + "Rage Talon Dragon Guard" => "Blackrock Spire", + "Rage Winterchill" => "Hyjal Summit", + "Raging Skeleton" => "Auchenai Crypts", + "Ribbly Screwspigot" => "Blackrock Depths", + "Ribbly's Crony" => "Blackrock Depths", + "Rift Keeper" => "The Black Morass", + "Rift Lord" => "The Black Morass", + "Risen Bonewarder" => "Scholomance", + "Risen Construct" => "Scholomance", + "Sable Jaguar" => "The Black Morass", + "Sandfury Blood Drinker" => "Zul'Farrak", + "Sandfury Shadowcaster" => "Zul'Farrak", + "Scarlet Adept" => "Scarlet Monastery", + "Scarlet Centurion" => "Scarlet Monastery", + "Scarlet Gallant" => "Scarlet Monastery", + "Scarlet Monk" => "Scarlet Monastery", + "Scarlet Protector" => "Scarlet Monastery", + "Scholomance Adept" => "Scholomance", + "Scholomance Necromancer" => "Scholomance", + "Serpentshrine Sporebat" => "Serpentshrine Cavern", + "Sethekk Initiate" => "Sethekk Halls", + "Sethekk Prophet" => "Sethekk Halls", + "Sethekk Ravenguard" => "Sethekk Halls", + "Shade of Aran" => "Karazhan", + "Shadow Pillager" => "Karazhan", + "Shadowforge Peasant" => "Blackrock Depths", + "Shadowmoon Reaver" => "Black Temple", "Shadowsword Assassin" => "Sunwell Plateau", "Shadowsword Guardian" => "Sunwell Plateau", "Shadowsword Vanquisher" => "Sunwell Plateau", + "Shadowy Necromancer" => "Hyjal Summit", + "Shattered Hand Centurion" => "The Shattered Halls", + "Shattered Hand Reaver" => "The Shattered Halls", + "Shazzrah" => "Molten Core", "Shrike Bat" => "Uldaman", - "Sister of Torment" => "Magisters' Terrace", + "Skeletal Usher" => "Karazhan", + "Solakar Flamewreath" => "Blackrock Spire", + "Sorcerous Shade" => "Karazhan", + "Spawn of Hakkar" => "Sunken Temple", + "Spectral Charger" => "Karazhan", + "Spectral Performer" => "Karazhan", + "Spectral Researcher" => "Scholomance", + "Spectral Servant" => "Karazhan", + "Spectral Stable Hand" => "Karazhan", + "Spectral Stallion" => "Karazhan", + "Spell Shade" => "Karazhan", + "Spirestone Warlord" => "Blackrock Spire", "Splinterbone Centurion" => "Razorfen Downs", "Stonevault Oracle" => "Uldaman", "Stonevault Pillager" => "Uldaman", - "Stormforged Giant" => "Halls of Lightning", "Sunblade Arch Mage" => "Sunwell Plateau", + "Sunblade Blood Knight" => "Magisters' Terrace", "Sunblade Cabalist" => "Sunwell Plateau", "Sunblade Dawn Priest" => "Sunwell Plateau", "Sunblade Dusk Priest" => "Sunwell Plateau", + "Sunblade Mage Guard" => "Magisters' Terrace", + "Sunblade Protector" => "Sunwell Plateau", "Sunblade Slayer" => "Sunwell Plateau", "Sunblade Vindicator" => "Sunwell Plateau", - "The Journey Has Just Begun" => "Onyxia's Lair", + "Sunseeker Astromage" => "The Mechanar", + "Sunseeker Botanist" => "The Botanica", + "Sunseeker Harvester" => "The Botanica", + "Syphoner" => "Karazhan", + "Terestian Illhoof" => "Karazhan", + "The Crone" => "Karazhan", + "The Prophet Skeram" => "Temple of Ahn'Qiraj", + "Thorngrin the Tender" => "The Botanica", "Thuzadin Shadowcaster" => "Stratholme", + "Time-Lost Shadowmage" => "Sethekk Halls", + "Twilight Darkcaster" => "Ahn'kahet: The Old Kingdom", + "Twilight Emissary" => "Blackrock Depths", + "Unchained Doombringer" => "The Arcatraz", + "Underbat" => "The Underbog", + "Unliving Atal'ai" => "Sunken Temple", + "Vashj'ir Honor Guard" => "Serpentshrine Cavern", + "Vem" => "Temple of Ahn'Qiraj", + "Viscidus" => "Temple of Ahn'Qiraj", + "Warlord Kalithresh" => "The Steamvault", + "Warp Splinter" => "The Botanica", + "Weapon Technician" => "Blackrock Depths", + "Wrath Hammer Construct" => "Blackrock Depths", + "Zul'jin" => "Zul'Aman", + "Zulian Tiger" => "Zul'Gurub", } # Manual mapping of npc/quests to their factions -- 1.7.9.5