Page 3 of 7 FirstFirst 1234567 LastLast
Results 31 to 45 of 91

Thread: Bugs Fixing

http://idgs.in/581078
  1. #31
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [C++] Sunwell Plateau Script

    Description : samalah kaya SWP, dari dulu Ulduar kan katro banyak bgt yg g jalan, skarang malah lebih parah (FE2an, g ada portal, lawan XT bisa nyante2 dulu, Razorscale g bisa diturunin, naek motor jadi invis, naek Tank langsung FE, Flame Levi g bisa di hit) dan saya sebagai transmog lover lagi2 sedih g bisa ngelengkapin Conqueror Kirintor's Setnya mage sama kaya g bisa ngelengkapin set SWP, acipmen juga g bisa dapet T_T

    Referensi : Idem, cm gtau ini scriptnya buat 10N doank apa smuanya, maklum Noob, cuma google and copas2, bukan scripter

    Code : This goes to TrinityCore / src / server / scripts / Northrend / Ulduar / Ulduar /


    Spoiler untuk boss_algalon.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "ulduar.h"
    
    #define GAMEOBJECT_GIVE_OF_THE_OBSERVER 194821
    
    enum Spells
    {
        SPELL_ASCEND                    = 64487,
        SPELL_BERSERK                   = 47008,
        SPELL_BIG_BANG                  = 64443,
        H_SPELL_BIG_BANG                = 64584,
        SPELL_COSMIC_SMASH              = 62301,
        H_SPELL_COSMIC_SMASH            = 64598,
        SPELL_PHASE_PUNCH               = 64412,
        SPELL_QUANTUM_STRIKE            = 64395,
        H_SPELL_QUANTUM_STRIKE          = 64592,
        SPELL_BLACK_HOLE_EXPLOSION      = 64122,
        SPELL_ARCANE_BARAGE             = 64599,
        H_SPELL_ARCANE_BARAGE           = 64607
    };
    
    enum Creatures
    {
        CREATURE_COLLAPSING_STAR        = 32955,
        CREATURE_BLACK_HOLE             = 32953,
        CREATURE_LIVING_CONSTELLATION   = 33052,
        CREATURE_DARK_MATTER            = 33089
    };
    
    enum Yells
    {
        SAY_AGGRO                                   = -1603000,
        SAY_SLAY_1                                  = -1603001,
        SAY_SLAY_2                                  = -1603002,
        SAY_ENGADED_FOR_FIRTS_TIME                  = -1603003,
        SAY_PHASE_2                                 = -1603004,
        SAY_SUMMON_COLLAPSING_STAR                  = -1603005,
        SAY_DEATH_1                                 = -1603006,
        SAY_DEATH_2                                 = -1603007,
        SAY_DEATH_3                                 = -1603008,
        SAY_DEATH_4                                 = -1603009,
        SAY_DEATH_5                                 = -1603010,
        SAY_BERSERK                                 = -1603011,
        SAY_BIG_BANG_1                              = -1603012,
        SAY_BIG_BANG_2                              = -1603013,
        SAY_TIMER_1                                 = -1603014,
        SAY_TIMER_2                                 = -1603015,
        SAY_TIMER_3                                 = -1603016,
        SAY_SUMMON_1                                = -1603017,
        SAY_SUMMON_2                                = -1603018,
        SAY_SUMMON_3                                = -1603019,
    };
    
    class boss_algalon : public CreatureScript
    {
    public:
        boss_algalon() : CreatureScript("boss_algalon") { }
    
        CreatureAI* GetAI(Creature* creature) const
        {
            return GetUlduarAI<boss_algalonAI>(creature);
        }
    
        struct boss_algalonAI : public ScriptedAI
        {
            boss_algalonAI(Creature* c) : ScriptedAI(c)
            {
                instance = c->GetInstanceScript();
                Summon = false; // not in reset. intro speech done only once.
            }
    
            InstanceScript* instance;
    
            std::list<uint64> m_lCollapsingStarGUIDList;
    
            uint32 Phase;
            uint32 Ascend_Timer;
            uint32 Berserk_Timer;
            uint32 BigBang_Timer;
            uint32 CosmicSmash_Timer;
            uint32 PhasePunch_Timer;
            uint32 QuantumStrike_Timer;
            uint32 CollapsingStar_Timer;
            uint32 uiPhase_timer;
            uint32 uiStep;
    
            uint64 BlackHoleGUID;
    
            bool Enrage;
            bool Summon;
    
            void EnterCombat(Unit* who)
            {
                if (Summon)
                {
                    DoScriptText(SAY_AGGRO, me);
                    me->InterruptSpell(CURRENT_CHANNELED_SPELL);
                    DoZoneInCombat(who->ToCreature());
                }
                else
                {
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
                    me->SetReactState(REACT_PASSIVE);
                    uiStep = 1;
                }
    
                if (instance)
                    instance->SetData(BOSS_ALGALON, IN_PROGRESS);
            }
    
            void KilledUnit(Unit* /*victim*/)
            {
                DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
            }
    
            void Reset()
            {
                Phase = 1;
    
                me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
                if (instance)
                    instance->SetData(BOSS_ALGALON, NOT_STARTED);
    
                BlackHoleGUID = 0;
    
                uiPhase_timer = 0;
                Ascend_Timer = 480000; //8 minutes
                QuantumStrike_Timer = urand(4000, 14000);
                Berserk_Timer = 360000; //6 minutes
                CollapsingStar_Timer = urand(15000, 20000); //Spawns between 15 to 20 seconds
                BigBang_Timer = 90000;
                PhasePunch_Timer = 8000;
                CosmicSmash_Timer = urand(30000, 60000);
                Enrage = false;
            }
    
            void JumpToNextStep(uint32 uiTimer)
            {
                uiPhase_timer = uiTimer;
                ++uiStep;
            }
    
            void DespawnCollapsingStar()
            {
                if (m_lCollapsingStarGUIDList.empty())
                    return;
    
                for (std::list<uint64>::const_iterator itr = m_lCollapsingStarGUIDList.begin(); itr != m_lCollapsingStarGUIDList.end(); ++itr)
                {
                    if (Creature* temp = Unit::GetCreature(*me, *itr))
                    {
                        if (temp->isAlive())
                            temp->DespawnOrUnsummon();
                    }
                }
                m_lCollapsingStarGUIDList.clear();
            }
    
            void JustSummoned(Creature* summoned)
            {
                if (summoned->GetEntry() == CREATURE_COLLAPSING_STAR)
                {
                    Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0);
                    if (me->getVictim())
                        summoned->AI()->AttackStart(target ? target : me->getVictim());
                    m_lCollapsingStarGUIDList.push_back(summoned->GetGUID());
                }
            }
    
            void SummonCollapsingStar(Unit* target)
            {
                DoScriptText(SAY_SUMMON_COLLAPSING_STAR, me);
                me->SummonCreature(CREATURE_COLLAPSING_STAR, target->GetPositionX()+15.0f, target->GetPositionY()+15.0f, target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 100000);
                me->SummonCreature(CREATURE_BLACK_HOLE, target->GetPositionX()+15.0f, target->GetPositionY()+15.0f, target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 27000);
            }
    
            void UpdateAI(const uint32 diff)
            {
                //Return since we have no target
                if (!UpdateVictim())
                    return;
    
                if (Phase == 1 && HealthBelowPct(20))
                {
                    Phase = 2;
                    DoScriptText(SAY_PHASE_2, me);
                }
    
                if (HealthBelowPct(2))
                {
                    me->SummonGameObject(GAMEOBJECT_GIVE_OF_THE_OBSERVER, 1634.258667f, -295.101166f, 417.321381f, 0, 0, 0, 0, 0, 0);
    
                    // All of them. or random?
                    DoScriptText(SAY_DEATH_1, me);
                    DoScriptText(SAY_DEATH_2, me);
                    DoScriptText(SAY_DEATH_3, me);
                    DoScriptText(SAY_DEATH_4, me);
                    DoScriptText(SAY_DEATH_5, me);
    
                    me->DisappearAndDie();
    
                    if (instance)
                        instance->SetData(BOSS_ALGALON, DONE);
    
                    return;
                }
    
                if (Phase == 1)
                {
                    if (!Summon)
                    {
                        if (uiPhase_timer <= diff)
                        {
                            switch (uiStep)
                            {
                                case 1:
                                    DoScriptText(SAY_SUMMON_1, me);
                                    JumpToNextStep(3000);
                                    break;
                                case 2:
                                    DoScriptText(SAY_SUMMON_2, me);
                                    JumpToNextStep(3000);
                                    break;
                                case 3:
                                    DoScriptText(SAY_SUMMON_3, me);
                                    JumpToNextStep(3000);
                                    break;
                                case 4:
                                    DoScriptText(SAY_ENGADED_FOR_FIRTS_TIME, me);
                                    JumpToNextStep(3000);
                                    break;
                                case 5:
                                    me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
                                    me->SetReactState(REACT_AGGRESSIVE);
                                    Summon = true;
                                    break;
                            }
                        } else uiPhase_timer -= diff;
    
                        return;
                    }
    
                    if (QuantumStrike_Timer <= diff)
                    {
                        DoCast(me->getVictim(), RAID_MODE(SPELL_QUANTUM_STRIKE, H_SPELL_QUANTUM_STRIKE), true);
    
                        QuantumStrike_Timer = urand(4000, 14000);
                    } else QuantumStrike_Timer -= diff;
    
                    if (BigBang_Timer <= diff)
                    {
                        DoScriptText(RAND(SAY_BIG_BANG_1, SAY_BIG_BANG_2), me);
                        DoCast(me->getVictim(), RAID_MODE(SPELL_BIG_BANG, H_SPELL_BIG_BANG), true);
    
                        BigBang_Timer = 90000;
                    } else BigBang_Timer -= diff;
    
                    if (Ascend_Timer <= diff)
                    {
                        DoCast(me->getVictim(), SPELL_ASCEND, true);
    
                        Ascend_Timer = 480000;
                    } else Ascend_Timer -= diff;
    
                    if (PhasePunch_Timer <= diff)
                    {
                        DoCast(me->getVictim(), SPELL_PHASE_PUNCH, true);
    
                        PhasePunch_Timer = 8000;
                    } else PhasePunch_Timer -= diff;
    
                    if (CosmicSmash_Timer <= diff)
                    {
                        DoCast(SelectTarget(SELECT_TARGET_RANDOM, 0), RAID_MODE(SPELL_COSMIC_SMASH, H_SPELL_COSMIC_SMASH), true);
    
                        CosmicSmash_Timer = urand(30000, 60000);
                    } else CosmicSmash_Timer -= diff;
    
                    if (Berserk_Timer <= diff)
                    {
                        DoScriptText(SAY_BERSERK, me);
                        DoCast(me->getVictim(), SPELL_BERSERK, true);
    
                        Berserk_Timer = 360000;
                    } else Berserk_Timer -= diff;
    
                    DoMeleeAttackIfReady();
    
                    EnterEvadeIfOutOfCombatArea(diff);
                }
    
                if (Phase == 2)
                {
                    if (Enrage)
                    {
                        if (Ascend_Timer <= diff)
                        {
                            DoCast(me, SPELL_ASCEND);
                            DoScriptText(SAY_BERSERK, me);
                            Ascend_Timer = urand(360000, 365000);
                            Enrage = false;
                        } else Ascend_Timer -= diff;
                    }
                }
    
                DoMeleeAttackIfReady();
            }
        };
    
    };
    
    //Collapsing Star
    class mob_collapsing_star : public CreatureScript
    {
    public:
        mob_collapsing_star() : CreatureScript("mob_collapsing_star") { }
    
        CreatureAI* GetAI(Creature* creature) const
        {
            return new mob_collapsing_starAI(creature);
        }
    
        struct mob_collapsing_starAI : public ScriptedAI
        {
            mob_collapsing_starAI(Creature* creature) : ScriptedAI(creature)
            {
                instance = creature->GetInstanceScript();
            }
    
            InstanceScript* instance;
    
            uint32 BlackHoleExplosion_Timer;
    
            void Reset()
            {
                BlackHoleExplosion_Timer = 0;
            }
    
            void UpdateAI(const uint32 diff)
            {
                if (!UpdateVictim())
                    return;
    
                if (BlackHoleExplosion_Timer <= diff)
                {
                    me->CastSpell(me, SPELL_BLACK_HOLE_EXPLOSION, false);
                    BlackHoleExplosion_Timer = 0;
                } else BlackHoleExplosion_Timer -= diff;
            }
        };
    
    };
    
    void AddSC_boss_Algalon()
    {
        new boss_algalon();
        new mob_collapsing_star();
    }


    Spoiler untuk boss_assembly_of_iron.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    /* ScriptData
    SDName: Assembly of Iron encounter
    SD%Complete: 60%
    SDComment: Runes need DB support, chain lightning won't cast, supercharge won't cast (target error?) - it worked before during debugging.
    SDCategory: Ulduar - Ulduar
    EndScriptData */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "SpellScript.h"
    #include "SpellAuraEffects.h"
    #include "ulduar.h"
    
    enum AssemblySpells
    {
        // General
        SPELL_SUPERCHARGE                            = 61920,
        SPELL_BERSERK                                = 47008, // Hard enrage, don't know the correct ID.
    
        // Steelbreaker
        SPELL_HIGH_VOLTAGE                           = 61890,
        SPELL_FUSION_PUNCH                           = 61903,
        SPELL_STATIC_DISRUPTION                      = 44008,
        SPELL_OVERWHELMING_POWER                     = 64637,
        SPELL_ELECTRICAL_CHARGE                      = 61902,
    
        // Runemaster Molgeim
        SPELL_SHIELD_OF_RUNES                        = 62274,
        SPELL_SHIELD_OF_RUNES_BUFF                   = 62277,
        SPELL_SUMMON_RUNE_OF_POWER                   = 63513,
        SPELL_RUNE_OF_POWER                          = 61974,
        SPELL_RUNE_OF_DEATH                          = 62269,
        SPELL_RUNE_OF_SUMMONING                      = 62273, // This is the spell that summons the rune
        SPELL_RUNE_OF_SUMMONING_VIS                  = 62019, // Visual
        SPELL_RUNE_OF_SUMMONING_SUMMON               = 62020, // Spell that summons
        SPELL_LIGHTNING_ELEMENTAL_PASSIVE            = 62052,
    
        // Stormcaller Brundir
        SPELL_CHAIN_LIGHTNING                        = 61879,
        SPELL_OVERLOAD                               = 61869,
        SPELL_LIGHTNING_WHIRL                        = 61915,
        SPELL_LIGHTNING_TENDRILS_10M                 = 61887,
        SPELL_LIGHTNING_TENDRILS_25M                 = 63486,
        SPELL_LIGHTNING_TENDRILS_VISUAL              = 61883,
        SPELL_STORMSHIELD                            = 64187,
    };
    
    enum AssemblyEvents
    {
        // General
        EVENT_BERSERK                                = 1,
    
        // Steelbreaker
        EVENT_FUSION_PUNCH                           = 2,
        EVENT_STATIC_DISRUPTION                      = 3,
        EVENT_OVERWHELMING_POWER                     = 4,
    
        // Molgeim
        EVENT_RUNE_OF_POWER                          = 5,
        EVENT_SHIELD_OF_RUNES                        = 6,
        EVENT_RUNE_OF_DEATH                          = 7,
        EVENT_RUNE_OF_SUMMONING                      = 8,
        EVENT_LIGHTNING_BLAST                        = 9,
    
        // Brundir
        EVENT_CHAIN_LIGHTNING                        = 10,
        EVENT_OVERLOAD                               = 11,
        EVENT_LIGHTNING_WHIRL                        = 12,
        EVENT_LIGHTNING_TENDRILS                     = 13,
        EVENT_FLIGHT                                 = 14,
        EVENT_ENDFLIGHT                              = 15,
        EVENT_GROUND                                 = 16,
        EVENT_LAND                                   = 17,
        EVENT_MOVE_POSITION                          = 18,
    };
    
    enum AssemblyActions
    {
        ACTION_STEELBREAKER                          = 0,
        ACTION_MOLGEIM                               = 1,
        ACTION_BRUNDIR                               = 2,
        ACTION_ADD_CHARGE                            = 3,
    };
    
    enum AssemblyYells
    {
        SAY_STEELBREAKER_AGGRO                      = -1603020,
        SAY_STEELBREAKER_SLAY_1                     = -1603021,
        SAY_STEELBREAKER_SLAY_2                     = -1603022,
        SAY_STEELBREAKER_POWER                      = -1603023,
        SAY_STEELBREAKER_DEATH_1                    = -1603024,
        SAY_STEELBREAKER_DEATH_2                    = -1603025,
        SAY_STEELBREAKER_BERSERK                    = -1603026,
    
        SAY_MOLGEIM_AGGRO                           = -1603030,
        SAY_MOLGEIM_SLAY_1                          = -1603031,
        SAY_MOLGEIM_SLAY_2                          = -1603032,
        SAY_MOLGEIM_RUNE_DEATH                      = -1603033,
        SAY_MOLGEIM_SUMMON                          = -1603034,
        SAY_MOLGEIM_DEATH_1                         = -1603035,
        SAY_MOLGEIM_DEATH_2                         = -1603036,
        SAY_MOLGEIM_BERSERK                         = -1603037,
    
        SAY_BRUNDIR_AGGRO                           = -1603040,
        SAY_BRUNDIR_SLAY_1                          = -1603041,
        SAY_BRUNDIR_SLAY_2                          = -1603042,
        SAY_BRUNDIR_SPECIAL                         = -1603043,
        SAY_BRUNDIR_FLIGHT                          = -1603044,
        SAY_BRUNDIR_DEATH_1                         = -1603045,
        SAY_BRUNDIR_DEATH_2                         = -1603046,
        SAY_BRUNDIR_BERSERK                         = -1603047,
    };
    
    enum AssemblyNPCs
    {
        NPC_WORLD_TRIGGER                            = 22515,
    };
    
    #define EMOTE_OVERLOAD                           "Stormcaller Brundir begins to Overload!" // Move it to DB
    #define FLOOR_Z                                  427.28f
    #define FINAL_FLIGHT_Z                           435.0f
    
    bool IsEncounterComplete(InstanceScript* instance, Creature* me)
    {
        if (!instance || !me)
            return false;
    
        for (uint8 i = 0; i < 3; ++i)
        {
            uint64 guid = instance->GetData64(BOSS_STEELBREAKER + i);
            if (!guid)
                return false;
    
            if (Creature* boss = ObjectAccessor::GetCreature(*me, guid))
            {
                if (boss->isAlive())
                    return false;
            }
            else
                return false;
        }
    
        return true;
    }
    
    void RespawnEncounter(InstanceScript* instance, Creature* me)
    {
        for (uint8 i = 0; i < 3; ++i)
        {
            uint64 guid = instance->GetData64(BOSS_STEELBREAKER + i);
            if (!guid)
                continue;
    
            if (Creature* boss = ObjectAccessor::GetCreature(*me, guid))
            {
                if (!boss->isAlive())
                {
                    boss->Respawn();
                    boss->GetMotionMaster()->MoveTargetedHome();
                }
            }
        }
    }
    
    void StartEncounter(InstanceScript* instance, Creature* me, Unit* /*target*/)
    {
        if (instance->GetBossState(BOSS_ASSEMBLY_OF_IRON) == IN_PROGRESS)
            return; // Prevent recursive calls
    
        instance->SetBossState(BOSS_ASSEMBLY_OF_IRON, IN_PROGRESS);
    
        for (uint8 i = 0; i < 3; ++i)
        {
            uint64 guid = instance->GetData64(BOSS_STEELBREAKER + i);
            if (!guid)
                continue;
    
            if (Creature* boss = ObjectAccessor::GetCreature(*me, guid))
                boss->SetInCombatWithZone();
        }
    }
    
    class boss_steelbreaker : public CreatureScript
    {
        public:
            boss_steelbreaker() : CreatureScript("boss_steelbreaker") { }
    
            struct boss_steelbreakerAI : public BossAI
            {
                boss_steelbreakerAI(Creature* creature) : BossAI(creature, BOSS_ASSEMBLY_OF_IRON)
                {
                    instance = me->GetInstanceScript();
                }
    
                InstanceScript* instance;
                uint32 phase;
    
                void Reset()
                {
                    _Reset();
                    phase = 0;
                    me->RemoveAllAuras();
                    RespawnEncounter(instance, me);
                }
    
                void EnterCombat(Unit* who)
                {
                    StartEncounter(instance, me, who);
                    DoScriptText(SAY_STEELBREAKER_AGGRO, me);
                    DoZoneInCombat();
                    DoCast(me, SPELL_HIGH_VOLTAGE);
                    events.SetPhase(++phase);
                    events.ScheduleEvent(EVENT_BERSERK, 900000);
                    events.ScheduleEvent(EVENT_FUSION_PUNCH, 15000);
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_STEELBREAKER:
                            me->SetHealth(me->GetMaxHealth());
                            me->AddAura(SPELL_SUPERCHARGE, me);
                            events.SetPhase(++phase);
                            events.RescheduleEvent(EVENT_FUSION_PUNCH, 15000);
                            if (phase >= 2)
                                events.RescheduleEvent(EVENT_STATIC_DISRUPTION, 30000);
                            if (phase >= 3)
                                events.RescheduleEvent(EVENT_OVERWHELMING_POWER, urand(2000, 5000));
                            break;
                        case ACTION_ADD_CHARGE:
                            DoCast(me, SPELL_ELECTRICAL_CHARGE, true);
                            break;
                    }
                }
    
                void JustDied(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_STEELBREAKER_DEATH_1, SAY_STEELBREAKER_DEATH_2), me);
                    if (IsEncounterComplete(instance, me))
                        instance->SetData(BOSS_ASSEMBLY_OF_IRON, DONE);
                    else
                        me->SetLootRecipient(NULL);
    
                    if (Creature* Brundir = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_BRUNDIR)))
                        if (Brundir->isAlive())
                            Brundir->AI()->DoAction(ACTION_BRUNDIR);
    
                    if (Creature* Molgeim = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_MOLGEIM)))
                        if (Molgeim->isAlive())
                            Molgeim->AI()->DoAction(ACTION_MOLGEIM);
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_STEELBREAKER_SLAY_1, SAY_STEELBREAKER_SLAY_2), me);
    
                    if (phase == 3)
                        DoCast(me, SPELL_ELECTRICAL_CHARGE);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_BERSERK:
                                DoScriptText(SAY_STEELBREAKER_BERSERK, me);
                                DoCast(SPELL_BERSERK);
                                events.CancelEvent(EVENT_BERSERK);
                                break;
                            case EVENT_FUSION_PUNCH:
                                if (me->IsWithinMeleeRange(me->getVictim()))
                                    DoCastVictim(SPELL_FUSION_PUNCH);
                                events.ScheduleEvent(EVENT_FUSION_PUNCH, urand(13000, 22000));
                                break;
                            case EVENT_STATIC_DISRUPTION:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
                                    DoCast(target, SPELL_STATIC_DISRUPTION);
                                events.ScheduleEvent(EVENT_STATIC_DISRUPTION, urand(20000, 40000));
                                break;
                            case EVENT_OVERWHELMING_POWER:
                                DoScriptText(SAY_STEELBREAKER_POWER, me);
                                DoCastVictim(SPELL_OVERWHELMING_POWER);
                                events.ScheduleEvent(EVENT_OVERWHELMING_POWER, RAID_MODE(60000, 35000));
                                break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_steelbreakerAI>(creature);
            }
    };
    
    class boss_runemaster_molgeim : public CreatureScript
    {
        public:
            boss_runemaster_molgeim() : CreatureScript("boss_runemaster_molgeim") { }
    
            struct boss_runemaster_molgeimAI : public BossAI
            {
                boss_runemaster_molgeimAI(Creature* creature) : BossAI(creature, BOSS_ASSEMBLY_OF_IRON)
                {
                    instance = me->GetInstanceScript();
                }
    
                InstanceScript* instance;
                uint32 phase;
    
                void Reset()
                {
                    _Reset();
                    phase = 0;
                    me->RemoveAllAuras();
                    RespawnEncounter(instance, me);
                }
    
                void EnterCombat(Unit* who)
                {
                    StartEncounter(instance, me, who);
                    DoScriptText(SAY_MOLGEIM_AGGRO, me);
                    DoZoneInCombat();
                    events.SetPhase(++phase);
                    events.ScheduleEvent(EVENT_BERSERK, 900000);
                    events.ScheduleEvent(EVENT_SHIELD_OF_RUNES, 30000);
                    events.ScheduleEvent(EVENT_RUNE_OF_POWER, 20000);
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_MOLGEIM:
                            me->SetHealth(me->GetMaxHealth());
                            me->AddAura(SPELL_SUPERCHARGE, me);
                            events.SetPhase(++phase);
                            events.RescheduleEvent(EVENT_SHIELD_OF_RUNES, 27000);
                            events.RescheduleEvent(EVENT_RUNE_OF_POWER, 25000);
                            if (phase >= 2)
                                events.RescheduleEvent(EVENT_RUNE_OF_DEATH, 30000);
                            if (phase >= 3)
                                events.RescheduleEvent(EVENT_RUNE_OF_SUMMONING, urand(20000, 30000));
                        break;
                    }
                }
    
                void JustDied(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_MOLGEIM_DEATH_1, SAY_MOLGEIM_DEATH_2), me);
                    if (IsEncounterComplete(instance, me))
                        instance->SetData(BOSS_ASSEMBLY_OF_IRON, DONE);
                    else
                        me->SetLootRecipient(NULL);
    
                    if (Creature* Brundir = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_BRUNDIR)))
                        if (Brundir->isAlive())
                            Brundir->AI()->DoAction(ACTION_BRUNDIR);
    
                    if (Creature* Steelbreaker = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_STEELBREAKER)))
                        if (Steelbreaker->isAlive())
                            Steelbreaker->AI()->DoAction(ACTION_STEELBREAKER);
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_MOLGEIM_SLAY_1, SAY_MOLGEIM_SLAY_2), me);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_BERSERK:
                                DoScriptText(SAY_MOLGEIM_BERSERK, me);
                                DoCast(SPELL_BERSERK);
                                events.CancelEvent(EVENT_BERSERK);
                                break;
                            case EVENT_RUNE_OF_POWER:
                            {
                                Unit* target = NULL;
                                switch (urand(0, 2))
                                {
                                    case 0:
                                        target = me;
                                        break;
                                    case 1:
                                        if (Creature* Steelbreaker = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_STEELBREAKER)))
                                            if (Steelbreaker->isAlive())
                                                target = Steelbreaker;
                                        break;
                                    case 2:
                                        if (Creature* Brundir = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_STEELBREAKER)))
                                            if (Brundir->isAlive())
                                                target = Brundir;
                                        break;
                                }
                                DoCast(target, SPELL_SUMMON_RUNE_OF_POWER);
                                events.ScheduleEvent(EVENT_RUNE_OF_POWER, 60000);
                                break;
                            }
                            case EVENT_SHIELD_OF_RUNES:
                                DoCast(me, SPELL_SHIELD_OF_RUNES);
                                events.ScheduleEvent(EVENT_SHIELD_OF_RUNES, urand(27000, 34000));
                                break;
                            case EVENT_RUNE_OF_DEATH:
                                DoScriptText(SAY_MOLGEIM_RUNE_DEATH, me);
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
                                    DoCast(target, SPELL_RUNE_OF_DEATH);
                                events.ScheduleEvent(EVENT_RUNE_OF_DEATH, urand(30000, 40000));
                                break;
                            case EVENT_RUNE_OF_SUMMONING:
                                DoScriptText(SAY_MOLGEIM_SUMMON, me);
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
                                    DoCast(target, SPELL_RUNE_OF_SUMMONING);
                                events.ScheduleEvent(EVENT_RUNE_OF_SUMMONING, urand(30000, 45000));
                                break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_runemaster_molgeimAI>(creature);
            }
    };
    
    class mob_rune_of_power : public CreatureScript
    {
        public:
            mob_rune_of_power() : CreatureScript("mob_rune_of_power") { }
    
            struct mob_rune_of_powerAI : public ScriptedAI
            {
                mob_rune_of_powerAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
                    me->setFaction(16); // Same faction as bosses
                    DoCast(SPELL_RUNE_OF_POWER);
    
                    me->DespawnOrUnsummon(60000);
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new mob_rune_of_powerAI(creature);
            }
    };
    
    class mob_lightning_elemental : public CreatureScript
    {
        public:
            mob_lightning_elemental() : CreatureScript("mob_lightning_elemental") { }
    
            struct mob_lightning_elementalAI : public ScriptedAI
            {
                mob_lightning_elementalAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->SetInCombatWithZone();
                    me->AddAura(SPELL_LIGHTNING_ELEMENTAL_PASSIVE, me);
                }
    
                // Nothing to do here, just let the creature chase players and procflags == 2 on the applied aura will trigger explosion
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new mob_lightning_elementalAI(creature);
            }
    };
    
    class mob_rune_of_summoning : public CreatureScript
    {
        public:
            mob_rune_of_summoning() : CreatureScript("mob_rune_of_summoning") { }
    
            struct mob_rune_of_summoningAI : public ScriptedAI
            {
                mob_rune_of_summoningAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->AddAura(SPELL_RUNE_OF_SUMMONING_VIS, me);
                    summonCount = 0;
                    summonTimer = 2000;
                }
    
                uint32 summonCount;
                uint32 summonTimer;
    
                void UpdateAI(uint32 const diff)
                {
                    if (summonTimer <= diff)
                        SummonLightningElemental();
                    else
                        summonTimer -= diff;
                }
    
                void SummonLightningElemental()
                {
                    me->CastSpell(me, SPELL_RUNE_OF_SUMMONING_SUMMON, false);
                    if (++summonCount == 10)                        // TODO: Find out if this amount is right
                        me->DespawnOrUnsummon();
                    else
                        summonTimer = 2000;                         // TODO: Find out of timer is right
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new mob_rune_of_summoningAI(creature);
            }
    };
    
    class boss_stormcaller_brundir : public CreatureScript
    {
        public:
            boss_stormcaller_brundir() : CreatureScript("boss_stormcaller_brundir") { }
    
            struct boss_stormcaller_brundirAI : public BossAI
            {
                boss_stormcaller_brundirAI(Creature* creature) : BossAI(creature, BOSS_ASSEMBLY_OF_IRON)
                {
                    instance = me->GetInstanceScript();
                }
    
                InstanceScript* instance;
                uint32 phase;
    
                void Reset()
                {
                    _Reset();
                    phase = 0;
                    me->RemoveAllAuras();
                    me->SetLevitate(false);
                    me->ApplySpellImmune(0, IMMUNITY_MECHANIC, MECHANIC_INTERRUPT, false);  // Should be interruptable unless overridden by spell (Overload)
                    me->ApplySpellImmune(0, IMMUNITY_MECHANIC, MECHANIC_STUN, false);   // Reset immumity, Brundir should be stunnable by default
                    RespawnEncounter(instance, me);
                }
    
                void EnterCombat(Unit* who)
                {
                    StartEncounter(instance, me, who);
                    DoScriptText(SAY_BRUNDIR_AGGRO, me);
                    DoZoneInCombat();
                    events.SetPhase(++phase);
                    events.ScheduleEvent(EVENT_MOVE_POSITION, 1000);
                    events.ScheduleEvent(EVENT_BERSERK, 900000);
                    events.ScheduleEvent(EVENT_CHAIN_LIGHTNING, 4000);
                    events.ScheduleEvent(EVENT_OVERLOAD, urand(60000, 120000));
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_BRUNDIR:
                            me->SetHealth(me->GetMaxHealth());
                            me->AddAura(SPELL_SUPERCHARGE, me);
                            events.SetPhase(++phase);
                            events.RescheduleEvent(EVENT_CHAIN_LIGHTNING, urand(7000, 12000));
                            events.RescheduleEvent(EVENT_OVERLOAD, urand(40000, 50000));
                            if (phase >= 2)
                                events.RescheduleEvent(EVENT_LIGHTNING_WHIRL, urand(15000, 250000));
                            if (phase >= 3)
                            {
                                DoCast(me, SPELL_STORMSHIELD);
                                events.RescheduleEvent(EVENT_LIGHTNING_TENDRILS, urand(50000, 60000));
                                me->ApplySpellImmune(0, IMMUNITY_MECHANIC, MECHANIC_STUN, true);    // Apply immumity to stuns
                            }
                        break;
    
                    }
                }
    
                void JustDied(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_BRUNDIR_DEATH_1, SAY_BRUNDIR_DEATH_2), me);
                    if (IsEncounterComplete(instance, me))
                        instance->SetData(BOSS_ASSEMBLY_OF_IRON, DONE);
                    else
                        me->SetLootRecipient(NULL);
    
                if (Creature* Molgeim = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_MOLGEIM)))
                    if (Molgeim->isAlive())
                        Molgeim->AI()->DoAction(ACTION_MOLGEIM);
    
                if (Creature* Steelbreaker = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_STEELBREAKER)))
                    if (Steelbreaker->isAlive())
                        Steelbreaker->AI()->DoAction(ACTION_STEELBREAKER);
    
                    // Prevent to have Brundir somewhere in the air when he die in Air phase
                    if (me->GetPositionZ() > FLOOR_Z)
                        me->GetMotionMaster()->MoveFall();
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_BRUNDIR_SLAY_1, SAY_BRUNDIR_SLAY_2), me);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_BERSERK:
                                DoScriptText(SAY_BRUNDIR_BERSERK, me);
                                DoCast(SPELL_BERSERK);
                                events.CancelEvent(EVENT_BERSERK);
                                break;
                            case EVENT_CHAIN_LIGHTNING:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
                                    DoCast(target, SPELL_CHAIN_LIGHTNING);
                                events.ScheduleEvent(EVENT_CHAIN_LIGHTNING, urand(7000, 10000));
                                break;
                            case EVENT_OVERLOAD:
                                me->MonsterTextEmote(EMOTE_OVERLOAD, 0, true);
                                DoScriptText(SAY_BRUNDIR_SPECIAL, me);
                                DoCast(SPELL_OVERLOAD);
                                events.ScheduleEvent(EVENT_OVERLOAD, urand(60000, 120000));
                                break;
                            case EVENT_LIGHTNING_WHIRL:
                                DoCast(SPELL_LIGHTNING_WHIRL);
                                events.ScheduleEvent(EVENT_LIGHTNING_WHIRL, urand(15000, 20000));
                                break;
                            case EVENT_LIGHTNING_TENDRILS:
                                DoScriptText(SAY_BRUNDIR_FLIGHT, me);
                                DoCast(RAID_MODE(SPELL_LIGHTNING_TENDRILS_10M, SPELL_LIGHTNING_TENDRILS_25M));
                                DoCast(SPELL_LIGHTNING_TENDRILS_VISUAL);
                                me->AttackStop();
                                //me->SetLevitate(true);
                                me->GetMotionMaster()->Initialize();
                                me->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), FINAL_FLIGHT_Z);
                                events.DelayEvents(35000);
                                events.ScheduleEvent(EVENT_FLIGHT, 2500);
                                events.ScheduleEvent(EVENT_ENDFLIGHT, 32500);
                                events.ScheduleEvent(EVENT_LIGHTNING_TENDRILS, 90000);
                                break;
                            case EVENT_FLIGHT:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
                                    me->GetMotionMaster()->MovePoint(0, target->GetPositionX(), target->GetPositionY(), FINAL_FLIGHT_Z);
                                events.ScheduleEvent(EVENT_FLIGHT, 6000);
                                break;
                            case EVENT_ENDFLIGHT:
                                me->GetMotionMaster()->Initialize();
                                me->GetMotionMaster()->MovePoint(0, 1586.920166f, 119.848984f, FINAL_FLIGHT_Z);
                                events.CancelEvent(EVENT_FLIGHT);
                                events.CancelEvent(EVENT_ENDFLIGHT);
                                events.ScheduleEvent(EVENT_LAND, 4000);
                                break;
                            case EVENT_LAND:
                                me->GetMotionMaster()->Initialize();
                                me->GetMotionMaster()->MovePoint(0, me->GetPositionX(), me->GetPositionY(), FLOOR_Z);
                                events.CancelEvent(EVENT_LAND);
                                events.ScheduleEvent(EVENT_GROUND, 2500);
                                break;
                            case EVENT_GROUND:
                                //me->SetLevitate(false);
                                me->RemoveAurasDueToSpell(RAID_MODE(SPELL_LIGHTNING_TENDRILS_10M, SPELL_LIGHTNING_TENDRILS_25M));
                                me->RemoveAurasDueToSpell(SPELL_LIGHTNING_TENDRILS_VISUAL);
                                DoStartMovement(me->getVictim());
                                events.CancelEvent(EVENT_GROUND);
                                me->getThreatManager().resetAllAggro();
                                break;
                            case EVENT_MOVE_POSITION:
                                if (me->IsWithinMeleeRange(me->getVictim()))
                                {
                                    float x = float(irand(-25, 25));
                                    float y = float(irand(-25, 25));
                                    me->GetMotionMaster()->MovePoint(0, me->GetPositionX() + x, me->GetPositionY() + y, FLOOR_Z);
                                    // Prevention to go outside the room or into the walls
                                    if (Creature* trigger = me->FindNearestCreature(NPC_WORLD_TRIGGER, 100.0f, true))
                                        if (me->GetDistance(trigger) >= 50.0f)
                                            me->GetMotionMaster()->MovePoint(0, trigger->GetPositionX(), trigger->GetPositionY(), FLOOR_Z);
                                }
                                events.ScheduleEvent(EVENT_MOVE_POSITION, urand(7500, 10000));
                                break;
                            default:
                                break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_stormcaller_brundirAI>(creature);
            }
    };
    
    class spell_shield_of_runes : public SpellScriptLoader
    {
        public:
            spell_shield_of_runes() : SpellScriptLoader("spell_shield_of_runes") { }
    
            class spell_shield_of_runes_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_shield_of_runes_AuraScript);
    
                void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
                {
                    if (Unit* caster = GetCaster())
                        if (GetTargetApplication()->GetRemoveMode() != AURA_REMOVE_BY_EXPIRE)
                            caster->CastSpell(caster, SPELL_SHIELD_OF_RUNES_BUFF, false);
                }
    
                void Register()
                {
                     AfterEffectRemove += AuraEffectRemoveFn(spell_shield_of_runes_AuraScript::OnRemove, EFFECT_0, SPELL_AURA_SCHOOL_ABSORB, AURA_EFFECT_HANDLE_REAL);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_shield_of_runes_AuraScript();
            }
    };
    
    class spell_assembly_meltdown : public SpellScriptLoader
    {
        public:
            spell_assembly_meltdown() : SpellScriptLoader("spell_assembly_meltdown") { }
    
            class spell_assembly_meltdown_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_assembly_meltdown_SpellScript);
    
                void HandleInstaKill(SpellEffIndex /*effIndex*/)
                {
                    if (InstanceScript* instance = GetCaster()->GetInstanceScript())
                        if (Creature* Steelbreaker = ObjectAccessor::GetCreature(*GetCaster(), instance->GetData64(BOSS_STEELBREAKER)))
                            Steelbreaker->AI()->DoAction(ACTION_ADD_CHARGE);
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_assembly_meltdown_SpellScript::HandleInstaKill, EFFECT_1, SPELL_EFFECT_INSTAKILL);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_assembly_meltdown_SpellScript();
            }
    };
    
    void AddSC_boss_assembly_of_iron()
    {
        new boss_steelbreaker();
        new boss_runemaster_molgeim();
        new boss_stormcaller_brundir();
        new mob_lightning_elemental();
        new mob_rune_of_summoning();
        new mob_rune_of_power();
        new spell_shield_of_runes();
        new spell_assembly_meltdown();
    }


    Spoiler untuk boss_auriaya.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "SpellScript.h"
    #include "ulduar.h"
    
    enum AuriayaSpells
    {
        // Auriaya
        SPELL_SENTINEL_BLAST                         = 64389,
        SPELL_SONIC_SCREECH                          = 64422,
        SPELL_TERRIFYING_SCREECH                     = 64386,
        SPELL_SUMMON_SWARMING_GUARDIAN               = 64396,
        SPELL_ACTIVATE_DEFENDER                      = 64449,
        SPELL_DEFENDER_TRIGGER                       = 64448,
        SPELL_SUMMON_DEFENDER                        = 64447,
        SPELL_BERSERK                                = 47008,
    
        // Feral Defender
        SPELL_FERAL_RUSH                             = 64496,
        SPELL_FERAL_POUNCE                           = 64478,
        SPELL_SEEPING_ESSENCE                        = 64458,
        SPELL_SUMMON_ESSENCE                         = 64457,
        SPELL_FERAL_ESSENCE                          = 64455,
    
        // Sanctum Sentry
        SPELL_SAVAGE_POUNCE                          = 64666,
        SPELL_RIP_FLESH                              = 64375,
        SPELL_STRENGHT_PACK                          = 64369,
    };
    
    enum AuriayaNPCs
    {
        NPC_SANCTUM_SENTRY                           = 34014,
        NPC_FERAL_DEFENDER                           = 34035,
        NPC_FERAL_DEFENDER_TRIGGER                   = 34096,
        NPC_SEEPING_TRIGGER                          = 34098,
    };
    
    enum AuriayaEvents
    {
        // Auriaya
        EVENT_SCREECH                                = 1,
        EVENT_BLAST                                  = 2,
        EVENT_TERRIFYING                             = 3,
        EVENT_SUMMON                                 = 4,
        EVENT_DEFENDER                               = 5,
        EVENT_ACTIVATE_DEFENDER                      = 6,
        EVENT_RESPAWN_DEFENDER                       = 7,
        EVENT_BERSERK                                = 8,
    
        // Sanctum Sentry
        EVENT_RIP                                    = 9,
        EVENT_POUNCE                                 = 10,
    
        // Feral Defender
        EVENT_FERAL_POUNCE                           = 11,
        EVENT_RUSH                                   = 12,
    };
    
    enum AuriayaYells
    {
        // Yells
        SAY_AGGRO                                    = -1603050,
        SAY_SLAY_1                                   = -1603051,
        SAY_SLAY_2                                   = -1603052,
        SAY_DEATH                                    = -1603053,
        SAY_BERSERK                                  = -1603054,
    
        // Emotes
        EMOTE_FEAR                                   = -1603055,
        EMOTE_DEFENDER                               = -1603056,
    };
    
    enum AuriayaActions
    {
        ACTION_CRAZY_CAT_LADY                        = 0,
        ACTION_RESPAWN_DEFENDER
    };
    
    #define SENTRY_NUMBER                            RAID_MODE<uint8>(2, 4)
    #define DATA_NINE_LIVES                          30763077
    #define DATA_CRAZY_CAT_LADY                      30063007
    
    class boss_auriaya : public CreatureScript
    {
        public:
            boss_auriaya() : CreatureScript("boss_auriaya") { }
    
            struct boss_auriayaAI : public BossAI
            {
                boss_auriayaAI(Creature* creature) : BossAI(creature, BOSS_AURIAYA)
                {
                }
    
                void Reset()
                {
                    _Reset();
                    DefenderGUID = 0;
                    defenderLives = 8;
                    crazyCatLady = true;
                    nineLives = false;
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    _EnterCombat();
                    DoScriptText(SAY_AGGRO, me);
    
                    events.ScheduleEvent(EVENT_SCREECH, urand(45000, 65000));
                    events.ScheduleEvent(EVENT_BLAST, urand(20000, 25000));
                    events.ScheduleEvent(EVENT_TERRIFYING, urand(20000, 30000));
                    events.ScheduleEvent(EVENT_DEFENDER, urand(40000, 55000));
                    events.ScheduleEvent(EVENT_SUMMON, urand(45000, 55000));
                    events.ScheduleEvent(EVENT_BERSERK, 600000);
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
                }
    
                void JustSummoned(Creature* summoned)
                {
                    summons.Summon(summoned);
    
                    if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true))
                    {
                        summoned->AI()->AttackStart(target);
                        summoned->AddThreat(target, 250.0f);
                        DoZoneInCombat(summoned);
                    }
    
                    if (summoned->GetEntry() == NPC_FERAL_DEFENDER)
                    {
                        if (!summoned->isInCombat() && me->getVictim())
                            summoned->AI()->AttackStart(me->getVictim());
                        summoned->SetAuraStack(SPELL_FERAL_ESSENCE, summoned, 9);
                        DefenderGUID = summoned->GetGUID();
                        DoZoneInCombat(summoned);
                    }
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_CRAZY_CAT_LADY:
                            SetData(DATA_CRAZY_CAT_LADY, 0);
                            break;
                        case ACTION_RESPAWN_DEFENDER:
                            --defenderLives;
                            if (!defenderLives)
                            {
                                SetData(DATA_NINE_LIVES, 1);
                                break;
                            }
                            events.ScheduleEvent(EVENT_RESPAWN_DEFENDER, 30000);
                            break;
                        default:
                            break;
                    }
                }
    
                uint32 GetData(uint32 type)
                {
                    switch (type)
                    {
                        case DATA_NINE_LIVES:
                            return nineLives ? 1 : 0;
                        case DATA_CRAZY_CAT_LADY:
                            return crazyCatLady ? 1 : 0;
                    }
    
                    return 0;
                }
    
                void SetData(uint32 id, uint32 data)
                {
                   switch (id)
                   {
                       case DATA_NINE_LIVES:
                            nineLives = data ? true : false;
                            break;
                        case DATA_CRAZY_CAT_LADY:
                            crazyCatLady = data ? true : false;
                            break;
                   }
                }
    
                void JustDied(Unit* /*who*/)
                {
                    DoScriptText(SAY_DEATH, me);
                    _JustDied();
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_SCREECH:
                                DoCast(SPELL_SONIC_SCREECH);
                                events.ScheduleEvent(EVENT_SCREECH, urand(40000, 60000));
                                break;
                            case EVENT_TERRIFYING:
                                DoScriptText(EMOTE_FEAR, me);
                                DoCast(SPELL_TERRIFYING_SCREECH);
                                events.ScheduleEvent(EVENT_TERRIFYING, urand(20000, 30000));
                                break;
                            case EVENT_BLAST:
                                DoCastAOE(SPELL_SENTINEL_BLAST);
                                events.ScheduleEvent(EVENT_BLAST, urand(25000, 35000));
                                break;
                            case EVENT_DEFENDER:
                                DoScriptText(EMOTE_DEFENDER, me);
                                DoCast(SPELL_DEFENDER_TRIGGER);
                                if (Creature* trigger = me->FindNearestCreature(NPC_FERAL_DEFENDER_TRIGGER, 15.0f, true))
                                    DoCast(trigger, SPELL_ACTIVATE_DEFENDER, true);
                                break;
                            case EVENT_RESPAWN_DEFENDER:
                                if (Creature* Defender = ObjectAccessor::GetCreature(*me, DefenderGUID))
                                {
                                    Defender->Respawn();
                                    if (defenderLives)
                                        Defender->SetAuraStack(SPELL_FERAL_ESSENCE, Defender, defenderLives);
                                    Defender->SetInCombatWithZone();
                                    if (!Defender->isInCombat())
                                        Defender->AI()->AttackStart(me->getVictim());
                                    events.CancelEvent(EVENT_RESPAWN_DEFENDER);
                                }
                                break;
                            case EVENT_SUMMON:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true))
                                    DoCast(target, SPELL_SUMMON_SWARMING_GUARDIAN);
                                events.ScheduleEvent(EVENT_SUMMON, urand(30000, 45000));
                                break;
                            case EVENT_BERSERK:
                                DoCast(me, SPELL_BERSERK, true);
                                DoScriptText(SAY_BERSERK, me);
                                events.CancelEvent(EVENT_BERSERK);
                                break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
    
            private:
                uint64 DefenderGUID;
                uint8 defenderLives;
                bool crazyCatLady;
                bool nineLives;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_auriayaAI>(creature);
            }
    };
    
    class npc_auriaya_seeping_trigger : public CreatureScript
    {
        public:
            npc_auriaya_seeping_trigger() : CreatureScript("npc_auriaya_seeping_trigger") { }
    
            struct npc_auriaya_seeping_triggerAI : public ScriptedAI
            {
                npc_auriaya_seeping_triggerAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                }
    
            void Reset()
            {
                me->ForcedDespawn(600000);
                DoCast(me, SPELL_SEEPING_ESSENCE);
            }
    
            void UpdateAI(uint32 const /*diff*/)
            {
                if (instance->GetBossState(BOSS_AURIAYA) != IN_PROGRESS)
                    me->ForcedDespawn();
            }
    
            private:
                InstanceScript* instance;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_auriaya_seeping_triggerAI(creature);
            }
    };
    
    class npc_sanctum_sentry : public CreatureScript
    {
        public:
            npc_sanctum_sentry() : CreatureScript("npc_sanctum_sentry") { }
    
            struct npc_sanctum_sentryAI : public ScriptedAI
            {
                npc_sanctum_sentryAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                }
    
                void Reset()
                {
                    events.ScheduleEvent(EVENT_RIP, urand(4000, 8000));
                    events.ScheduleEvent(EVENT_POUNCE, urand(12000, 15000));
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    DoCast(me, SPELL_STRENGHT_PACK, true);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_RIP:
                                DoCastVictim(SPELL_RIP_FLESH);
                                events.ScheduleEvent(EVENT_RIP, urand(12000, 15000));
                                break;
                            case EVENT_POUNCE:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true))
                                {
                                    me->AddThreat(target, 100.0f);
                                    me->AI()->AttackStart(target);
                                    DoCast(target, SPELL_SAVAGE_POUNCE);
                                }
                                events.ScheduleEvent(EVENT_POUNCE, urand(12000, 17000));
                                break;
                            default:
                                break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
    
                void JustDied(Unit* /*who*/)
                {
                    if (Creature* Auriaya = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_AURIAYA)))
                        Auriaya->AI()->DoAction(ACTION_CRAZY_CAT_LADY);
                }
    
            private:
                InstanceScript* instance;
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_sanctum_sentryAI(creature);
            }
    };
    
    class npc_feral_defender : public CreatureScript
    {
        public:
            npc_feral_defender() : CreatureScript("npc_feral_defender") { }
    
            struct npc_feral_defenderAI : public ScriptedAI
            {
                npc_feral_defenderAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                }
    
                void Reset()
                {
                    events.ScheduleEvent(EVENT_FERAL_POUNCE, 5000);
                    events.ScheduleEvent(EVENT_RUSH, 10000);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_FERAL_POUNCE:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true))
                                {
                                    me->AddThreat(target, 100.0f);
                                    me->AI()->AttackStart(target);
                                    DoCast(target, SPELL_FERAL_POUNCE);
                                }
                                events.ScheduleEvent(EVENT_FERAL_POUNCE, urand(10000, 12000));
                                break;
                            case EVENT_RUSH:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0.0f, true))
                                {
                                    me->AddThreat(target, 100.0f);
                                    me->AI()->AttackStart(target);
                                    DoCast(target, SPELL_FERAL_RUSH);
                                }
                                events.ScheduleEvent(EVENT_RUSH, urand(10000, 12000));
                                break;
                        default:
                            break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
    
                void JustDied(Unit* /*who*/)
                {
                    DoCast(me, SPELL_SUMMON_ESSENCE);
                    if (Creature* Auriaya = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_AURIAYA)))
                        Auriaya->AI()->DoAction(ACTION_RESPAWN_DEFENDER);
                }
    
            private:
                InstanceScript* instance;
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_feral_defenderAI(creature);
            }
    };
    
    class SanctumSentryCheck
    {
        public:
            bool operator() (Unit* unit)
            {
                if (unit->GetEntry() == NPC_SANCTUM_SENTRY)
                    return false;
    
                return true;
            }
    };
    
    class spell_auriaya_strenght_of_the_pack : public SpellScriptLoader
    {
        public:
            spell_auriaya_strenght_of_the_pack() : SpellScriptLoader("spell_auriaya_strenght_of_the_pack") { }
    
            class spell_auriaya_strenght_of_the_pack_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_auriaya_strenght_of_the_pack_SpellScript);
    
                void FilterTargets(std::list<Unit*>& unitList)
                {
                    unitList.remove_if (SanctumSentryCheck());
                }
    
                void Register()
                {
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_auriaya_strenght_of_the_pack_SpellScript::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ALLY);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_auriaya_strenght_of_the_pack_SpellScript();
            }
    };
    
    class spell_auriaya_sentinel_blast : public SpellScriptLoader
    {
        public:
            spell_auriaya_sentinel_blast() : SpellScriptLoader("spell_auriaya_sentinel_blast") { }
    
            class spell_auriaya_sentinel_blast_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_auriaya_sentinel_blast_SpellScript);
    
                void FilterTargets(std::list<Unit*>& unitList)
                {
                    unitList.remove_if (PlayerOrPetCheck());
                }
    
                void Register()
                {
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_auriaya_sentinel_blast_SpellScript::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_auriaya_sentinel_blast_SpellScript::FilterTargets, EFFECT_1, TARGET_UNIT_SRC_AREA_ENEMY);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_auriaya_sentinel_blast_SpellScript();
            }
    };
    
    
    class achievement_nine_lives : public AchievementCriteriaScript
    {
        public:
            achievement_nine_lives() : AchievementCriteriaScript("achievement_nine_lives")
            {
            }
    
            bool OnCheck(Player* /*player*/, Unit* target)
            {
                if (!target)
                    return false;
    
                if (Creature* Auriaya = target->ToCreature())
                    if (Auriaya->AI()->GetData(DATA_NINE_LIVES))
                        return true;
    
                return false;
            }
    };
    
    class achievement_crazy_cat_lady : public AchievementCriteriaScript
    {
        public:
            achievement_crazy_cat_lady() : AchievementCriteriaScript("achievement_crazy_cat_lady")
            {
            }
    
            bool OnCheck(Player* /*player*/, Unit* target)
            {
                if (!target)
                    return false;
    
                if (Creature* Auriaya = target->ToCreature())
                    if (Auriaya->AI()->GetData(DATA_CRAZY_CAT_LADY))
                        return true;
    
                return false;
            }
    };
    
    void AddSC_boss_auriaya()
    {
        new boss_auriaya();
        new npc_auriaya_seeping_trigger();
        new npc_feral_defender();
        new npc_sanctum_sentry();
        new spell_auriaya_strenght_of_the_pack();
        new spell_auriaya_sentinel_blast();
        new achievement_nine_lives();
        new achievement_crazy_cat_lady();
    }


    Spoiler untuk boss_flame_leviathan.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    /*
     * Comment: there is missing code on triggers,
     *          brann bronzebeard needs correct gossip info.
     *          requires more work involving area triggers.
     *          if reached brann speaks through his radio..
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "ScriptedGossip.h"
    #include "ScriptedEscortAI.h"
    #include "Cell.h"
    #include "CellImpl.h"
    #include "GridNotifiers.h"
    #include "GridNotifiersImpl.h"
    #include "CombatAI.h"
    #include "PassiveAI.h"
    #include "ObjectMgr.h"
    #include "SpellInfo.h"
    #include "SpellScript.h"
    #include "Vehicle.h"
    #include "VehicleDefines.h"
    #include "ulduar.h"
    #include "Spell.h"
    
    enum Spells
    {
        SPELL_PURSUED                  = 62374,
        SPELL_GATHERING_SPEED          = 62375,
        SPELL_BATTERING_RAM            = 62376,
        SPELL_FLAME_VENTS              = 62396,
        SPELL_MISSILE_BARRAGE          = 62400,
        SPELL_SYSTEMS_SHUTDOWN         = 62475,
        SPELL_OVERLOAD_CIRCUIT         = 62399,
        SPELL_START_THE_ENGINE         = 62472,
        SPELL_SEARING_FLAME            = 62402,
        SPELL_BLAZE                    = 62292,
        SPELL_TAR_PASSIVE              = 62288,
        SPELL_SMOKE_TRAIL              = 63575,
        SPELL_ELECTROSHOCK             = 62522,
        SPELL_NAPALM                   = 63666,
        SPELL_INVIS_AND_STEALTH_DETECT = 18950, // Passive
        //TOWER Additional SPELLS
        SPELL_THORIM_S_HAMMER          = 62911, // Tower of Storms
        SPELL_MIMIRON_S_INFERNO        = 62909, // Tower of Flames
        SPELL_HODIR_S_FURY             = 62533, // Tower of Frost
        SPELL_FREYA_S_WARD             = 62906, // Tower of Nature
        SPELL_FREYA_SUMMONS            = 62947, // Tower of Nature
        //TOWER ap & health spells
        SPELL_BUFF_TOWER_OF_STORMS     = 65076,
        SPELL_BUFF_TOWER_OF_FLAMES     = 65075,
        SPELL_BUFF_TOWER_OF_FR0ST      = 65077,
        SPELL_BUFF_TOWER_OF_LIFE       = 64482,
        //Additional Spells
        SPELL_LASH                     = 65062,
        SPELL_FREYA_S_WARD_EFFECT_1    = 62947,
        SPELL_FREYA_S_WARD_EFFECT_2    = 62907,
        SPELL_AUTO_REPAIR              = 62705,
        AURA_DUMMY_BLUE                = 63294,
        AURA_DUMMY_GREEN               = 63295,
        AURA_DUMMY_YELLOW              = 63292,
        SPELL_LIQUID_PYRITE            = 62494,
        SPELL_DUSTY_EXPLOSION          = 63360,
        SPELL_DUST_CLOUD_IMPACT        = 54740,
        AURA_STEALTH_DETECTION         = 18950,
        SPELL_RIDE_VEHICLE             = 46598,
    };
    
    enum Creatures
    {
        NPC_SEAT                       = 33114,
        NPC_MECHANOLIFT                = 33214,
        NPC_LIQUID                     = 33189,
        NPC_CONTAINER                  = 33218,
        NPC_THORIM_BEACON              = 33365,
        NPC_MIMIRON_BEACON             = 33370,
        NPC_HODIR_BEACON               = 33212,
        NPC_FREYA_BEACON               = 33367,
        NPC_THORIM_TARGET_BEACON       = 33364,
        NPC_MIMIRON_TARGET_BEACON      = 33369,
        NPC_HODIR_TARGET_BEACON        = 33108,
        NPC_FREYA_TARGET_BEACON        = 33366,
        NPC_LOREKEEPER                 = 33686, // Hard mode starter
        NPC_BRANZ_BRONZBEARD           = 33579,
        NPC_DELORAH                    = 33701,
        NPC_ULDUAR_GAUNTLET_GENERATOR  = 33571, // Trigger tied to towers
    };
    
    enum Towers
    {
        GO_TOWER_OF_STORMS    = 194377,
        GO_TOWER_OF_FLAMES    = 194371,
        GO_TOWER_OF_FROST     = 194370,
        GO_TOWER_OF_LIFE      = 194375,
    };
    
    enum Events
    {
        EVENT_PURSUE               = 1,
        EVENT_MISSILE              = 2,
        EVENT_VENT                 = 3,
        EVENT_SPEED                = 4,
        EVENT_SUMMON               = 5,
        EVENT_SHUTDOWN             = 6,
        EVENT_REPAIR               = 7,
        EVENT_THORIM_S_HAMMER      = 8,    // Tower of Storms
        EVENT_MIMIRON_S_INFERNO    = 9,    // Tower of Flames
        EVENT_HODIR_S_FURY         = 10,   // Tower of Frost
        EVENT_FREYA_S_WARD         = 11,   // Tower of Nature
    };
    
    enum Seats
    {
        SEAT_PLAYER    = 0,
        SEAT_TURRET    = 1,
        SEAT_DEVICE    = 2,
        SEAT_CANNON    = 7,
    };
    
    enum Vehicles
    {
        VEHICLE_SIEGE         = 33060,
        VEHICLE_CHOPPER       = 33062,
        VEHICLE_DEMOLISHER    = 33109,
    };
    
    #define EMOTE_PURSUE      "Flame Leviathan pursues $N."
    #define EMOTE_OVERLOAD    "Flame Leviathan's circuits overloaded."
    #define EMOTE_REPAIR      "Automatic repair sequence initiated."
    #define DATA_SHUTOUT      29112912 // 2911, 2912 are achievement IDs
    #define DATA_ORBIT_ACHIEVEMENTS    1
    #define VEHICLE_SPAWNS             5
    #define FREYA_SPAWNS               4
    
    enum Yells
    {
        SAY_AGGRO            = -1603060,
        SAY_SLAY             = -1603061,
        SAY_DEATH            = -1603062,
        SAY_TARGET_1         = -1603063,
        SAY_TARGET_2         = -1603064,
        SAY_TARGET_3         = -1603065,
        SAY_HARDMODE         = -1603066,
        SAY_TOWER_NONE       = -1603067,
        SAY_TOWER_FROST      = -1603068,
        SAY_TOWER_FLAME      = -1603069,
        SAY_TOWER_NATURE     = -1603070,
        SAY_TOWER_STORM      = -1603071,
        SAY_PLAYER_RIDING    = -1603072,
        SAY_OVERLOAD_1       = -1603073,
        SAY_OVERLOAD_2       = -1603074,
        SAY_OVERLOAD_3       = -1603075,
    };
    
    enum MiscellanousData
    {
        // Other actions are in Ulduar.h
        ACTION_START_HARD_MODE    = 5,
        ACTION_SPAWN_VEHICLES     = 6,
        // Amount of seats depending on Raid mode
        TWO_SEATS                 = 2,
        FOUR_SEATS                = 4,
    };
    
    Position const Center[]=
    {
        {354.8771f, -12.90240f, 409.803650f, 0.0f},
    };
    
    Position const InfernoStart[]=
    {
        {390.93f, -13.91f, 409.81f, 0.0f},
    };
    
    Position const PosSiege[VEHICLE_SPAWNS] =
    {
        {-814.59f, -64.54f, 429.92f, 5.969f},
        {-784.37f, -33.31f, 429.92f, 5.096f},
        {-808.99f, -52.10f, 429.92f, 5.668f},
        {-798.59f, -44.00f, 429.92f, 5.663f},
        {-812.83f, -77.71f, 429.92f, 0.046f},
    };
    
    Position const PosChopper[VEHICLE_SPAWNS] =
    {
        {-717.83f, -106.56f, 430.02f, 0.122f},
        {-717.83f, -114.23f, 430.44f, 0.122f},
        {-717.83f, -109.70f, 430.22f, 0.122f},
        {-718.45f, -118.24f, 430.26f, 0.052f},
        {-718.45f, -123.58f, 430.41f, 0.085f},
    };
    
    Position const PosDemolisher[VEHICLE_SPAWNS] =
    {
        {-724.12f, -176.64f, 430.03f, 2.543f},
        {-766.70f, -225.03f, 430.50f, 1.710f},
        {-729.54f, -186.26f, 430.12f, 1.902f},
        {-756.01f, -219.23f, 430.50f, 2.369f},
        {-798.01f, -227.24f, 429.84f, 1.446f},
    };
    
    Position const FreyaBeacons[FREYA_SPAWNS] =
    {
        {377.02f, -119.10f, 409.81f, 0.0f},
        {185.62f, -119.10f, 409.81f, 0.0f},
        {377.02f, 54.78f, 409.81f, 0.0f},
        {185.62f, 54.78f, 409.81f, 0.0f},
    };
    
    class boss_flame_leviathan : public CreatureScript
    {
        public:
            boss_flame_leviathan() : CreatureScript("boss_flame_leviathan") { }
    
            struct boss_flame_leviathanAI : public BossAI
            {
                boss_flame_leviathanAI(Creature* creature) : BossAI(creature, BOSS_LEVIATHAN), vehicle(creature->GetVehicleKit())
                {
                }
    
                void InitializeAI()
                {
                    ASSERT(vehicle);
                    if (!me->isDead())
                        Reset();
    
                    ActiveTowersCount = 4;
                    Shutdown = 0;
                    ActiveTowers = false;
                    towerOfStorms = false;
                    towerOfLife = false;
                    towerOfFlames = false;
                    towerOfFrost = false;
                    Shutout = true;
                    Unbroken = true;
    
                    DoCast(SPELL_INVIS_AND_STEALTH_DETECT);
    
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_STUNNED);
                    me->SetReactState(REACT_PASSIVE);
                }
    
                Vehicle* vehicle;
                uint8 ActiveTowersCount;
                uint8 Shutdown;
                bool ActiveTowers;
                bool towerOfStorms;
                bool towerOfLife;
                bool towerOfFlames;
                bool towerOfFrost;
                bool Shutout;
                bool Unbroken;
    
                void Reset()
                {
                    _Reset();
                    //resets shutdown counter to 0.  2 or 4 depending on raid mode
                    Shutdown = 0;
                    _pursueTarget = 0;
    
                    me->SetReactState(REACT_DEFENSIVE);
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    _EnterCombat();
                    me->SetReactState(REACT_PASSIVE);
                    events.ScheduleEvent(EVENT_PURSUE, 1);
                    events.ScheduleEvent(EVENT_MISSILE, urand(1500, 4*IN_MILLISECONDS));
                    events.ScheduleEvent(EVENT_VENT, 20*IN_MILLISECONDS);
                    events.ScheduleEvent(EVENT_SHUTDOWN, 150*IN_MILLISECONDS);
                    events.ScheduleEvent(EVENT_SPEED, 15*IN_MILLISECONDS);
                    events.ScheduleEvent(EVENT_SUMMON, 1*IN_MILLISECONDS);
                    ActiveTower(); //void ActiveTower
                }
    
                void ActiveTower()
                {
                    if (ActiveTowers)
                    {
                        if (towerOfStorms)
                        {
                            me->AddAura(SPELL_BUFF_TOWER_OF_STORMS, me);
                            events.ScheduleEvent(EVENT_THORIM_S_HAMMER, 35*IN_MILLISECONDS);
                        }
    
                        if (towerOfFlames)
                        {
                            me->AddAura(SPELL_BUFF_TOWER_OF_FLAMES, me);
                            events.ScheduleEvent(EVENT_MIMIRON_S_INFERNO, 70*IN_MILLISECONDS);
                        }
    
                        if (towerOfFrost)
                        {
                            me->AddAura(SPELL_BUFF_TOWER_OF_FR0ST, me);
                            events.ScheduleEvent(EVENT_HODIR_S_FURY, 105*IN_MILLISECONDS);
                        }
    
                        if (towerOfLife)
                        {
                            me->AddAura(SPELL_BUFF_TOWER_OF_LIFE, me);
                            events.ScheduleEvent(EVENT_FREYA_S_WARD, 140*IN_MILLISECONDS);
                        }
    
                        if (!towerOfLife && !towerOfFrost && !towerOfFlames && !towerOfStorms)
                            DoScriptText(SAY_TOWER_NONE, me);
                        else
                            DoScriptText(SAY_HARDMODE, me);
                    }
                    else
                        DoScriptText(SAY_AGGRO, me);
                }
    
                void JustDied(Unit* /*victim*/)
                {
                    _JustDied();
                    // Set Field Flags 67108928 = 64 | 67108864 = UNIT_FLAG_UNK_6 | UNIT_FLAG_SKINNABLE
                    // Set DynFlags 12
                    // Set NPCFlags 0
                    DoScriptText(SAY_DEATH, me);
                }
    
                void SpellHit(Unit* /*caster*/, SpellInfo const* spell)
                {
                    if (spell->Id == SPELL_START_THE_ENGINE)
                        vehicle->InstallAllAccessories(false);
    
                    if (spell->Id == SPELL_ELECTROSHOCK)
                        me->InterruptSpell(CURRENT_CHANNELED_SPELL);
    
                    if (spell->Id == SPELL_OVERLOAD_CIRCUIT)
                        ++Shutdown;
                }
    
                uint32 GetData(uint32 type)
                {
                    switch (type)
                    {
                        case DATA_SHUTOUT:
                            return Shutout ? 1 : 0;
                        case DATA_UNBROKEN:
                            return Unbroken ? 1 : 0;
                        case DATA_ORBIT_ACHIEVEMENTS:
                            if (ActiveTowers) // Only on HardMode
                                return ActiveTowersCount;
                        default:
                            break;
                    }
    
                    return 0;
                }
    
                void SetData(uint32 id, uint32 data)
                {
                    if (id == DATA_UNBROKEN)
                        Unbroken = data ? true : false;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim() || !CheckInRoom())
                        return;
    
                    events.Update(diff);
    
                    if (Shutdown == RAID_MODE(TWO_SEATS, FOUR_SEATS))
                    {
                        Shutdown = 0;
                        events.ScheduleEvent(EVENT_SHUTDOWN, 4000);
                        me->RemoveAurasDueToSpell(SPELL_OVERLOAD_CIRCUIT);
                        me->InterruptNonMeleeSpells(true);
                        return;
                    }
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_PURSUE:
                                DoScriptText(RAND(SAY_TARGET_1, SAY_TARGET_2, SAY_TARGET_3), me);
                                DoCast(SPELL_PURSUED);  // Will select target in spellscript
                                events.ScheduleEvent(EVENT_PURSUE, 35*IN_MILLISECONDS);
                                break;
                            case EVENT_MISSILE:
                                DoCast(me, SPELL_MISSILE_BARRAGE, true);
                                events.ScheduleEvent(EVENT_MISSILE, 2*IN_MILLISECONDS);
                                break;
                            case EVENT_VENT:
                                DoCastAOE(SPELL_FLAME_VENTS);
                                events.ScheduleEvent(EVENT_VENT, 20*IN_MILLISECONDS);
                                break;
                            case EVENT_SPEED:
                                DoCastAOE(SPELL_GATHERING_SPEED);
                                events.ScheduleEvent(EVENT_SPEED, 15*IN_MILLISECONDS);
                                break;
                            case EVENT_SUMMON:
                                if (summons.size() < 15)
                                    if (Creature* lift = DoSummonFlyer(NPC_MECHANOLIFT, me, 30.0f, 50.0f, 0))
                                        lift->GetMotionMaster()->MoveRandom(100);
                                events.ScheduleEvent(EVENT_SUMMON, 2*IN_MILLISECONDS);
                                break;
                            case EVENT_SHUTDOWN:
                                DoScriptText(RAND(SAY_OVERLOAD_1, SAY_OVERLOAD_2, SAY_OVERLOAD_3), me);
                                me->MonsterTextEmote(EMOTE_OVERLOAD, 0, true);
                                me->CastSpell(me, SPELL_SYSTEMS_SHUTDOWN, true);
                                if (Shutout)
                                    Shutout = false;
                                events.ScheduleEvent(EVENT_REPAIR, 4000);
                                events.DelayEvents(20 * IN_MILLISECONDS, 0);
                                break;
                            case EVENT_REPAIR:
                                me->MonsterTextEmote(EMOTE_REPAIR, 0, true);
                                me->ClearUnitState(UNIT_STATE_STUNNED | UNIT_STATE_ROOT);
                                events.ScheduleEvent(EVENT_SHUTDOWN, 150*IN_MILLISECONDS);
                                events.CancelEvent(EVENT_REPAIR);
                                break;
                            case EVENT_THORIM_S_HAMMER: // Tower of Storms
                                for (uint8 i = 0; i < 7; ++i)
                                {
                                    if (Creature* thorim = DoSummon(NPC_THORIM_BEACON, me, float(urand(20, 60)), 20000, TEMPSUMMON_TIMED_DESPAWN))
                                        thorim->GetMotionMaster()->MoveRandom(100);
                                }
                                DoScriptText(SAY_TOWER_STORM, me);
                                events.CancelEvent(EVENT_THORIM_S_HAMMER);
                                break;
                            case EVENT_MIMIRON_S_INFERNO: // Tower of Flames
                                me->SummonCreature(NPC_MIMIRON_BEACON, InfernoStart->GetPositionX(), InfernoStart->GetPositionY(), InfernoStart->GetPositionZ());
                                DoScriptText(SAY_TOWER_FLAME, me);
                                events.CancelEvent(EVENT_MIMIRON_S_INFERNO);
                                break;
                            case EVENT_HODIR_S_FURY:      // Tower of Frost
                                for (uint8 i = 0; i < 7; ++i)
                                {
                                    if (Creature* hodir = DoSummon(NPC_HODIR_BEACON, me, 50, 0))
                                        hodir->GetMotionMaster()->MoveRandom(100);
                                }
                                DoScriptText(SAY_TOWER_FROST, me);
                                events.CancelEvent(EVENT_HODIR_S_FURY);
                                break;
                            case EVENT_FREYA_S_WARD:    // Tower of Nature
                                DoScriptText(SAY_TOWER_NATURE, me);
                                for (int32 i = 0; i < 4; ++i)
                                    me->SummonCreature(NPC_FREYA_BEACON, FreyaBeacons[i]);
    
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM))
                                    DoCast(target, SPELL_FREYA_S_WARD);
                                events.CancelEvent(EVENT_FREYA_S_WARD);
                                break;
                        }
                    }
    
                    DoBatteringRamIfReady();
                }
    
                void SpellHitTarget(Unit* target, SpellInfo const* spell)
                {
                    if (spell->Id == SPELL_PURSUED)
                        _pursueTarget = target->GetGUID();
                }
    
                void DoAction(int32 const action)
                {
                    if (action && action <= 4) // Tower destruction, debuff leviathan loot and reduce active tower count
                    {
                        if (me->HasLootMode(LOOT_MODE_DEFAULT | LOOT_MODE_HARD_MODE_1 | LOOT_MODE_HARD_MODE_2 | LOOT_MODE_HARD_MODE_3 | LOOT_MODE_HARD_MODE_4) && ActiveTowersCount == 4)
                        {
                            me->RemoveLootMode(LOOT_MODE_HARD_MODE_4);
                            --ActiveTowersCount;
                        }
                        if (me->HasLootMode(LOOT_MODE_DEFAULT | LOOT_MODE_HARD_MODE_1 | LOOT_MODE_HARD_MODE_2 | LOOT_MODE_HARD_MODE_3) && ActiveTowersCount == 3)
                        {
                            me->RemoveLootMode(LOOT_MODE_HARD_MODE_3);
                            --ActiveTowersCount;
                        }
                        if (me->HasLootMode(LOOT_MODE_DEFAULT | LOOT_MODE_HARD_MODE_1 | LOOT_MODE_HARD_MODE_2) && ActiveTowersCount == 2)
                        {
                            me->RemoveLootMode(LOOT_MODE_HARD_MODE_2);
                            --ActiveTowersCount;
                        }
                        if (me->HasLootMode(LOOT_MODE_DEFAULT | LOOT_MODE_HARD_MODE_1) && ActiveTowersCount == 1)
                        {
                            me->RemoveLootMode(LOOT_MODE_HARD_MODE_1);
                            --ActiveTowersCount;
                        }
                    }
    
                    switch (action)
                    {
                        case ACTION_TOWER_OF_STORM_DESTROYED:
                            towerOfStorms = false;
                            break;
                        case ACTION_TOWER_OF_FROST_DESTROYED:
                            towerOfFrost = false;
                            break;
                        case ACTION_TOWER_OF_FLAMES_DESTROYED:
                            towerOfFlames = false;
                            break;
                        case ACTION_TOWER_OF_LIFE_DESTROYED:
                            towerOfLife = false;
                            break;
                        case ACTION_START_HARD_MODE:  // Activate hard-mode enable all towers, apply buffs on leviathan
                            ActiveTowers = true;
                            towerOfStorms = true;
                            towerOfLife = true;
                            towerOfFlames = true;
                            towerOfFrost = true;
                            me->SetLootMode(LOOT_MODE_DEFAULT | LOOT_MODE_HARD_MODE_1 | LOOT_MODE_HARD_MODE_2 | LOOT_MODE_HARD_MODE_3 | LOOT_MODE_HARD_MODE_4);
                            break;
                        case ACTION_MOVE_TO_CENTER_POSITION: // Triggered by 2 Collossus near door
                            if (!me->isDead())
                            {
                                me->SetHomePosition(Center->GetPositionX(), Center->GetPositionY(), Center->GetPositionZ(), 0);
                                me->GetMotionMaster()->MoveCharge(Center->GetPositionX(), Center->GetPositionY(), Center->GetPositionZ()); //position center
                                me->SetReactState(REACT_AGGRESSIVE);
                                me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_STUNNED);
                                return;
                            }
                            break;
                        default:
                            break;
                    }
                }
    
                private:
                    //! Copypasta from DoSpellAttackIfReady, only difference is the target - it cannot be selected trough getVictim this way -
                    //! I also removed the spellInfo check
                    void DoBatteringRamIfReady()
                    {
                        if (me->isAttackReady())
                        {
                            Unit* target = ObjectAccessor::GetUnit(*me, _pursueTarget);
                            if (me->IsWithinCombatRange(target, 30.0f))
                            {
                                DoCast(target, SPELL_BATTERING_RAM);
                                me->resetAttackTimer();
                            }
                        }
                    }
    
                    uint64 _pursueTarget;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_flame_leviathanAI>(creature);
            }
    };
    
    class boss_flame_leviathan_seat : public CreatureScript
    {
        public:
            boss_flame_leviathan_seat() : CreatureScript("boss_flame_leviathan_seat") { }
    
            struct boss_flame_leviathan_seatAI : public ScriptedAI
            {
                boss_flame_leviathan_seatAI(Creature* creature) : ScriptedAI(creature), vehicle(creature->GetVehicleKit())
                {
                    ASSERT(vehicle);
                    me->SetReactState(REACT_PASSIVE);
                    me->SetDisplayId(me->GetCreatureTemplate()->Modelid2);
                    instance = creature->GetInstanceScript();
                }
    
                InstanceScript* instance;
                Vehicle* vehicle;
    
                void PassengerBoarded(Unit* who, int8 seatId, bool apply)
                {
                    if (!me->GetVehicle())
                        return;
    
                    if (seatId == SEAT_PLAYER)
                    {
                        if (!apply)
                            return;
                        else
                            DoScriptText(SAY_PLAYER_RIDING, me);
    
                        if (Creature* turret = me->GetVehicleKit()->GetPassenger(SEAT_TURRET)->ToCreature())
                        {
                            turret->setFaction(me->GetVehicleBase()->getFaction());
                            turret->SetUInt32Value(UNIT_FIELD_FLAGS, 0); // unselectable
                            turret->AI()->AttackStart(who);
                        }
                        if (Creature* device = me->GetVehicleKit()->GetPassenger(SEAT_DEVICE)->ToCreature())
                        {
                            device->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK);
                            device->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                        }
    
                        me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    }
                    else if (seatId == SEAT_TURRET)
                    {
                        if (apply)
                            return;
    
                        if (Unit* device = vehicle->GetPassenger(SEAT_DEVICE))
                        {
                            device->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK);
                            device->SetUInt32Value(UNIT_FIELD_FLAGS, 0); // unselectable
                        }
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new boss_flame_leviathan_seatAI(creature);
            }
    };
    
    class boss_flame_leviathan_defense_cannon : public CreatureScript
    {
        public:
            boss_flame_leviathan_defense_cannon() : CreatureScript("boss_flame_leviathan_defense_cannon") { }
    
            struct boss_flame_leviathan_defense_cannonAI : public ScriptedAI
            {
                boss_flame_leviathan_defense_cannonAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                uint32 NapalmTimer;
    
                void Reset ()
                {
                    NapalmTimer = 5*IN_MILLISECONDS;
                    DoCast(me, AURA_STEALTH_DETECTION);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (NapalmTimer <= diff)
                    {
                        if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
                            if (CanAIAttack(target))
                                DoCast(target, SPELL_NAPALM, true);
    
                        NapalmTimer = 5000;
                    }
                    else
                        NapalmTimer -= diff;
                }
    
                bool CanAIAttack(Unit const* who) const
                {
                    if (who->GetTypeId() != TYPEID_PLAYER || !who->GetVehicle() || who->GetVehicleBase()->GetEntry() == NPC_SEAT)
                        return false;
                    return true;
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new boss_flame_leviathan_defense_cannonAI(creature);
            }
    };
    
    class boss_flame_leviathan_defense_turret : public CreatureScript
    {
        public:
            boss_flame_leviathan_defense_turret() : CreatureScript("boss_flame_leviathan_defense_turret") { }
    
            struct boss_flame_leviathan_defense_turretAI : public TurretAI
            {
                boss_flame_leviathan_defense_turretAI(Creature* creature) : TurretAI(creature) {}
    
                void DamageTaken(Unit* who, uint32 &damage)
                {
                    if (!CanAIAttack(who))
                        damage = 0;
                }
    
                bool CanAIAttack(Unit const* who) const
                {
                    if (who->GetTypeId() != TYPEID_PLAYER || !who->GetVehicle() || who->GetVehicleBase()->GetEntry() != NPC_SEAT)
                        return false;
                    return true;
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new boss_flame_leviathan_defense_turretAI(creature);
            }
    };
    
    class boss_flame_leviathan_overload_device : public CreatureScript
    {
        public:
            boss_flame_leviathan_overload_device() : CreatureScript("boss_flame_leviathan_overload_device") { }
    
            struct boss_flame_leviathan_overload_deviceAI : public PassiveAI
            {
                boss_flame_leviathan_overload_deviceAI(Creature* creature) : PassiveAI(creature)
                {
                }
    
                void DoAction(const int32 param)
                {
                    if (param == EVENT_SPELLCLICK)
                    {
                        if (me->GetVehicle())
                        {
                            me->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_SPELLCLICK);
                            me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                            if (Unit* player = me->GetVehicle()->GetPassenger(SEAT_PLAYER))
                            {
                                me->GetVehicleBase()->CastSpell(player, SPELL_SMOKE_TRAIL, true);
                                player->GetMotionMaster()->MoveKnockbackFrom(me->GetVehicleBase()->GetPositionX(), me->GetVehicleBase()->GetPositionY(), 30, 30);
                                player->ExitVehicle();
                            }
                        }
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new boss_flame_leviathan_overload_deviceAI(creature);
            }
    };
    
    class boss_flame_leviathan_safety_container : public CreatureScript
    {
        public:
            boss_flame_leviathan_safety_container() : CreatureScript("boss_flame_leviathan_safety_container") { }
    
            struct boss_flame_leviathan_safety_containerAI : public PassiveAI
            {
                boss_flame_leviathan_safety_containerAI(Creature* creature) : PassiveAI(creature)
                {
                }
    
                void JustDied(Unit* /*killer*/)
                {
                    float x, y, z;
                    me->GetPosition(x, y, z);
                    z = me->GetMap()->GetHeight(me->GetPhaseMask(), x, y, z);
                    me->GetMotionMaster()->MovePoint(0, x, y, z);
                    me->SetPosition(x, y, z, 0);
                }
    
                void UpdateAI(uint32 const /*diff*/)
                {
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new boss_flame_leviathan_safety_containerAI(creature);
            }
    };
    
    class npc_mechanolift : public CreatureScript
    {
        public:
            npc_mechanolift() : CreatureScript("npc_mechanolift") { }
    
            struct npc_mechanoliftAI : public PassiveAI
            {
                npc_mechanoliftAI(Creature* creature) : PassiveAI(creature)
                {
                    ASSERT(me->GetVehicleKit());
                }
    
                uint32 MoveTimer;
    
                void Reset()
                {
                    MoveTimer = 0;
                    me->GetMotionMaster()->MoveRandom(50);
                }
    
                void JustDied(Unit* /*killer*/)
                {
                    me->GetMotionMaster()->MoveTargetedHome();
                    DoCast(SPELL_DUSTY_EXPLOSION);
                    Creature* liquid = DoSummon(NPC_LIQUID, me, 0);
                    if (liquid)
                    {
                        liquid->CastSpell(liquid, SPELL_LIQUID_PYRITE, true);
                        liquid->CastSpell(liquid, SPELL_DUST_CLOUD_IMPACT, true);
                    }
                }
    
                void MovementInform(uint32 type, uint32 id)
                {
                    if (type == POINT_MOTION_TYPE && id == 1)
                        if (Creature* container = me->FindNearestCreature(NPC_CONTAINER, 5, true))
                            container->EnterVehicle(me);
                }
    
                void UpdateAI(const uint32 diff)
                {
                    if (MoveTimer <= diff)
                    {
                        if (me->GetVehicleKit()->HasEmptySeat(-1))
                        {
                            Creature* container = me->FindNearestCreature(NPC_CONTAINER, 50, true);
                            if (container && !container->GetVehicle())
                                me->GetMotionMaster()->MovePoint(1, container->GetPositionX(), container->GetPositionY(), container->GetPositionZ());
                        }
    
                        MoveTimer = 30000; //check next 30 seconds
                    }
                    else
                        MoveTimer -= diff;
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_mechanoliftAI(creature);
            }
    };
    
    class npc_pool_of_tar : public CreatureScript
    {
        public:
            npc_pool_of_tar() : CreatureScript("npc_pool_of_tar") { }
    
            struct npc_pool_of_tarAI : public ScriptedAI
            {
                npc_pool_of_tarAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    me->SetReactState(REACT_PASSIVE);
                    me->CastSpell(me, SPELL_TAR_PASSIVE, true);
                }
    
                void DamageTaken(Unit* /*who*/, uint32& damage)
                {
                    damage = 0;
                }
    
                void SpellHit(Unit* /*caster*/, SpellInfo const* spell)
                {
                    if (spell->SchoolMask & SPELL_SCHOOL_MASK_FIRE && !me->HasAura(SPELL_BLAZE))
                        me->CastSpell(me, SPELL_BLAZE, true);
                }
    
                void UpdateAI(uint32 const /*diff*/) {}
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_pool_of_tarAI(creature);
            }
    };
    
    class npc_colossus : public CreatureScript
    {
        public:
            npc_colossus() : CreatureScript("npc_colossus") { }
    
            struct npc_colossusAI : public ScriptedAI
            {
                npc_colossusAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = creature->GetInstanceScript();
                }
    
                InstanceScript* instance;
    
                void JustDied(Unit* /*Who*/)
                {
                    if (me->GetHomePosition().IsInDist(Center, 50.f))
                        instance->SetData(DATA_COLOSSUS, instance->GetData(DATA_COLOSSUS)+1);
                }
    
                void UpdateAI(uint32 const /*diff*/)
                {
                    if (!UpdateVictim())
                        return;
    
                    DoMeleeAttackIfReady();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_colossusAI(creature);
            }
    };
    
    class npc_thorims_hammer : public CreatureScript
    {
        public:
            npc_thorims_hammer() : CreatureScript("npc_thorims_hammer") { }
    
            struct npc_thorims_hammerAI : public ScriptedAI
            {
                npc_thorims_hammerAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    me->CastSpell(me, AURA_DUMMY_BLUE, true);
                }
    
                void MoveInLineOfSight(Unit* who)
                {
                    if (who->GetTypeId() == TYPEID_PLAYER && who->IsVehicle() && me->IsInRange(who, 0, 10, false))
                    {
                        if (Creature* trigger = DoSummonFlyer(NPC_THORIM_TARGET_BEACON, me, 20, 0, 1000, TEMPSUMMON_TIMED_DESPAWN))
                            trigger->CastSpell(who, SPELL_THORIM_S_HAMMER, true);
                    }
                }
    
                void UpdateAI(uint32 const /*diff*/)
                {
                    if (!me->HasAura(AURA_DUMMY_BLUE))
                        me->CastSpell(me, AURA_DUMMY_BLUE, true);
    
                    UpdateVictim();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_thorims_hammerAI(creature);
            }
    };
    
    class npc_mimirons_inferno : public CreatureScript
    {
    public:
        npc_mimirons_inferno() : CreatureScript("npc_mimirons_inferno") { }
    
        CreatureAI* GetAI(Creature* creature) const
        {
            return new npc_mimirons_infernoAI(creature);
        }
    
        struct npc_mimirons_infernoAI : public npc_escortAI
        {
            npc_mimirons_infernoAI(Creature* creature) : npc_escortAI(creature)
            {
                me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
                me->CastSpell(me, AURA_DUMMY_YELLOW, true);
                me->SetReactState(REACT_PASSIVE);
            }
    
            void WaypointReached(uint32 /*i*/)
            {
            }
    
            void Reset()
            {
                infernoTimer = 2000;
            }
    
            uint32 infernoTimer;
    
            void UpdateAI(uint32 const diff)
            {
                npc_escortAI::UpdateAI(diff);
    
                if (!HasEscortState(STATE_ESCORT_ESCORTING))
                    Start(false, true, 0, NULL, false, true);
                else
                {
                    if (infernoTimer <= diff)
                    {
                        if (Creature* trigger = DoSummonFlyer(NPC_MIMIRON_TARGET_BEACON, me, 20, 0, 1000, TEMPSUMMON_TIMED_DESPAWN))
                        {
                            trigger->CastSpell(me->GetPositionX(), me->GetPositionY(), me->GetPositionZ(), SPELL_MIMIRON_S_INFERNO, true);
                            infernoTimer = 2000;
                        }
                    }
                    else
                        infernoTimer -= diff;
    
                    if (!me->HasAura(AURA_DUMMY_YELLOW))
                        me->CastSpell(me, AURA_DUMMY_YELLOW, true);
                }
            }
        };
    
    };
    
    class npc_hodirs_fury : public CreatureScript
    {
        public:
            npc_hodirs_fury() : CreatureScript("npc_hodirs_fury") { }
    
            struct npc_hodirs_furyAI : public ScriptedAI
            {
                npc_hodirs_furyAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    me->CastSpell(me, AURA_DUMMY_GREEN, true);
                }
    
                void MoveInLineOfSight(Unit* who)
                {
                    if (who->GetTypeId() == TYPEID_PLAYER && who->IsVehicle() && me->IsInRange(who, 0, 5, false))
                    {
                        if (Creature* trigger = DoSummonFlyer(NPC_HODIR_TARGET_BEACON, me, 20, 0, 1000, TEMPSUMMON_TIMED_DESPAWN))
                            trigger->CastSpell(who, SPELL_HODIR_S_FURY, true);
                    }
                }
    
                void UpdateAI(uint32 const /*diff*/)
                {
                    if (!me->HasAura(AURA_DUMMY_GREEN))
                        me->CastSpell(me, AURA_DUMMY_GREEN, true);
    
                    UpdateVictim();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_hodirs_furyAI(creature);
            }
    };
    
    class npc_freyas_ward : public CreatureScript
    {
        public:
            npc_freyas_ward() : CreatureScript("npc_freyas_ward") { }
    
            struct npc_freyas_wardAI : public ScriptedAI
            {
                npc_freyas_wardAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->CastSpell(me, AURA_DUMMY_GREEN, true);
                }
    
                uint32 summonTimer;
    
                void Reset()
                {
                    summonTimer = 5000;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (summonTimer <= diff)
                    {
                        DoCast(SPELL_FREYA_S_WARD_EFFECT_1);
                        DoCast(SPELL_FREYA_S_WARD_EFFECT_2);
                        summonTimer = 20000;
                    }
                    else
                        summonTimer -= diff;
    
                    if (!me->HasAura(AURA_DUMMY_GREEN))
                        me->CastSpell(me, AURA_DUMMY_GREEN, true);
    
                    UpdateVictim();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_freyas_wardAI(creature);
            }
    };
    
    class npc_freya_ward_summon : public CreatureScript
    {
        public:
            npc_freya_ward_summon() : CreatureScript("npc_freya_ward_summon") { }
    
            struct npc_freya_ward_summonAI : public ScriptedAI
            {
                npc_freya_ward_summonAI(Creature* creature) : ScriptedAI(creature)
                {
                    creature->GetMotionMaster()->MoveRandom(100);
                }
    
                uint32 lashTimer;
    
                void Reset()
                {
                    lashTimer = 5000;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (lashTimer <= diff)
                    {
                        DoCast(SPELL_LASH);
                        lashTimer = 20000;
                    }
                    else
                        lashTimer -= diff;
    
                    DoMeleeAttackIfReady();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_freya_ward_summonAI(creature);
            }
    };
    
    //npc lore keeper
    #define GOSSIP_ITEM_1  "Activate secondary defensive systems"
    #define GOSSIP_ITEM_2  "Confirmed"
    
    class npc_lorekeeper : public CreatureScript
    {
        public:
            npc_lorekeeper() : CreatureScript("npc_lorekeeper") { }
    
            struct npc_lorekeeperAI : public ScriptedAI
            {
                npc_lorekeeperAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                void DoAction(int32 const action)
                {
                    // Start encounter
                    if (action == ACTION_SPAWN_VEHICLES)
                    {
                        for (int32 i = 0; i < RAID_MODE(2, 5); ++i)
                            DoSummon(VEHICLE_SIEGE, PosSiege[i], 3000, TEMPSUMMON_CORPSE_TIMED_DESPAWN);
                        for (int32 i = 0; i < RAID_MODE(2, 5); ++i)
                            DoSummon(VEHICLE_CHOPPER, PosChopper[i], 3000, TEMPSUMMON_CORPSE_TIMED_DESPAWN);
                        for (int32 i = 0; i < RAID_MODE(2, 5); ++i)
                            DoSummon(VEHICLE_DEMOLISHER, PosDemolisher[i], 3000, TEMPSUMMON_CORPSE_TIMED_DESPAWN);
                        return;
                    }
                }
            };
    
            bool OnGossipSelect(Player* player, Creature* creature, uint32 /*uiSender*/, uint32 action)
            {
                player->PlayerTalkClass->ClearMenus();
                InstanceScript* instance = creature->GetInstanceScript();
                if (!instance)
                    return true;
    
                switch (action)
                {
                    case GOSSIP_ACTION_INFO_DEF+1:
                        if (player)
                        {
                            player->PrepareGossipMenu(creature);
                            instance->instance->LoadGrid(364, -16); //make sure leviathan is loaded
    
                            player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM_2, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);
                            player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
                        }
                        break;
                    case GOSSIP_ACTION_INFO_DEF+2:
                        if (player)
                            player->CLOSE_GOSSIP_MENU();
    
                        if (Creature* leviathan = instance->instance->GetCreature(instance->GetData64(BOSS_LEVIATHAN)))
                        {
                            leviathan->AI()->DoAction(ACTION_START_HARD_MODE);
                            creature->SetVisible(false);
                            creature->AI()->DoAction(ACTION_SPAWN_VEHICLES); // spawn the vehicles
                            if (Creature* Delorah = creature->FindNearestCreature(NPC_DELORAH, 1000, true))
                            {
                                if (Creature* Branz = creature->FindNearestCreature(NPC_BRANZ_BRONZBEARD, 1000, true))
                                {
                                    Delorah->GetMotionMaster()->MovePoint(0, Branz->GetPositionX()-4, Branz->GetPositionY(), Branz->GetPositionZ());
                                    //TODO DoScriptText(xxxx, Delorah, Branz); when reached at branz
                                }
                            }
                        }
                        break;
                }
    
                return true;
            }
    
            bool OnGossipHello(Player* player, Creature* creature)
            {
                InstanceScript* instance = creature->GetInstanceScript();
                if (instance && instance->GetData(BOSS_LEVIATHAN) !=DONE && player)
                {
                    player->PrepareGossipMenu(creature);
    
                    player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM_1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);
                    player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
                }
                return true;
            }
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_lorekeeperAI(creature);
            }
    };
    
    //enable hardmode
    ////npc_brann_bronzebeard this requires more work involving area triggers. if reached this guy speaks through his radio..
    //#define GOSSIP_ITEM_1  "xxxxx"
    //#define GOSSIP_ITEM_2  "xxxxx"
    //
    /*
    class npc_brann_bronzebeard : public CreatureScript
    {
    public:
        npc_brann_bronzebeard() : CreatureScript("npc_brann_bronzebeard") { }
    
        //bool OnGossipSelect(Player* player, Creature* creature, uint32 uiSender, uint32 uiAction)
        //{
        //    player->PlayerTalkClass->ClearMenus();
        //    switch(uiAction)
        //    {
        //        case GOSSIP_ACTION_INFO_DEF+1:
        //            if (player)
        //            {
        //                player->PrepareGossipMenu(creature);
        //
        //                player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM_2, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+2);
        //                player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
        //            }
        //            break;
        //        case GOSSIP_ACTION_INFO_DEF+2:
        //            if (player)
        //                player->CLOSE_GOSSIP_MENU();
        //            if (Creature* Lorekeeper = creature->FindNearestCreature(NPC_LOREKEEPER, 1000, true)) //lore keeper of lorgannon
        //                Lorekeeper->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
        //            break;
        //    }
        //    return true;
        //}
        //bool OnGossipHello(Player* player, Creature* creature)
        //{
        //    InstanceScript* instance = creature->GetInstanceScript();
        //    if (instance && instance->GetData(BOSS_LEVIATHAN) !=DONE)
        //    {
        //        player->PrepareGossipMenu(creature);
        //
        //        player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM_1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF+1);
        //        player->SEND_GOSSIP_MENU(player->GetGossipTextId(creature), creature->GetGUID());
        //    }
        //    return true;
        //}
        //
    }
    */
    
    class go_ulduar_tower : public GameObjectScript
    {
        public:
            go_ulduar_tower() : GameObjectScript("go_ulduar_tower") { }
    
            void OnDestroyed(GameObject* go, Player* /*player*/,  uint32 /*value*/)
            {
                InstanceScript* instance = go->GetInstanceScript();
                if (!instance)
                    return;
    
                switch (go->GetEntry())
                {
                    case GO_TOWER_OF_STORMS:
                        instance->ProcessEvent(go, EVENT_TOWER_OF_STORM_DESTROYED);
                        break;
                    case GO_TOWER_OF_FLAMES:
                        instance->ProcessEvent(go, EVENT_TOWER_OF_FLAMES_DESTROYED);
                        break;
                    case GO_TOWER_OF_FROST:
                        instance->ProcessEvent(go, EVENT_TOWER_OF_FROST_DESTROYED);
                        break;
                    case GO_TOWER_OF_LIFE:
                        instance->ProcessEvent(go, EVENT_TOWER_OF_LIFE_DESTROYED);
                        break;
                }
    
                Creature* trigger = go->FindNearestCreature(NPC_ULDUAR_GAUNTLET_GENERATOR, 15.0f, true);
                if (trigger)
                    trigger->DisappearAndDie();
            }
    };
    
    class achievement_three_car_garage_demolisher : public AchievementCriteriaScript
    {
        public:
            achievement_three_car_garage_demolisher() : AchievementCriteriaScript("achievement_three_car_garage_demolisher") { }
    
            bool OnCheck(Player* source, Unit* /*target*/)
            {
                if (Creature* vehicle = source->GetVehicleCreatureBase())
                {
                    if (vehicle->GetEntry() == VEHICLE_DEMOLISHER)
                        return true;
                }
    
                return false;
            }
    };
    
    class achievement_three_car_garage_chopper : public AchievementCriteriaScript
    {
        public:
            achievement_three_car_garage_chopper() : AchievementCriteriaScript("achievement_three_car_garage_chopper") { }
    
            bool OnCheck(Player* source, Unit* /*target*/)
            {
                if (Creature* vehicle = source->GetVehicleCreatureBase())
                {
                    if (vehicle->GetEntry() == VEHICLE_CHOPPER)
                        return true;
                }
    
                return false;
            }
    };
    
    class achievement_three_car_garage_siege : public AchievementCriteriaScript
    {
        public:
            achievement_three_car_garage_siege() : AchievementCriteriaScript("achievement_three_car_garage_siege") { }
    
            bool OnCheck(Player* source, Unit* /*target*/)
            {
                if (Creature* vehicle = source->GetVehicleCreatureBase())
                {
                    if (vehicle->GetEntry() == VEHICLE_SIEGE)
                        return true;
                }
    
                return false;
            }
    };
    
    class achievement_shutout : public AchievementCriteriaScript
    {
        public:
            achievement_shutout() : AchievementCriteriaScript("achievement_shutout") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (target)
                    if (Creature* leviathan = target->ToCreature())
                        if (leviathan->AI()->GetData(DATA_SHUTOUT))
                            return true;
    
                return false;
            }
    };
    
    class achievement_unbroken : public AchievementCriteriaScript
    {
        public:
            achievement_unbroken() : AchievementCriteriaScript("achievement_unbroken") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (target)
                    if (InstanceScript* instance = target->GetInstanceScript())
                        return instance->GetData(DATA_UNBROKEN);
    
                return false;
            }
    };
    
    class achievement_orbital_bombardment : public AchievementCriteriaScript
    {
        public:
            achievement_orbital_bombardment() : AchievementCriteriaScript("achievement_orbital_bombardment") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (!target)
                    return false;
    
                if (Creature* Leviathan = target->ToCreature())
                    if (Leviathan->AI()->GetData(DATA_ORBIT_ACHIEVEMENTS) >= 1)
                        return true;
    
                return false;
            }
    };
    
    class achievement_orbital_devastation : public AchievementCriteriaScript
    {
        public:
            achievement_orbital_devastation() : AchievementCriteriaScript("achievement_orbital_devastation") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (!target)
                    return false;
    
                if (Creature* Leviathan = target->ToCreature())
                    if (Leviathan->AI()->GetData(DATA_ORBIT_ACHIEVEMENTS) >= 2)
                        return true;
    
                return false;
            }
    };
    
    class achievement_nuked_from_orbit : public AchievementCriteriaScript
    {
        public:
            achievement_nuked_from_orbit() : AchievementCriteriaScript("achievement_nuked_from_orbit") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (!target)
                    return false;
    
                if (Creature* Leviathan = target->ToCreature())
                    if (Leviathan->AI()->GetData(DATA_ORBIT_ACHIEVEMENTS) >= 3)
                        return true;
    
                return false;
            }
    };
    
    class achievement_orbit_uary : public AchievementCriteriaScript
    {
        public:
            achievement_orbit_uary() : AchievementCriteriaScript("achievement_orbit_uary") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (!target)
                    return false;
    
                if (Creature* Leviathan = target->ToCreature())
                    if (Leviathan->AI()->GetData(DATA_ORBIT_ACHIEVEMENTS) == 4)
                        return true;
    
                return false;
            }
    };
    
    class spell_load_into_catapult : public SpellScriptLoader
    {
        enum Spells
        {
            SPELL_PASSENGER_LOADED = 62340,
        };
    
        public:
            spell_load_into_catapult() : SpellScriptLoader("spell_load_into_catapult") { }
    
            class spell_load_into_catapult_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_load_into_catapult_AuraScript);
    
                void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
                {
                    Unit* owner = GetOwner()->ToUnit();
                    if (!owner)
                        return;
    
                    owner->CastSpell(owner, SPELL_PASSENGER_LOADED, true);
                }
    
                void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
                {
                    Unit* owner = GetOwner()->ToUnit();
                    if (!owner)
                        return;
    
                    owner->RemoveAurasDueToSpell(SPELL_PASSENGER_LOADED);
                }
    
                void Register()
                {
                    OnEffectApply += AuraEffectApplyFn(spell_load_into_catapult_AuraScript::OnApply, EFFECT_0, SPELL_AURA_CONTROL_VEHICLE, AURA_EFFECT_HANDLE_REAL);
                    OnEffectRemove += AuraEffectRemoveFn(spell_load_into_catapult_AuraScript::OnRemove, EFFECT_0, SPELL_AURA_CONTROL_VEHICLE, AURA_EFFECT_HANDLE_REAL_OR_REAPPLY_MASK);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_load_into_catapult_AuraScript();
            }
    };
    
    class spell_auto_repair : public SpellScriptLoader
    {
        enum Spells
        {
            SPELL_AUTO_REPAIR = 62705,
        };
    
        public:
            spell_auto_repair() : SpellScriptLoader("spell_auto_repair") {}
    
            class spell_auto_repair_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_auto_repair_SpellScript);
    
                void CheckCooldownForTarget()
                {
                    if (GetHitUnit()->HasAuraEffect(SPELL_AUTO_REPAIR, EFFECT_2))   // Check presence of dummy aura indicating cooldown
                    {
                        PreventHitEffect(EFFECT_0);
                        PreventHitDefaultEffect(EFFECT_1);
                        PreventHitDefaultEffect(EFFECT_2);
                        //! Currently this doesn't work: if we call PreventHitAura(), the existing aura will be removed
                        //! because of recent aura refreshing changes. Since removing the existing aura negates the idea
                        //! of a cooldown marker, we just let the dummy aura refresh itself without executing the other spelleffects.
                        //! The spelleffects can be executed by letting the dummy aura expire naturally.
                        //! This is a temporary solution only.
                        //PreventHitAura();
                    }
                }
    
                void HandleScript(SpellEffIndex /*eff*/)
                {
                    Vehicle* vehicle = GetHitUnit()->GetVehicleKit();
                    if (!vehicle)
                        return;
    
                    Player* driver = vehicle->GetPassenger(0) ? vehicle->GetPassenger(0)->ToPlayer() : NULL;
                    if (!driver)
                        return;
    
                    driver->MonsterTextEmote(EMOTE_REPAIR, driver->GetGUID(), true);
    
                    InstanceScript* instance = driver->GetInstanceScript();
                    if (!instance)
                        return;
    
                    // Actually should/could use basepoints (100) for this spell effect as percentage of health, but oh well.
                    vehicle->GetBase()->SetFullHealth();
    
                    // For achievement
                    instance->SetData(DATA_UNBROKEN, 0);
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_auto_repair_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
                    BeforeHit += SpellHitFn(spell_auto_repair_SpellScript::CheckCooldownForTarget);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_auto_repair_SpellScript();
            }
    };
    
    class spell_systems_shutdown : public SpellScriptLoader
    {
        public:
            spell_systems_shutdown() : SpellScriptLoader("spell_systems_shutdown") { }
    
            class spell_systems_shutdown_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_systems_shutdown_AuraScript);
    
                void OnApply(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
                {
                    Creature* owner = GetOwner()->ToCreature();
                    if (!owner)
                        return;
    
                    //! This could probably in the SPELL_EFFECT_SEND_EVENT handler too:
                    owner->AddUnitState(UNIT_STATE_STUNNED | UNIT_STATE_ROOT);
                    owner->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED);
                    owner->RemoveAurasDueToSpell(SPELL_GATHERING_SPEED);
                }
    
                void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
                {
                    Creature* owner = GetOwner()->ToCreature();
                    if (!owner)
                        return;
    
                    owner->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED);
                }
    
                void Register()
                {
                    OnEffectApply += AuraEffectApplyFn(spell_systems_shutdown_AuraScript::OnApply, EFFECT_0, SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN, AURA_EFFECT_HANDLE_REAL);
                    OnEffectRemove += AuraEffectRemoveFn(spell_systems_shutdown_AuraScript::OnRemove, EFFECT_0, SPELL_AURA_MOD_DAMAGE_PERCENT_TAKEN, AURA_EFFECT_HANDLE_REAL);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_systems_shutdown_AuraScript();
            }
    };
    
    class FlameLeviathanPursuedTargetSelector
    {
        enum Area
        {
            AREA_FORMATION_GROUNDS = 4652,
        };
    
        public:
            explicit FlameLeviathanPursuedTargetSelector(Unit* unit) : _me(unit) {};
    
            bool operator()(Unit* target) const
            {
                //! No players, only vehicles (todo: check if blizzlike)
                Creature* creatureTarget = target->ToCreature();
                if (!creatureTarget)
                    return true;
    
                //! NPC entries must match
                if (creatureTarget->GetEntry() != NPC_SALVAGED_DEMOLISHER && creatureTarget->GetEntry() != NPC_SALVAGED_SIEGE_ENGINE)
                    return true;
    
                //! NPC must be a valid vehicle installation
                Vehicle* vehicle = creatureTarget->GetVehicleKit();
                if (!vehicle)
                    return true;
    
                //! Entity needs to be in appropriate area
                if (target->GetAreaId() != AREA_FORMATION_GROUNDS)
                    return true;
    
                //! Vehicle must be in use by player
                bool playerFound = false;
                for (SeatMap::const_iterator itr = vehicle->Seats.begin(); itr != vehicle->Seats.end() && !playerFound; ++itr)
                    if (IS_PLAYER_GUID(itr->second.Passenger))
                        playerFound = true;
    
                return !playerFound;
            }
    
        private:
            Unit const* _me;
    };
    
    class spell_pursue : public SpellScriptLoader
    {
        public:
            spell_pursue() : SpellScriptLoader("spell_pursue") {}
    
            class spell_pursue_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_pursue_SpellScript);
    
                bool Load()
                {
                    _target = NULL;
                    return true;
                }
    
                void FilterTargets(std::list<Unit*>& targets)
                {
                    targets.remove_if(FlameLeviathanPursuedTargetSelector(GetCaster()));
                    if (targets.empty())
                    {
                        if (Creature* caster = GetCaster()->ToCreature())
                            caster->AI()->EnterEvadeMode();
                    }
                    else
                    {
                        //! In the end, only one target should be selected
                        _target = SelectRandomContainerElement(targets);
                        FilterTargetsSubsequently(targets);
                    }
                }
    
                void FilterTargetsSubsequently(std::list<Unit*>& targets)
                {
                    targets.clear();
                    if(_target)
                        targets.push_back(_target);
                }
    
                void HandleScript(SpellEffIndex /*eff*/)
                {
                    Creature* caster = GetCaster()->ToCreature();
                    if (!caster)
                        return;
    
                    caster->AI()->AttackStart(GetHitUnit());    // Chase target
    
                    for (SeatMap::const_iterator itr = caster->GetVehicleKit()->Seats.begin(); itr != caster->GetVehicleKit()->Seats.end(); ++itr)
                    {
                        if (IS_PLAYER_GUID(itr->second.Passenger))
                        {
                            caster->MonsterTextEmote(EMOTE_PURSUE, itr->second.Passenger, true);
                            return;
                        }
                    }
                }
    
                void Register()
                {
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_pursue_SpellScript::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_pursue_SpellScript::FilterTargetsSubsequently, EFFECT_1, TARGET_UNIT_SRC_AREA_ENEMY);
                    OnEffectHitTarget += SpellEffectFn(spell_pursue_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_APPLY_AURA);
                }
    
                Unit* _target;
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_pursue_SpellScript();
            }
    };
    
    class spell_vehicle_throw_passenger : public SpellScriptLoader
    {
        public:
            spell_vehicle_throw_passenger() : SpellScriptLoader("spell_vehicle_throw_passenger") {}
    
            class spell_vehicle_throw_passenger_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_vehicle_throw_passenger_SpellScript);
                void HandleScript(SpellEffIndex effIndex)
                {
                    Spell* baseSpell = GetSpell();
                    SpellCastTargets targets = baseSpell->m_targets;
                    int32 damage = GetEffectValue();
                    if (targets.HasTraj())
                        if (Vehicle* vehicle = GetCaster()->GetVehicleKit())
                            if (Unit* passenger = vehicle->GetPassenger(damage - 1))
                            {
                                // use 99 because it is 3d search
                                std::list<WorldObject*> targetList;
                                Trinity::WorldObjectSpellAreaTargetCheck check(99, GetTargetDest(), GetCaster(), GetCaster(), GetSpellInfo(), TARGET_CHECK_DEFAULT, NULL);
                                Trinity::WorldObjectListSearcher<Trinity::WorldObjectSpellAreaTargetCheck> searcher(GetCaster(), targetList, check);
                                GetCaster()->GetMap()->VisitAll(GetCaster()->m_positionX, GetCaster()->m_positionY, 99, searcher);
                                float minDist = 99 * 99;
                                Unit* target = NULL;
                                for (std::list<WorldObject*>::iterator itr = targetList.begin(); itr != targetList.end(); ++itr)
                                {
                                    if (Unit* unit = (*itr)->ToUnit())
                                        if (unit->GetEntry() == NPC_SEAT)
                                            if (Vehicle* seat = unit->GetVehicleKit())
                                                if (!seat->GetPassenger(0))
                                                    if (Unit* device = seat->GetPassenger(2))
                                                        if (!device->GetCurrentSpell(CURRENT_CHANNELED_SPELL))
                                                        {
                                                            float dist = unit->GetExactDistSq(targets.GetDst());
                                                            if (dist < minDist)
                                                            {
                                                                minDist = dist;
                                                                target = unit;
                                                            }
                                                        }
                                }
                                if (target && target->IsWithinDist2d(targets.GetDst(), GetSpellInfo()->Effects[effIndex].CalcRadius() * 2)) // now we use *2 because the location of the seat is not correct
                                    passenger->EnterVehicle(target, 0);
                                else
                                {
                                    passenger->ExitVehicle();
                                    float x, y, z;
                                    targets.GetDst()->GetPosition(x, y, z);
                                    passenger->GetMotionMaster()->MoveJump(x, y, z, targets.GetSpeedXY(), targets.GetSpeedZ());
                                }
                            }
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_vehicle_throw_passenger_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_DUMMY);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_vehicle_throw_passenger_SpellScript();
            }
    };
    
    void AddSC_boss_flame_leviathan()
    {
        new boss_flame_leviathan();
        new boss_flame_leviathan_seat();
        new boss_flame_leviathan_defense_turret();
        new boss_flame_leviathan_defense_cannon();
        new boss_flame_leviathan_overload_device();
        new boss_flame_leviathan_safety_container();
        new npc_mechanolift();
        new npc_pool_of_tar();
        new npc_colossus();
        new npc_thorims_hammer();
        new npc_mimirons_inferno();
        new npc_hodirs_fury();
        new npc_freyas_ward();
        new npc_freya_ward_summon();
        new npc_lorekeeper();
        // new npc_brann_bronzebeard();
        new go_ulduar_tower();
    
        new achievement_three_car_garage_demolisher();
        new achievement_three_car_garage_chopper();
        new achievement_three_car_garage_siege();
        new achievement_shutout();
        new achievement_unbroken();
        new achievement_orbital_bombardment();
        new achievement_orbital_devastation();
        new achievement_nuked_from_orbit();
        new achievement_orbit_uary();
    
        new spell_load_into_catapult();
        new spell_auto_repair();
        new spell_systems_shutdown();
        new spell_pursue();
        new spell_vehicle_throw_passenger();
    }


    Spoiler untuk boss_freya.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "SpellScript.h"
    #include "Cell.h"
    #include "CellImpl.h"
    #include "GridNotifiers.h"
    #include "GridNotifiersImpl.h"
    #include "ulduar.h"
    
    enum FreyaYells
    {
        // Freya
        SAY_AGGRO                                    = -1603180,
        SAY_AGGRO_WITH_ELDER                         = -1603181,
        SAY_SLAY_1                                   = -1603182,
        SAY_SLAY_2                                   = -1603183,
        SAY_DEATH                                    = -1603184,
        SAY_BERSERK                                  = -1603185,
        SAY_SUMMON_CONSERVATOR                       = -1603186,
        SAY_SUMMON_TRIO                              = -1603187,
        SAY_SUMMON_LASHERS                           = -1603188,
        SAY_YS_HELP                                  = -1603189,
    
        // Elder Brightleaf
        SAY_BRIGHTLEAF_AGGRO                         = -1603190,
        SAY_BRIGHTLEAF_SLAY_1                        = -1603191,
        SAY_BRIGHTLEAF_SLAY_2                        = -1603192,
        SAY_BRIGHTLEAF_DEATH                         = -1603193,
    
        // Elder Ironbranch
        SAY_IRONBRANCH_AGGRO                         = -1603194,
        SAY_IRONBRANCH_SLAY_1                        = -1603195,
        SAY_IRONBRANCH_SLAY_2                        = -1603196,
        SAY_IRONBRANCH_DEATH                         = -1603197,
    
        // Elder Stonebark
        SAY_STONEBARK_AGGRO                          = -1603198,
        SAY_STONEBARK_SLAY_1                         = -1603199,
        SAY_STONEBARK_SLAY_2                         = -1603200,
        SAY_STONEBARK_DEATH                          = -1603201,
    };
    
    enum FreyaSpells
    {
        // Freya
        SPELL_ATTUNED_TO_NATURE                      = 62519,
        SPELL_TOUCH_OF_EONAR                         = 62528,
        SPELL_SUNBEAM                                = 62623,
        SPELL_ENRAGE                                 = 47008,
        SPELL_FREYA_GROUND_TREMOR                    = 62437,
        SPELL_ROOTS_FREYA                            = 62283,
        SPELL_STONEBARK_ESSENCE                      = 62483,
        SPELL_IRONBRANCH_ESSENCE                     = 62484,
        SPELL_BRIGHTLEAF_ESSENCE                     = 62485,
        SPELL_DRAINED_OF_POWER                       = 62467,
        SPELL_SUMMON_EONAR_GIFT                      = 62572,
    
        // Stonebark
        SPELL_FISTS_OF_STONE                         = 62344,
        SPELL_GROUND_TREMOR                          = 62325,
        SPELL_PETRIFIED_BARK                         = 62337,
        SPELL_PETRIFIED_BARK_DMG                     = 62379,
    
        // Ironbranch
        SPELL_IMPALE                                 = 62310,
        SPELL_ROOTS_IRONBRANCH                       = 62438,
        SPELL_THORN_SWARM                            = 62285,
    
        // Brightleaf
        SPELL_FLUX_AURA                              = 62239,
        SPELL_FLUX                                   = 62262,
        SPELL_FLUX_PLUS                              = 62251,
        SPELL_FLUX_MINUS                             = 62252,
        SPELL_SOLAR_FLARE                            = 62240,
        SPELL_UNSTABLE_SUN_BEAM_SUMMON               = 62207, // Trigger 62221
    
        // Stack Removing of Attuned to Nature
        SPELL_REMOVE_25STACK                         = 62521,
        SPELL_REMOVE_10STACK                         = 62525,
        SPELL_REMOVE_2STACK                          = 62524,
    
        // Achievement spells
        SPELL_DEFORESTATION_CREDIT                   = 65015,
        SPELL_KNOCK_ON_WOOD_CREDIT                   = 65074,
    
        // Wave summoning spells
        SPELL_SUMMON_LASHERS                         = 62687,
        SPELL_SUMMON_TRIO                            = 62686,
        SPELL_SUMMON_ANCIENT_CONSERVATOR             = 62685,
    
        // Detonating Lasher
        SPELL_DETONATE                               = 62598,
        SPELL_FLAME_LASH                             = 62608,
    
        // Ancient Water Spirit
        SPELL_TIDAL_WAVE                             = 62653,
        SPELL_TIDAL_WAVE_EFFECT                      = 62654,
    
        // Storm Lasher
        SPELL_LIGHTNING_LASH                         = 62648,
        SPELL_STORMBOLT                              = 62649,
    
        // Snaplasher
        SPELL_HARDENED_BARK                          = 62664,
        SPELL_BARK_AURA                              = 62663,
    
        // Ancient Conservator
        SPELL_CONSERVATOR_GRIP                       = 62532,
        SPELL_NATURE_FURY                            = 62589,
        SPELL_SUMMON_PERIODIC                        = 62566,
        SPELL_SPORE_SUMMON_NW                        = 62582, // Not used, triggered by SPELL_SUMMON_PERIODIC
        SPELL_SPORE_SUMMON_NE                        = 62591,
        SPELL_SPORE_SUMMON_SE                        = 62592,
        SPELL_SPORE_SUMMON_SW                        = 62593,
    
        // Healthly Spore
        SPELL_HEALTHY_SPORE_VISUAL                   = 62538,
        SPELL_GROW                                   = 62559,
        SPELL_POTENT_PHEROMONES                      = 62541,
    
        // Eonar's Gift
        SPELL_LIFEBINDERS_GIFT                       = 62584,
        SPELL_PHEROMONES                             = 62619,
        SPELL_EONAR_VISUAL                           = 62579,
    
        // Nature Bomb
        SPELL_NATURE_BOMB                            = 64587,
        SPELL_OBJECT_BOMB                            = 64600,
        SPELL_SUMMON_NATURE_BOMB                     = 64606,
    
        // Unstable Sun Beam
        SPELL_UNSTABLE_SUN_BEAM                      = 62211,
        SPELL_UNSTABLE_ENERGY                        = 62217,
        SPELL_PHOTOSYNTHESIS                         = 62209,
        SPELL_UNSTABLE_SUN_BEAM_TRIGGERED            = 62243,
        SPELL_FREYA_UNSTABLE_SUNBEAM                 = 62450, // Or maybe 62866?
    
        // Sun Beam
        SPELL_FREYA_UNSTABLE_ENERGY                  = 62451,
        SPELL_FREYA_UNSTABLE_ENERGY_VISUAL           = 62216,
    
        // Attuned To Nature spells
        SPELL_ATTUNED_TO_NATURE_2_DOSE_REDUCTION     = 62524,
        SPELL_ATTUNED_TO_NATURE_10_DOSE_REDUCTION    = 62525,
        SPELL_ATTUNED_TO_NATURE_25_DOSE_REDUCTION    = 62521,
    };
    
    enum FreyaNpcs
    {
        NPC_SUN_BEAM                                 = 33170,
        NPC_DETONATING_LASHER                        = 32918,
        NPC_ANCIENT_CONSERVATOR                      = 33203,
        NPC_ANCIENT_WATER_SPIRIT                     = 33202,
        NPC_STORM_LASHER                             = 32919,
        NPC_SNAPLASHER                               = 32916,
        NPC_NATURE_BOMB                              = 34129,
        NPC_EONARS_GIFT                              = 33228,
        NPC_HEALTHY_SPORE                            = 33215,
        NPC_UNSTABLE_SUN_BEAM                        = 33050,
        NPC_IRON_ROOTS                               = 33088,
        NPC_STRENGTHENED_IRON_ROOTS                  = 33168,
    
        OBJECT_NATURE_BOMB                           = 194902,
    };
    
    enum FreyaActions
    {
        ACTION_ELDER_DEATH                           = 1,
        ACTION_ELDER_FREYA_KILLED                    = 2,
    };
    
    enum FreyaEvents
    {
        // Freya
        EVENT_WAVE                                   = 1,
        EVENT_EONAR_GIFT                             = 2,
        EVENT_NATURE_BOMB                            = 3,
        EVENT_UNSTABLE_ENERGY                        = 4,
        EVENT_STRENGTHENED_IRON_ROOTS                = 5,
        EVENT_GROUND_TREMOR                          = 6,
        EVENT_SUNBEAM                                = 7,
        EVENT_ENRAGE                                 = 8,
    
        // Elder Stonebark
        EVENT_TREMOR                                 = 9,
        EVENT_BARK                                   = 10,
        EVENT_FISTS                                  = 11,
    
        // Elder Ironbranch
        EVENT_IMPALE                                 = 12,
        EVENT_IRON_ROOTS                             = 13,
        EVENT_THORN_SWARM                            = 14,
    
        // Elder Brightleaf
        EVENT_SOLAR_FLARE                            = 15,
        EVENT_UNSTABLE_SUN_BEAM                      = 16,
        EVENT_FLUX                                   = 17,
    };
    
    #define WAVE_TIME                                60000 // Normal wave is one minute
    #define TIME_DIFFERENCE                          10000 // If difference between waveTime and WAVE_TIME is bigger then TIME_DIFFERENCE, schedule EVENT_WAVE in 10 seconds
    #define DATA_GETTING_BACK_TO_NATURE              1
    #define DATA_KNOCK_ON_WOOD                       2
    
    class npc_iron_roots : public CreatureScript
    {
        public:
            npc_iron_roots() : CreatureScript("npc_iron_roots") { }
    
            struct npc_iron_rootsAI : public Scripted_NoMovementAI
            {
                npc_iron_rootsAI(Creature* creature) : Scripted_NoMovementAI(creature)
                {
                    me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_KNOCK_BACK, true);
                    me->ApplySpellImmune(0, IMMUNITY_ID, 49560, true); // Death Grip
                    me->setFaction(14);
                    me->SetReactState(REACT_PASSIVE);
                    summonerGUID = 0;
                }
    
                void IsSummonedBy(Unit* summoner)
                {
                    if (summoner->GetTypeId() != TYPEID_PLAYER)
                        return;
                    // Summoner is a player, who should have root aura on self
                    summonerGUID = summoner->GetGUID();
                    me->SetFacingToObject(summoner);
                    me->SetInCombatWith(summoner);
                }
    
                void JustDied(Unit* /*who*/)
                {
                    if (Player* target = ObjectAccessor::GetPlayer(*me, summonerGUID))
                    {
                        target->RemoveAurasDueToSpell(SPELL_ROOTS_IRONBRANCH);
                        target->RemoveAurasDueToSpell(SPELL_ROOTS_FREYA);
                    }
    
                    me->RemoveCorpse(false);
                }
    
            private:
                uint64 summonerGUID;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_iron_rootsAI(creature);
            }
    };
    
    class boss_freya : public CreatureScript
    {
        public:
            boss_freya() : CreatureScript("boss_freya") { }
    
            struct boss_freyaAI : public BossAI
            {
                boss_freyaAI(Creature* creature) : BossAI(creature, BOSS_FREYA)
                {
                }
    
                uint64 ElementalGUID[3][2];
    
                uint32 deforestation[6][2];
                uint32 elementalTimer[2];
                uint32 diffTimer;
                uint8 trioWaveCount;
                uint8 trioWaveController;
                uint8 waveCount;
                uint8 elderCount;
                uint8 attunedToNature;
    
                bool checkElementalAlive[2];
                bool trioDefeated[2];
                bool random[3];
    
                void Reset()
                {
                    _Reset();
                    summons.clear();
                    trioWaveCount = 0;
                    trioWaveController = 0;
                    waveCount = 0;
                    elderCount = 0;
    
                    for (uint8 i = 0; i < 3; ++i)
                        for (uint8 n = 0; n < 2; ++n)
                            ElementalGUID[i][n] = 0;
                    for (uint8 i = 0; i < 6; ++i)
                        for (uint8 n = 0; n < 2; ++n)
                            deforestation[i][n] = 0;
                    for (uint8 n = 0; n < 2; ++n)
                    {
                        checkElementalAlive[n] = true;
                        trioDefeated[n] = false;
                    }
                    for (uint8 n = 0; n < 3; ++n)
                        random[n] = false;
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
                }
    
                void DamageTaken(Unit* who, uint32& damage)
                {
                    if (damage >= me->GetHealth())
                    {
                        damage = 0;
                        JustDied(who);
                    }
                }
    
                void EnterCombat(Unit* who)
                {
                    _EnterCombat();
                    DoZoneInCombat();
                    Creature* Elder[3];
                    for (uint8 n = 0; n < 3; ++n)
                    {
                        Elder[n] = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_BRIGHTLEAF + n));
                        if (Elder[n] && Elder[n]->isAlive())
                        {
                            me->AddAura(SPELL_DRAINED_OF_POWER, Elder[n]);
                            Elder[n]->CastSpell(me, SPELL_IRONBRANCH_ESSENCE, true);
                            Elder[n]->RemoveLootMode(LOOT_MODE_DEFAULT); //! Why?
                            Elder[n]->AI()->AttackStart(who);
                            Elder[n]->AddThreat(who, 250.0f);
                            Elder[n]->SetInCombatWith(who);
                            ++elderCount;
                        }
                    }
    
                    if (Elder[0] && Elder[0]->isAlive())
                    {
                        Elder[0]->CastSpell(me, SPELL_BRIGHTLEAF_ESSENCE, true);
                        events.ScheduleEvent(EVENT_UNSTABLE_ENERGY, urand(10000, 20000));
                    }
    
                    if (Elder[1] && Elder[1]->isAlive())
                    {
                        Elder[1]->CastSpell(me, SPELL_STONEBARK_ESSENCE, true);
                        events.ScheduleEvent(EVENT_GROUND_TREMOR, urand(10000, 20000));
                    }
    
                    if (Elder[2] && Elder[2]->isAlive())
                    {
                        Elder[2]->CastSpell(me, SPELL_IRONBRANCH_ESSENCE, true);
                        events.ScheduleEvent(EVENT_STRENGTHENED_IRON_ROOTS, urand(10000, 20000));
                    }
    
                    if (elderCount == 0)
                        DoScriptText(SAY_AGGRO, me);
                    else
                        DoScriptText(SAY_AGGRO_WITH_ELDER, me);
    
                    me->CastCustomSpell(SPELL_ATTUNED_TO_NATURE, SPELLVALUE_AURA_STACK, 150, me, true);
    
                    events.ScheduleEvent(EVENT_WAVE, 10000);
                    events.ScheduleEvent(EVENT_EONAR_GIFT, 25000);
                    events.ScheduleEvent(EVENT_ENRAGE, 600000);
                    events.ScheduleEvent(EVENT_SUNBEAM, urand(5000, 15000));
                }
    
                uint32 GetData(uint32 type)
                {
                    switch (type)
                    {
                        case DATA_GETTING_BACK_TO_NATURE:
                            return attunedToNature;
                        case DATA_KNOCK_ON_WOOD:
                            return elderCount;
                    }
    
                    return 0;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_ENRAGE:
                                DoScriptText(SAY_BERSERK, me);
                                DoCast(me, SPELL_ENRAGE);
                                break;
                            case EVENT_SUNBEAM:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true))
                                    DoCast(target, SPELL_SUNBEAM);
                                events.ScheduleEvent(EVENT_SUNBEAM, urand(10000, 15000));
                                break;
                            case EVENT_NATURE_BOMB:
                            {
                                // On every player
                                std::list<Player*> PlayerList;
                                Trinity::AnyPlayerInObjectRangeCheck checker(me, 50.0f);
                                Trinity::PlayerListSearcher<Trinity::AnyPlayerInObjectRangeCheck> searcher(me, PlayerList, checker);
                                me->VisitNearbyWorldObject(50.0f, searcher);
                                for (std::list<Player*>::const_iterator itr = PlayerList.begin(); itr != PlayerList.end(); ++itr)
                                    (*itr)->CastSpell(*itr, SPELL_SUMMON_NATURE_BOMB, true);
                                events.ScheduleEvent(EVENT_NATURE_BOMB, urand(10000, 12000));
                                break;
                            }
                            case EVENT_UNSTABLE_ENERGY:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true))
                                    DoCast(target, SPELL_FREYA_UNSTABLE_SUNBEAM, true);
                                events.ScheduleEvent(EVENT_UNSTABLE_ENERGY, urand(15000, 20000));
                                break;
                            case EVENT_WAVE:
                                SpawnWave();
                                if (waveCount <= 6) // If set to 6 The Bombs appear during the Final Add wave
                                    events.ScheduleEvent(EVENT_WAVE, WAVE_TIME);
                                else
                                    events.ScheduleEvent(EVENT_NATURE_BOMB, urand(10000, 20000));
                                break;
                            case EVENT_EONAR_GIFT:
                                DoCast(me, SPELL_SUMMON_EONAR_GIFT);
                                events.ScheduleEvent(EVENT_EONAR_GIFT, urand(40000, 50000));
                                break;
                            case EVENT_STRENGTHENED_IRON_ROOTS:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true, -SPELL_ROOTS_FREYA))
                                    target->CastSpell(target, SPELL_ROOTS_FREYA, true); // This must be casted by Target self
                                events.ScheduleEvent(EVENT_STRENGTHENED_IRON_ROOTS, urand(12000, 20000));
                                break;
                            case EVENT_GROUND_TREMOR:
                                DoCastAOE(SPELL_FREYA_GROUND_TREMOR);
                                events.ScheduleEvent(EVENT_GROUND_TREMOR, urand(25000, 28000));
                                break;
                        }
                    }
    
                    if (!me->HasAura(SPELL_TOUCH_OF_EONAR))
                        me->CastSpell(me, SPELL_TOUCH_OF_EONAR, true);
    
                    // For achievement check
                    if (Aura* aura = me->GetAura(SPELL_ATTUNED_TO_NATURE))
                        attunedToNature = aura->GetStackAmount();
                    else
                        attunedToNature = 0;
    
                    diffTimer += diff;                                               // For getting time difference for Deforestation achievement
    
                    // Elementals must be killed within 12 seconds of each other, or they will all revive and heal
                    Creature* Elemental[3][2];
                    for (uint8 i = 0; i < 2; ++i)
                    {
                        if (checkElementalAlive[i])
                            elementalTimer[i] = 0;
                        else
                        {
                            elementalTimer[i] += diff;
                            for (uint8 k = 0; k < 3; ++k)
                                Elemental[k][i] = ObjectAccessor::GetCreature(*me, ElementalGUID[k][i]);
                            if (elementalTimer[i] > 12000)
                            {
                                if (!trioDefeated[i]) // Do *NOT* merge this bool with bool few lines below!
                                {
                                    if (Elemental[0][i] && Elemental[1][i] && Elemental[2][i])
                                    {
                                        for (uint8 n = 0; n < 3; ++n)
                                        {
                                            if (Elemental[n][i]->isAlive())
                                                Elemental[n][i]->SetHealth(Elemental[n][i]->GetMaxHealth());
                                            else
                                                Elemental[n][i]->Respawn();
                                        }
                                    }
                                }
                                checkElementalAlive[i] = true;
                            }
                            else
                            {
                                if (!trioDefeated[i])
                                {
                                    if (Elemental[0][i] && Elemental[1][i] && Elemental[2][i])
                                    {
                                        if (Elemental[0][i]->isDead() && Elemental[1][i]->isDead() && Elemental[2][i]->isDead())
                                        {
                                            for (uint8 n = 0; n < 3; ++n)
                                            {
                                                summons.remove(Elemental[n][i]->GetGUID());
                                                Elemental[n][i]->ForcedDespawn(5000);
                                                trioDefeated[i] = true;
                                                Elemental[n][i]->CastSpell(me, SPELL_REMOVE_10STACK, true);
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
    
                // Check if all Trio NPCs are dead - achievement check
                void LasherDead(uint32 type)                                         // Type must be in format of a binary mask
                {
                    uint8 n = 0;
    
                    // Handling received data
                    for (uint8 i = 0; i < 5; ++i)                                    // We have created "instances" for keeping informations about last 6 death lashers - needed because of respawning
                    {
                        deforestation[i][0] = deforestation[(i + 1)][0];             // Time
                        deforestation[i][1] = deforestation[(i + 1)][1];             // Type
                    }
                    deforestation[5][0] = diffTimer;
                    deforestation[5][1] = type;
    
                    // Check for achievement completion
                    if (deforestation[0][1])                                         // Check for proper functionality of binary masks (overflow would not be problem)
                    {
                        for (uint8 i = 0; i < 6; ++i)                                // Count binary mask
                        {
                            n += deforestation[i][1];
                        }
                        if ((deforestation[5][0] - deforestation[0][0]) < 10000)     // Time check
                        {
                            if (n == 14 && instance)                                 // Binary mask check - verification of lasher types
                            {
                                instance->DoCastSpellOnPlayers(SPELL_DEFORESTATION_CREDIT);
                            }
                        }
                    }
                }
    
                // Random order of spawning waves
                int GetWaveId()
                {
                    if (random[0] && random[1] && random[2])
                        for (uint8 n = 0; n < 3; ++n)
                            random[n] = false;
    
                    uint8 randomId = urand(0, 2);
    
                    while (random[randomId])
                        randomId = urand(0, 2);
    
                    random[randomId] = true;
                    return randomId;
                }
    
                void SpawnWave()
                {
                    switch (GetWaveId())
                    {
                        case 0:
                            DoScriptText(SAY_SUMMON_LASHERS, me);
                            for (uint8 n = 0; n < 10; ++n)
                                DoCast(SPELL_SUMMON_LASHERS);
                            break;
                        case 1:
                            DoScriptText(SAY_SUMMON_TRIO, me);
                            DoCast(SPELL_SUMMON_TRIO);
                            trioWaveCount++;
                            break;
                        case 2:
                            DoScriptText(SAY_SUMMON_CONSERVATOR, me);
                            DoCast(SPELL_SUMMON_ANCIENT_CONSERVATOR);
                            break;
                    }
                    waveCount++;
                }
    
                void JustDied(Unit* /*who*/)
                {
                    //! Freya's chest is dynamically spawned on death by different spells.
                    const uint32 summonSpell[2][4] =
                    {
                                  /* 0Elder, 1Elder, 2Elder, 3Elder */
                        /* 10N */    {62950, 62953, 62955, 62957},
                        /* 25N */    {62952, 62954, 62956, 62958}
                    };
    
                    me->CastSpell((Unit*)NULL, summonSpell[me->GetMap()->GetDifficulty()][elderCount], true);
    
                    DoScriptText(SAY_DEATH, me);
                    me->SetReactState(REACT_PASSIVE);
                    _JustDied();
                    me->RemoveAllAuras();
                    me->AttackStop();
                    me->setFaction(35);
                    me->DeleteThreatList();
                    me->CombatStop(true);
                    me->DespawnOrUnsummon(7500);
                    me->CastSpell(me, SPELL_KNOCK_ON_WOOD_CREDIT, true);
    
                    Creature* Elder[3];
                    for (uint8 n = 0; n < 3; ++n)
                    {
                        Elder[n] = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_BRIGHTLEAF + n));
                        if (Elder[n] && Elder[n]->isAlive())
                        {
                            Elder[n]->RemoveAllAuras();
                            Elder[n]->AttackStop();
                            Elder[n]->CombatStop(true);
                            Elder[n]->DeleteThreatList();
                            Elder[n]->GetAI()->DoAction(ACTION_ELDER_FREYA_KILLED);
                        }
                    }
                }
    
                void JustSummoned(Creature* summoned)
                {
                    switch (summoned->GetEntry())
                    {
                        case NPC_SNAPLASHER:
                        case NPC_ANCIENT_WATER_SPIRIT:
                        case NPC_STORM_LASHER:
                            ElementalGUID[trioWaveController][trioWaveCount] = summoned->GetGUID();
                            summons.push_back(summoned->GetGUID());
                            ++trioWaveController;
                            if (trioWaveController > 2)
                                trioWaveController = 0;
                            break;
                        case NPC_DETONATING_LASHER:
                        case NPC_ANCIENT_CONSERVATOR:
                        default:
                            summons.push_back(summoned->GetGUID());
                            break;
                    }
    
                    // Need to have it there, or summoned units would do nothing untill attacked
                    if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 250.0f, true))
                    {
                        summoned->AI()->AttackStart(target);
                        summoned->AddThreat(target, 250.0f);
                        DoZoneInCombat(summoned);
                    }
                }
    
                void SummonedCreatureDies(Creature* summoned, Unit* who)
                {
                    switch (summoned->GetEntry())
                    {
                        case NPC_DETONATING_LASHER:
                            summoned->CastSpell(me, SPELL_REMOVE_2STACK, true);
                            summoned->CastSpell(who, SPELL_DETONATE, true);
                            summoned->ForcedDespawn(5000);
                            summons.remove(summoned->GetGUID());
                            break;
                        case NPC_ANCIENT_CONSERVATOR:
                            summoned->CastSpell(me, SPELL_REMOVE_25STACK, true);
                            summoned->ForcedDespawn(5000);
                            summons.remove(summoned->GetGUID());
                            break;
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_freyaAI>(creature);
            }
    };
    
    class boss_elder_brightleaf : public CreatureScript
    {
        public:
            boss_elder_brightleaf() : CreatureScript("boss_elder_brightleaf") { }
    
            struct boss_elder_brightleafAI : public BossAI
            {
                boss_elder_brightleafAI(Creature* creature) : BossAI(creature, BOSS_BRIGHTLEAF)
                {
                }
    
                void Reset()
                {
                    _Reset();
                    if (me->HasAura(SPELL_DRAINED_OF_POWER))
                        me->RemoveAurasDueToSpell(SPELL_DRAINED_OF_POWER);
                    events.ScheduleEvent(EVENT_SOLAR_FLARE, urand(5000, 7000));
                    events.ScheduleEvent(EVENT_UNSTABLE_SUN_BEAM, urand(7000, 12000));
                    events.ScheduleEvent(EVENT_FLUX, 5000);
                    elderCount = 0;
                    lumberjack = false;
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_BRIGHTLEAF_SLAY_1, SAY_BRIGHTLEAF_SLAY_2), me);
                }
    
                void JustDied(Unit* who)
                {
                    _JustDied();
                    DoScriptText(SAY_BRIGHTLEAF_DEATH, me);
    
                    if (who && who->GetTypeId() == TYPEID_PLAYER)
                    {
                        if (Creature* Ironbranch = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_IRONBRANCH)))
                            Ironbranch->AI()->DoAction(ACTION_ELDER_DEATH);
    
                        if (Creature* Stonebark = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_STONEBARK)))
                            Stonebark->AI()->DoAction(ACTION_ELDER_DEATH);
                    }
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    _EnterCombat();
                    if (!me->HasAura(SPELL_DRAINED_OF_POWER))
                        DoScriptText(SAY_BRIGHTLEAF_AGGRO, me);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim() || me->HasAura(SPELL_DRAINED_OF_POWER))
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_UNSTABLE_SUN_BEAM:
                                me->CastSpell(me, SPELL_UNSTABLE_SUN_BEAM_SUMMON, true);
                                events.ScheduleEvent(EVENT_UNSTABLE_SUN_BEAM, urand(10000, 15000));
                                break;
                            case EVENT_SOLAR_FLARE:
                            {
                                uint8 stackAmount = 0;
                                if (me->GetAura(SPELL_FLUX_AURA))
                                    stackAmount = me->GetAura(SPELL_FLUX_AURA)->GetStackAmount();
                                me->CastCustomSpell(SPELL_SOLAR_FLARE, SPELLVALUE_MAX_TARGETS, stackAmount, me, false);
                                events.ScheduleEvent(EVENT_SOLAR_FLARE, urand(5000, 10000));
                                break;
                            }
                            case EVENT_FLUX:
                                me->RemoveAurasDueToSpell(SPELL_FLUX_AURA);
                                me->AddAura(SPELL_FLUX_AURA, me);
                                if (Aura* Flux = me->GetAura(SPELL_FLUX_AURA))
                                    Flux->SetStackAmount(urand(1, 8));
                                events.ScheduleEvent(EVENT_FLUX, 7500);
                                break;
                        }
                    }
    
                    if (lumberjack)
                        lumberjackTimer += diff;
    
                    DoMeleeAttackIfReady();
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_ELDER_DEATH:
                            ++elderCount;
                            lumberjack = true;
                            break;
                        case ACTION_ELDER_FREYA_KILLED:
                            me->DespawnOrUnsummon(10000);
                            _JustDied();
                            break;
                    }
                }
    
            private:
                uint32 lumberjackTimer;
                uint8 elderCount;
                bool lumberjack;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_elder_brightleafAI>(creature);
            }
    };
    
    class boss_elder_stonebark : public CreatureScript
    {
        public:
            boss_elder_stonebark() : CreatureScript("boss_elder_stonebark") { }
    
            struct boss_elder_stonebarkAI : public BossAI
            {
                boss_elder_stonebarkAI(Creature* creature) : BossAI(creature, BOSS_STONEBARK)
                {
                }
    
                void Reset()
                {
                    _Reset();
                    if (me->HasAura(SPELL_DRAINED_OF_POWER))
                        me->RemoveAurasDueToSpell(SPELL_DRAINED_OF_POWER);
                    events.ScheduleEvent(EVENT_TREMOR, urand(10000, 12000));
                    events.ScheduleEvent(EVENT_FISTS, urand(25000, 35000));
                    events.ScheduleEvent(EVENT_BARK, urand(37500, 40000));
                    elderCount = 0;
                    lumberjack = false;
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_STONEBARK_SLAY_1, SAY_STONEBARK_SLAY_2), me);
                }
    
                void JustDied(Unit* who)
                {
                    _JustDied();
                    DoScriptText(SAY_STONEBARK_DEATH, me);
    
                    if (who && who->GetTypeId() == TYPEID_PLAYER)
                    {
                        if (Creature* Ironbranch = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_IRONBRANCH)))
                            Ironbranch->AI()->DoAction(ACTION_ELDER_DEATH);
    
                        if (Creature* Brightleaf = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_BRIGHTLEAF)))
                            Brightleaf->AI()->DoAction(ACTION_ELDER_DEATH);
                    }
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    _EnterCombat();
                    if (!me->HasAura(SPELL_DRAINED_OF_POWER))
                        DoScriptText(SAY_STONEBARK_AGGRO, me);
                }
    
                void DamageTaken(Unit* who, uint32& damage)
                {
                    if (who == me)
                        return;
    
                    if (me->HasAura(SPELL_PETRIFIED_BARK))
                    {
                        int32 reflect = damage;
                        who->CastCustomSpell(who, SPELL_PETRIFIED_BARK_DMG, &reflect, NULL, NULL, true);
                        damage = 0;
                    }
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim() || me->HasAura(SPELL_DRAINED_OF_POWER))
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_BARK:
                                DoCast(me, SPELL_PETRIFIED_BARK);
                                events.ScheduleEvent(EVENT_BARK, urand(30000, 50000));
                                break;
                            case EVENT_FISTS:
                                DoCastVictim(SPELL_FISTS_OF_STONE);
                                events.ScheduleEvent(EVENT_FISTS, urand(20000, 30000));
                                break;
                            case EVENT_TREMOR:
                                if (!me->HasAura(SPELL_FISTS_OF_STONE))
                                    DoCastVictim(SPELL_GROUND_TREMOR);
                                events.ScheduleEvent(EVENT_TREMOR, urand(10000, 20000));
                                break;
                        }
                    }
    
                    if (lumberjack)
                        lumberjackTimer += diff;
    
                    DoMeleeAttackIfReady();
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_ELDER_DEATH:
                            ++elderCount;
                            lumberjack = true;
                            break;
                        case ACTION_ELDER_FREYA_KILLED:
                            me->DespawnOrUnsummon(10000);
                            _JustDied();
                            break;
                    }
                }
    
            private:
                uint32 lumberjackTimer;
                uint8 elderCount;
                bool lumberjack;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_elder_stonebarkAI>(creature);
            }
    };
    
    class boss_elder_ironbranch : public CreatureScript
    {
        public:
            boss_elder_ironbranch() : CreatureScript("boss_elder_ironbranch") { }
    
            struct boss_elder_ironbranchAI : public BossAI
            {
                boss_elder_ironbranchAI(Creature* creature) : BossAI(creature, BOSS_IRONBRANCH)
                {
                }
    
                void Reset()
                {
                    _Reset();
                    if (me->HasAura(SPELL_DRAINED_OF_POWER))
                        me->RemoveAurasDueToSpell(SPELL_DRAINED_OF_POWER);
                    events.ScheduleEvent(EVENT_IMPALE, urand(18000, 22000));
                    events.ScheduleEvent(EVENT_IRON_ROOTS, urand(12000, 17000));
                    events.ScheduleEvent(EVENT_THORN_SWARM, urand(7500, 12500));
                    elderCount = 0;
                    lumberjack = false;
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_IRONBRANCH_SLAY_1, SAY_IRONBRANCH_SLAY_2), me);
                }
    
                void JustDied(Unit* who)
                {
                    _JustDied();
                    DoScriptText(SAY_IRONBRANCH_DEATH, me);
    
                    if (who && who->GetTypeId() == TYPEID_PLAYER)
                    {
                        if (Creature* Brightleaf = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_BRIGHTLEAF)))
                            Brightleaf->AI()->DoAction(ACTION_ELDER_DEATH);
    
                        if (Creature* Stonebark = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_STONEBARK)))
                            Stonebark->AI()->DoAction(ACTION_ELDER_DEATH);
                    }
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    _EnterCombat();
                    if (!me->HasAura(SPELL_DRAINED_OF_POWER))
                        DoScriptText(SAY_IRONBRANCH_AGGRO, me);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim() || me->HasAura(SPELL_DRAINED_OF_POWER))
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_IMPALE:
                                DoCastVictim(SPELL_IMPALE);
                                events.ScheduleEvent(EVENT_IMPALE, urand(15000, 25000));
                                break;
                            case EVENT_IRON_ROOTS:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true, -SPELL_ROOTS_IRONBRANCH))
                                    target->CastSpell(target, SPELL_ROOTS_IRONBRANCH, true);
                                events.ScheduleEvent(EVENT_IRON_ROOTS, urand(10000, 20000));
                                break;
                            case EVENT_THORN_SWARM:
                                DoCastVictim(SPELL_THORN_SWARM);
                                events.ScheduleEvent(EVENT_THORN_SWARM, urand(8000, 13000));
                                break;
                        }
                    }
    
                    if (lumberjack)
                        lumberjackTimer += diff;
    
                    DoMeleeAttackIfReady();
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_ELDER_DEATH:
                            ++elderCount;
                            lumberjack = true;
                            break;
                        case ACTION_ELDER_FREYA_KILLED:
                            me->DespawnOrUnsummon(10000);
                            _JustDied();
                            break;
                    }
                }
    
            private:
                uint32 lumberjackTimer;
                uint8 elderCount;
                bool lumberjack;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_elder_ironbranchAI>(creature);
            }
    };
    
    class npc_detonating_lasher : public CreatureScript
    {
        public:
            npc_detonating_lasher() : CreatureScript("npc_detonating_lasher") { }
    
            struct npc_detonating_lasherAI : public ScriptedAI
            {
                npc_detonating_lasherAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->ApplySpellImmune(0, IMMUNITY_STATE, SPELL_AURA_MOD_TAUNT, true);
                }
    
                void Reset()
                {
                    lashTimer = 5000;
                    changeTargetTimer = 7500;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (lashTimer <= diff)
                    {
                        DoCast(SPELL_FLAME_LASH);
                        lashTimer = urand(5000, 10000);
                    }
                    else
                        lashTimer -= diff;
    
                    if (changeTargetTimer <= diff)
                    {
                        if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true))
                        {
                            // Switching to other target - modify aggro of new target by 20% from current target's aggro
                            me->AddThreat(target, me->getThreatManager().getThreat(me->getVictim(), false) * 1.2f);
                            me->AI()->AttackStart(target);
                        }
                        changeTargetTimer = urand(5000, 10000);
                    }
                    else
                        changeTargetTimer -= diff;
    
                    DoMeleeAttackIfReady();
                }
    
            private:
                uint32 lashTimer;
                uint32 changeTargetTimer;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_detonating_lasherAI(creature);
            }
    };
    
    class npc_ancient_water_spirit : public CreatureScript
    {
        public:
            npc_ancient_water_spirit() : CreatureScript("npc_ancient_water_spirit") { }
    
            struct npc_ancient_water_spiritAI : public ScriptedAI
            {
                npc_ancient_water_spiritAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                    if (Creature* Freya = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_FREYA)))
                        waveCount = CAST_AI(boss_freya::boss_freyaAI, Freya->AI())->trioWaveCount;
                }
    
                void Reset()
                {
                    tidalWaveTimer = 10000;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (tidalWaveTimer <= diff)
                    {
                        if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true))
                        {
                            DoCast(target, SPELL_TIDAL_WAVE);
                            DoCast(target, SPELL_TIDAL_WAVE_EFFECT, true);
                        }
                        tidalWaveTimer = urand(12000, 25000);
                    }
                    else
                        tidalWaveTimer -= diff;
    
                    DoMeleeAttackIfReady();
                }
    
                void JustDied(Unit* /*who*/)
                {
                    if (Creature* Freya = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_FREYA)))
                    {
                        CAST_AI(boss_freya::boss_freyaAI, Freya->AI())->checkElementalAlive[waveCount] = false;
                        CAST_AI(boss_freya::boss_freyaAI, Freya->AI())->LasherDead(1);
                    }
                }
    
            private:
                InstanceScript* instance;
                uint32 tidalWaveTimer;
                uint8 waveCount;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_ancient_water_spiritAI(creature);
            }
    };
    
    class npc_storm_lasher : public CreatureScript
    {
        public:
            npc_storm_lasher() : CreatureScript("npc_storm_lasher") { }
    
            struct npc_storm_lasherAI : public ScriptedAI
            {
                npc_storm_lasherAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                    if (Creature* Freya = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_FREYA)))
                        waveCount = CAST_AI(boss_freya::boss_freyaAI, Freya->AI())->trioWaveCount;
                }
    
                void Reset()
                {
                    lightningLashTimer = 10000;
                    stormboltTimer = 5000;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (lightningLashTimer <= diff)
                    {
                        DoCast(SPELL_LIGHTNING_LASH);
                        lightningLashTimer = urand(7000, 14000);
                    }
                    else
                        lightningLashTimer -= diff;
    
                    if (stormboltTimer <= diff)
                    {
                        if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true))
                            DoCast(target, SPELL_STORMBOLT);
                        stormboltTimer = urand(8000, 12000);
                    }
                    else
                        stormboltTimer -= diff;
    
                    DoMeleeAttackIfReady();
                }
    
                void JustDied(Unit* /*who*/)
                {
                    if (Creature* Freya = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_FREYA)))
                    {
                        CAST_AI(boss_freya::boss_freyaAI, Freya->AI())->checkElementalAlive[waveCount] = false;
                        CAST_AI(boss_freya::boss_freyaAI, Freya->AI())->LasherDead(2);
                    }
                }
    
            private:
                InstanceScript* instance;
                uint32 lightningLashTimer;
                uint32 stormboltTimer;
                uint8 waveCount;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_storm_lasherAI(creature);
            }
    };
    
    class npc_snaplasher : public CreatureScript
    {
        public:
            npc_snaplasher() : CreatureScript("npc_snaplasher") { }
    
            struct npc_snaplasherAI : public ScriptedAI
            {
                npc_snaplasherAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                    if (Creature* Freya = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_FREYA)))
                        waveCount = CAST_AI(boss_freya::boss_freyaAI, Freya->AI())->trioWaveCount;
                }
    
                void UpdateAI(uint32 const /*diff*/)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (!me->HasAura(SPELL_BARK_AURA))
                        DoCast(SPELL_HARDENED_BARK);
    
                    DoMeleeAttackIfReady();
                }
    
                void JustDied(Unit* /*who*/)
                {
                    if (Creature* Freya = ObjectAccessor::GetCreature(*me, instance->GetData64(BOSS_FREYA)))
                    {
                        CAST_AI(boss_freya::boss_freyaAI, Freya->AI())->checkElementalAlive[waveCount] = false;
                        CAST_AI(boss_freya::boss_freyaAI, Freya->AI())->LasherDead(4);
                    }
                }
    
            private:
                InstanceScript* instance;
                uint8 waveCount;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_snaplasherAI(creature);
            }
    };
    
    class npc_ancient_conservator : public CreatureScript
    {
        public:
            npc_ancient_conservator() : CreatureScript("npc_ancient_conservator") { }
    
            struct npc_ancient_conservatorAI : public ScriptedAI
            {
                npc_ancient_conservatorAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                void Reset()
                {
                    natureFuryTimer = 7500;
                    healthySporeTimer = 3500;
                    SummonHealthySpores(2);
                }
    
                void SummonHealthySpores(uint8 sporesCount)
                {
                    for (uint8 n = 0; n < sporesCount; ++n)
                    {
                        DoCast(SPELL_SUMMON_PERIODIC);
                        DoCast(SPELL_SPORE_SUMMON_NE);
                        DoCast(SPELL_SPORE_SUMMON_SE);
                        DoCast(SPELL_SPORE_SUMMON_SW);
                    }
                }
    
                void EnterCombat(Unit* who)
                {
                    DoCast(who, SPELL_CONSERVATOR_GRIP, true);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (healthySporeTimer <= diff)
                    {
                        SummonHealthySpores(1);
                        healthySporeTimer = urand(15000, 17500);
                    }
                    else
                        healthySporeTimer -= diff;
    
                    if (natureFuryTimer <= diff)
                    {
                        if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true, -SPELL_NATURE_FURY))
                            DoCast(target, SPELL_NATURE_FURY);
                        me->AddAura(SPELL_CONSERVATOR_GRIP, me);
                        natureFuryTimer = 5000;
                    }
                    else
                        natureFuryTimer -= diff;
    
                    DoMeleeAttackIfReady();
                }
    
            private:
                uint32 natureFuryTimer;
                uint32 healthySporeTimer;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_ancient_conservatorAI(creature);
            }
    };
    
    class npc_sun_beam : public CreatureScript
    {
        public:
            npc_sun_beam() : CreatureScript("npc_sun_beam") { }
    
            struct npc_sun_beamAI : public Scripted_NoMovementAI
            {
                npc_sun_beamAI(Creature* creature) : Scripted_NoMovementAI(creature)
                {
                    me->SetReactState(REACT_PASSIVE);
                    DoCastAOE(SPELL_FREYA_UNSTABLE_ENERGY_VISUAL, true);
                    DoCast(SPELL_FREYA_UNSTABLE_ENERGY);
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_sun_beamAI(creature);
            }
    };
    
    class npc_healthy_spore : public CreatureScript
    {
        public:
            npc_healthy_spore() : CreatureScript("npc_healthy_spore") { }
    
            struct npc_healthy_sporeAI : public Scripted_NoMovementAI
            {
                npc_healthy_sporeAI(Creature* creature) : Scripted_NoMovementAI(creature)
                {
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_IMMUNE_TO_PC);
                    me->SetReactState(REACT_PASSIVE);
                    DoCast(me, SPELL_HEALTHY_SPORE_VISUAL);
                    DoCast(me, SPELL_POTENT_PHEROMONES);
                    DoCast(me, SPELL_GROW);
                    lifeTimer = urand(22000, 30000);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (lifeTimer <= diff)
                    {
                        me->RemoveAurasDueToSpell(SPELL_GROW);
                        me->ForcedDespawn(2200);
                        lifeTimer = urand(22000, 30000);
                    }
                    else
                        lifeTimer -= diff;
                }
    
            private:
                uint32 lifeTimer;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_healthy_sporeAI(creature);
            }
    };
    
    class npc_eonars_gift : public CreatureScript
    {
        public:
            npc_eonars_gift() : CreatureScript("npc_eonars_gift") { }
    
            struct npc_eonars_giftAI : public Scripted_NoMovementAI
            {
                npc_eonars_giftAI(Creature* creature) : Scripted_NoMovementAI(creature)
                {
                    lifeBindersGiftTimer = 12000;
                    DoCast(me, SPELL_GROW);
                    DoCast(me, SPELL_PHEROMONES, true);
                    DoCast(me, SPELL_EONAR_VISUAL, true);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (lifeBindersGiftTimer <= diff)
                    {
                        me->RemoveAurasDueToSpell(SPELL_GROW);
                        DoCast(SPELL_LIFEBINDERS_GIFT);
                        me->ForcedDespawn(2500);
                        lifeBindersGiftTimer = 12000;
                    }
                    else
                        lifeBindersGiftTimer -= diff;
                }
    
            private:
                uint32 lifeBindersGiftTimer;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_eonars_giftAI(creature);
            }
    };
    
    class npc_nature_bomb : public CreatureScript
    {
        public:
            npc_nature_bomb() : CreatureScript("npc_nature_bomb") { }
    
            struct npc_nature_bombAI : public Scripted_NoMovementAI
            {
                npc_nature_bombAI(Creature* creature) : Scripted_NoMovementAI(creature)
                {
                    bombTimer = urand(8000, 10000);
                    DoCast(SPELL_OBJECT_BOMB);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (bombTimer <= diff)
                    {
                        if (GameObject* go = me->FindNearestGameObject(OBJECT_NATURE_BOMB, 1.0f))
                        {
                            DoCast(me, SPELL_NATURE_BOMB);
                            me->RemoveGameObject(go, true);
                            me->RemoveFromWorld();
                        }
    
                        bombTimer = 10000;
                    }
                    else
                        bombTimer -= diff;
                }
    
            private:
                uint32 bombTimer;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_nature_bombAI(creature);
            }
    };
    
    class npc_unstable_sun_beam : public CreatureScript
    {
        public:
            npc_unstable_sun_beam() : CreatureScript("npc_unstable_sun_beam") { }
    
            struct npc_unstable_sun_beamAI : public Scripted_NoMovementAI
            {
                npc_unstable_sun_beamAI(Creature* creature) : Scripted_NoMovementAI(creature)
                {
                    despawnTimer = urand(7000, 12000);
                    instance = me->GetInstanceScript();
                    DoCast(me, SPELL_PHOTOSYNTHESIS);
                    DoCast(me, SPELL_UNSTABLE_SUN_BEAM);
                    me->SetReactState(REACT_PASSIVE);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (despawnTimer <= diff)
                    {
                        DoCastAOE(SPELL_UNSTABLE_ENERGY, true);
                        me->DisappearAndDie();
                    }
                    else
                        despawnTimer -= diff;
                }
    
                void SpellHitTarget(Unit* target, SpellInfo const* spell)
                {
                    if (target && spell->Id == SPELL_UNSTABLE_ENERGY)
                    {
                        target->RemoveAurasDueToSpell(SPELL_UNSTABLE_SUN_BEAM);
                        target->RemoveAurasDueToSpell(SPELL_UNSTABLE_SUN_BEAM_TRIGGERED);
                    }
                }
    
            private:
                InstanceScript* instance;
                uint32 despawnTimer;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_unstable_sun_beamAI(creature);
            }
    };
    
    class spell_freya_attuned_to_nature_dose_reduction : public SpellScriptLoader
    {
        public:
            spell_freya_attuned_to_nature_dose_reduction() : SpellScriptLoader("spell_freya_attuned_to_nature_dose_reduction")
            {
            }
    
            class spell_freya_attuned_to_nature_dose_reduction_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_freya_attuned_to_nature_dose_reduction_SpellScript)
    
                void HandleScript(SpellEffIndex /*effIndex*/)
                {
                    Unit* target = GetHitUnit();
                    SpellInfo const* spellInfo = GetSpellInfo();
                    switch (spellInfo->Id)
                    {
                        case SPELL_ATTUNED_TO_NATURE_2_DOSE_REDUCTION:
                            if (target->HasAura(GetEffectValue()))
                                for (uint8 n = 0; n < 2; ++n)
                                    target->RemoveAuraFromStack(GetEffectValue(), 0, AURA_REMOVE_BY_DEFAULT);
                            break;
                        case SPELL_ATTUNED_TO_NATURE_10_DOSE_REDUCTION:
                            if (target->HasAura(GetEffectValue()))
                                for (uint8 n = 0; n < 10; ++n)
                                    target->RemoveAuraFromStack(GetEffectValue(), 0, AURA_REMOVE_BY_DEFAULT);
                            break;
                        case SPELL_ATTUNED_TO_NATURE_25_DOSE_REDUCTION:
                            if (target->HasAura(GetEffectValue()))
                                for (uint8 n = 0; n < 25; ++n)
                                    target->RemoveAuraFromStack(GetEffectValue(), 0, AURA_REMOVE_BY_DEFAULT);
                            break;
                        default:
                            break;
                    }
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_freya_attuned_to_nature_dose_reduction_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_freya_attuned_to_nature_dose_reduction_SpellScript();
            }
    };
    
    class spell_freya_iron_roots : public SpellScriptLoader
    {
        public:
            spell_freya_iron_roots() : SpellScriptLoader("spell_freya_iron_roots")
            {
            }
    
            class spell_freya_iron_roots_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_freya_iron_roots_SpellScript);
    
                void HandleSummon(SpellEffIndex effIndex)
                {
                    PreventHitDefaultEffect(effIndex);
                    uint32 entry = uint32(GetSpellInfo()->Effects[effIndex].MiscValue);
    
                    Position pos;
                    GetCaster()->GetPosition(&pos);
                    // Not good at all, but this prevents having roots in a different position then player
                    if (Creature* Roots = GetCaster()->SummonCreature(entry, pos))
                        GetCaster()->NearTeleportTo(Roots->GetPositionX(), Roots->GetPositionY(), Roots->GetPositionZ(), GetCaster()->GetOrientation());
                }
    
                void Register()
                {
                    OnEffectHit += SpellEffectFn(spell_freya_iron_roots_SpellScript::HandleSummon, EFFECT_0, SPELL_EFFECT_SUMMON);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_freya_iron_roots_SpellScript();
            }
    };
    
    class achievement_getting_back_to_nature : public AchievementCriteriaScript
    {
        public:
            achievement_getting_back_to_nature() : AchievementCriteriaScript("achievement_getting_back_to_nature")
            {
            }
    
            bool OnCheck(Player* /*player*/, Unit* target)
            {
                if (!target)
                    return false;
    
                if (Creature* Freya = target->ToCreature())
                    if (Freya->AI()->GetData(DATA_GETTING_BACK_TO_NATURE) >= 25)
                        return true;
    
                return false;
            }
    };
    
    class achievement_knock_on_wood : public AchievementCriteriaScript
    {
       public:
           achievement_knock_on_wood() : AchievementCriteriaScript("achievement_knock_on_wood")
           {
           }
    
           bool OnCheck(Player* /*player*/, Unit* target)
           {
               if (!target)
                   return false;
    
               if (Creature* Freya = target->ToCreature())
                   if (Freya->AI()->GetData(DATA_KNOCK_ON_WOOD) >= 1)
                       return true;
    
               return false;
           }
    };
    
    class achievement_knock_knock_on_wood : public AchievementCriteriaScript
    {
       public:
           achievement_knock_knock_on_wood() : AchievementCriteriaScript("achievement_knock_knock_on_wood")
           {
           }
    
           bool OnCheck(Player* /*player*/, Unit* target)
           {
               if (!target)
                   return false;
    
               if (Creature* Freya = target->ToCreature())
                   if (Freya->AI()->GetData(DATA_KNOCK_ON_WOOD) >= 2)
                       return true;
    
               return false;
           }
    };
    
    class achievement_knock_knock_knock_on_wood : public AchievementCriteriaScript
    {
       public:
           achievement_knock_knock_knock_on_wood() : AchievementCriteriaScript("achievement_knock_knock_knock_on_wood")
           {
           }
    
           bool OnCheck(Player* /*player*/, Unit* target)
           {
               if (!target)
                   return false;
    
               if (Creature* Freya = target->ToCreature())
                   if (Freya->AI()->GetData(DATA_KNOCK_ON_WOOD) == 3)
                       return true;
    
               return false;
           }
    };
    
    void AddSC_boss_freya()
    {
        new boss_freya();
        new boss_elder_brightleaf();
        new boss_elder_ironbranch();
        new boss_elder_stonebark();
        new npc_ancient_conservator();
        new npc_snaplasher();
        new npc_storm_lasher();
        new npc_ancient_water_spirit();
        new npc_detonating_lasher();
        new npc_sun_beam();
        new npc_nature_bomb();
        new npc_eonars_gift();
        new npc_healthy_spore();
        new npc_unstable_sun_beam();
        new npc_iron_roots();
        new spell_freya_attuned_to_nature_dose_reduction();
        new spell_freya_iron_roots();
        new achievement_getting_back_to_nature();
        new achievement_knock_on_wood();
        new achievement_knock_knock_on_wood();
        new achievement_knock_knock_knock_on_wood();
    }
    Last edited by Achernar_Altair; 30-05-13 at 17:37. Reason: SALAH JUDUL, yang bener Ulduar Script >.<, g bisa diedit
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  2. Hot Ad
  3. #32
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [C++] Ulduar Script Part 2

    Spoiler untuk boss_general_vezax.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "SpellScript.h"
    #include "SpellAuraEffects.h"
    #include "ulduar.h"
    
    enum VezaxYells
    {
        SAY_AGGRO                                    = -1603290,
        SAY_SLAY_1                                   = -1603291,
        SAY_SLAY_2                                   = -1603292,
        SAY_SURGE_OF_DARKNESS                        = -1603293,
        SAY_DEATH                                    = -1603294,
        SAY_BERSERK                                  = -1603295,
        SAY_HARDMODE                                 = -1603296,
    };
    
    enum VezaxEmotes
    {
        EMOTE_VAPORS                                 = -1603289,
        EMOTE_ANIMUS                                 = -1603297,
        EMOTE_BARRIER                                = -1603298,
        EMOTE_SURGE_OF_DARKNESS                      = -1603299,
    };
    
    enum VezaxSpells
    {
        SPELL_AURA_OF_DESPAIR                        = 62692,
        SPELL_MARK_OF_THE_FACELESS                   = 63276,
        SPELL_MARK_OF_THE_FACELESS_DAMAGE            = 63278,
        SPELL_SARONITE_BARRIER                       = 63364,
        SPELL_SEARING_FLAMES                         = 62661,
        SPELL_SHADOW_CRASH                           = 62660,
        SPELL_SHADOW_CRASH_HIT                       = 62659,
        SPELL_SURGE_OF_DARKNESS                      = 62662,
        SPELL_SARONITE_VAPORS                        = 63323,
        SPELL_SUMMON_SARONITE_VAPORS                 = 63081,
        SPELL_BERSERK                                = 26662,
    
        SPELL_SUMMON_SARONITE_ANIMUS                 = 63145,
        SPELL_VISUAL_SARONITE_ANIMUS                 = 63319,
        SPELL_PROFOUND_OF_DARKNESS                   = 63420,
    
        SPELL_CORRUPTED_RAGE                         = 68415,
        SPELL_SHAMANTIC_RAGE                         = 30823,
    };
    
    enum VezaxActions
    {
        ACTION_VAPORS_SPAWN,
        ACTION_VAPORS_DIE,
        ACTION_ANIMUS_DIE,
    };
    
    enum VezaxEvents
    {
        // Vezax
        EVENT_SHADOW_CRASH                           = 1,
        EVENT_SEARING_FLAMES                         = 2,
        EVENT_SURGE_OF_DARKNESS                      = 3,
        EVENT_MARK_OF_THE_FACELESS                   = 4,
        EVENT_SARONITE_VAPORS                        = 5,
        EVENT_BERSERK                                = 6,
    
        // Saronite Animus
        EVENT_PROFOUND_OF_DARKNESS                   = 7,
    
        // Saronite Vapor
        EVENT_RANDOM_MOVE                            = 8,
    };
    
    #define DATA_SMELL_SARONITE                      31813188
    #define DATA_SHADOWDODGER                        29962997
    
    class boss_general_vezax : public CreatureScript
    {
        public:
            boss_general_vezax() : CreatureScript("boss_general_vezax") { }
    
            struct boss_general_vezaxAI : public BossAI
            {
                boss_general_vezaxAI(Creature* creature) : BossAI(creature, BOSS_VEZAX)
                {
                }
    
                bool shadowDodger;
                bool smellSaronite; // HardMode
                bool animusDead; // Check against getting a HardMode achievement before killing Saronite Animus
                uint8 vaporCount;
    
                void Reset()
                {
                    _Reset();
    
                    shadowDodger = true;
                    smellSaronite = true;
                    animusDead = false;
                    vaporCount = 0;
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    _EnterCombat();
    
                    DoScriptText(SAY_AGGRO, me);
                    DoCast(me, SPELL_AURA_OF_DESPAIR);
                    CheckShamanisticRage();
    
                    events.ScheduleEvent(EVENT_SHADOW_CRASH, urand(8000, 10000));
                    events.ScheduleEvent(EVENT_SEARING_FLAMES, 12000);
                    events.ScheduleEvent(EVENT_MARK_OF_THE_FACELESS, urand(35000, 40000));
                    events.ScheduleEvent(EVENT_SARONITE_VAPORS, 30000);
                    events.ScheduleEvent(EVENT_SURGE_OF_DARKNESS, 60000);
                    events.ScheduleEvent(EVENT_BERSERK, 600000);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_SHADOW_CRASH:
                            {
                                Unit* target = CheckPlayersInRange(RAID_MODE<uint8>(4, 9), 15.0f, 50.0f);
                                if (!target)
                                    target = SelectTarget(SELECT_TARGET_RANDOM, 0, 150.0f, true);
                                if (target)
                                    DoCast(target, SPELL_SHADOW_CRASH);
                                events.ScheduleEvent(EVENT_SHADOW_CRASH, urand(8000, 12000));
                                break;
                            }
                            case EVENT_SEARING_FLAMES:
                                DoCastAOE(SPELL_SEARING_FLAMES);
                                events.ScheduleEvent(EVENT_SEARING_FLAMES, urand(14000, 17500));
                                break;
                            case EVENT_MARK_OF_THE_FACELESS:
                            {
                                Unit* target = CheckPlayersInRange(RAID_MODE<uint8>(4, 9), 15.0f, 50.0f);
                                if (!target)
                                    target = SelectTarget(SELECT_TARGET_RANDOM, 0, 150.0f, true);
                                if (target)
                                    DoCast(target, SPELL_MARK_OF_THE_FACELESS);
                                events.ScheduleEvent(EVENT_MARK_OF_THE_FACELESS, urand(35000, 45000));
                                break;
                            }
                            case EVENT_SURGE_OF_DARKNESS:
                                DoScriptText(EMOTE_SURGE_OF_DARKNESS, me);
                                DoScriptText(SAY_SURGE_OF_DARKNESS, me);
                                DoCast(me, SPELL_SURGE_OF_DARKNESS);
                                events.ScheduleEvent(EVENT_SURGE_OF_DARKNESS, urand(50000, 70000));
                                break;
                            case EVENT_SARONITE_VAPORS:
                                DoCast(SPELL_SUMMON_SARONITE_VAPORS);
                                events.ScheduleEvent(EVENT_SARONITE_VAPORS, urand(30000, 35000));
                                if (++vaporCount == 6 && smellSaronite)
                                {
                                    DoScriptText(SAY_HARDMODE, me);
                                    DoScriptText(EMOTE_BARRIER, me);
                                    summons.DespawnAll();
                                    DoCast(me, SPELL_SARONITE_BARRIER);
                                    DoCast(SPELL_SUMMON_SARONITE_ANIMUS);
                                    me->AddLootMode(LOOT_MODE_HARD_MODE_1);
                                    events.CancelEvent(EVENT_SARONITE_VAPORS);
                                    events.CancelEvent(EVENT_SEARING_FLAMES);
                                }
                                break;
                            case EVENT_BERSERK:
                                DoScriptText(SAY_BERSERK, me);
                                DoCast(me, SPELL_BERSERK);
                                break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
    
                void SpellHitTarget(Unit* who, SpellInfo const* spell)
                {
                    if (who && who->GetTypeId() == TYPEID_PLAYER && spell->Id == SPELL_SHADOW_CRASH_HIT)
                        shadowDodger = false;
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
                }
    
                void JustDied(Unit* /*who*/)
                {
                    _JustDied();
                    DoScriptText(SAY_DEATH, me);
                    instance->DoRemoveAurasDueToSpellOnPlayers(SPELL_AURA_OF_DESPAIR);
                }
    
                void CheckShamanisticRage()
                {
                    Map* map = me->GetMap();
                    if (map && map->IsDungeon())
                    {
                        // If Shaman has Shamanistic Rage and use it during the fight, it will cast Corrupted Rage on him
                        Map::PlayerList const& Players = map->GetPlayers();
                        for (Map::PlayerList::const_iterator itr = Players.begin(); itr != Players.end(); ++itr)
                            if (Player* player = itr->getSource())
                                if (player->HasSpell(SPELL_SHAMANTIC_RAGE))
                                    player->CastSpell(player, SPELL_CORRUPTED_RAGE, false);
                    }
                }
    
                uint32 GetData(uint32 type)
                {
                    switch (type)
                    {
                        case DATA_SHADOWDODGER:
                            return shadowDodger ? 1 : 0;
                        case DATA_SMELL_SARONITE:
                            return smellSaronite ? 1 : 0;
                    }
    
                    return 0;
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_VAPORS_DIE:
                            smellSaronite = false;
                            break;
                        case ACTION_ANIMUS_DIE:
                            me->RemoveAurasDueToSpell(SPELL_SARONITE_BARRIER);
                            events.ScheduleEvent(EVENT_SEARING_FLAMES, urand(7000, 12000));
                            animusDead = true;
                            break;
                    }
                }
    
                /*  Player Range Check
                    Purpose: If there are playersMin people within rangeMin, rangeMax: return a random players in that range.
                    If not, return NULL and allow other target selection
                */
                Unit* CheckPlayersInRange(uint8 playersMin, float rangeMin, float rangeMax)
                {
                    Map* map = me->GetMap();
                    if (map && map->IsDungeon())
                    {
                        std::list<Player*> PlayerList;
                        Map::PlayerList const& Players = map->GetPlayers();
                        for (Map::PlayerList::const_iterator itr = Players.begin(); itr != Players.end(); ++itr)
                        {
                            if (Player* player = itr->getSource())
                            {
                                float distance = player->GetDistance(me->GetPositionX(), me->GetPositionY(), me->GetPositionZ());
                                if (rangeMin > distance || distance > rangeMax)
                                    continue;
    
                                PlayerList.push_back(player);
                            }
                        }
    
                        if (PlayerList.empty())
                            return NULL;
    
                        size_t size = PlayerList.size();
                        if (size < playersMin)
                            return NULL;
    
                        return SelectRandomContainerElement(PlayerList);
                    }
    
                    return NULL;
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_general_vezaxAI>(creature);
            }
    };
    
    class boss_saronite_animus : public CreatureScript
    {
        public:
            boss_saronite_animus() : CreatureScript("npc_saronite_animus") { }
    
            struct boss_saronite_animusAI : public ScriptedAI
            {
                boss_saronite_animusAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                    DoScriptText(EMOTE_BARRIER, me);
                }
    
                void Reset()
                {
                    DoCast(me, SPELL_VISUAL_SARONITE_ANIMUS);
                    events.Reset();
                    events.ScheduleEvent(EVENT_PROFOUND_OF_DARKNESS, 3000);
                }
    
                void JustDied(Unit* /*who*/)
                {
                    if (Creature* Vezax = me->GetCreature(*me, instance->GetData64(BOSS_VEZAX)))
                        Vezax->AI()->DoAction(ACTION_ANIMUS_DIE);
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_PROFOUND_OF_DARKNESS:
                                DoCastAOE(SPELL_PROFOUND_OF_DARKNESS, true);
                                events.ScheduleEvent(EVENT_PROFOUND_OF_DARKNESS, 3000);
                                break;
                            default:
                                break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
    
            private:
                InstanceScript* instance;
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new boss_saronite_animusAI(creature);
            }
    };
    
    class npc_saronite_vapors : public CreatureScript
    {
        public:
            npc_saronite_vapors() : CreatureScript("npc_saronite_vapors") { }
    
            struct npc_saronite_vaporsAI : public ScriptedAI
            {
                npc_saronite_vaporsAI(Creature* creature) : ScriptedAI(creature)
                {
                    DoScriptText(EMOTE_VAPORS, me);
                    instance = me->GetInstanceScript();
                    me->ApplySpellImmune(0, IMMUNITY_EFFECT, SPELL_EFFECT_KNOCK_BACK, true);
                    me->ApplySpellImmune(0, IMMUNITY_ID, 49560, true); // Death Grip jump effect
                    me->SetReactState(REACT_PASSIVE);
                }
    
                void Reset()
                {
                    events.Reset();
                    events.ScheduleEvent(EVENT_RANDOM_MOVE, urand(5000, 7500));
                }
    
                void UpdateAI(uint32 const diff)
                {
                    events.Update(diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_RANDOM_MOVE:
                                me->GetMotionMaster()->MoveRandom(30.0f);
                                events.ScheduleEvent(EVENT_RANDOM_MOVE, urand(5000, 7500));
                                break;
                            default:
                                break;
                        }
                    }
                }
    
                void DamageTaken(Unit* /*who*/, uint32& damage)
                {
                    // This can't be on JustDied. In 63322 dummy handler caster needs to be this NPC
                    // if caster == target then damage mods will increase the damage taken
                    if (damage >= me->GetHealth())
                    {
                        damage = 0;
                        me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_DISABLE_MOVE);
                        me->SetStandState(UNIT_STAND_STATE_DEAD);
                        me->SetHealth(me->GetMaxHealth());
                        me->RemoveAllAuras();
                        DoCast(me, SPELL_SARONITE_VAPORS);
                        me->DespawnOrUnsummon(30000);
    
                        if (Creature* Vezax = me->GetCreature(*me, instance->GetData64(BOSS_VEZAX)))
                            Vezax->AI()->DoAction(ACTION_VAPORS_DIE);
                    }
                }
    
            private:
                InstanceScript* instance;
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_saronite_vaporsAI(creature);
            }
    };
    
    class spell_mark_of_the_faceless : public SpellScriptLoader
    {
        public:
            spell_mark_of_the_faceless() : SpellScriptLoader("spell_mark_of_the_faceless") { }
    
            class spell_mark_of_the_faceless_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_mark_of_the_faceless_AuraScript);
    
                void HandleEffectPeriodic(AuraEffect const* aurEff)
                {
                    if (Unit* caster = GetCaster())
                        caster->CastCustomSpell(SPELL_MARK_OF_THE_FACELESS_DAMAGE, SPELLVALUE_BASE_POINT1, aurEff->GetAmount(), GetTarget(), true);
                }
    
                void Register()
                {
                    OnEffectPeriodic += AuraEffectPeriodicFn(spell_mark_of_the_faceless_AuraScript::HandleEffectPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_mark_of_the_faceless_AuraScript();
            }
    };
    
    class achievement_shadowdodger : public AchievementCriteriaScript
    {
        public:
            achievement_shadowdodger() : AchievementCriteriaScript("achievement_shadowdodger")
            {
            }
    
            bool OnCheck(Player* /*player*/, Unit* target)
            {
                if (!target)
                    return false;
    
                if (Creature* Vezax = target->ToCreature())
                    if (Vezax->AI()->GetData(DATA_SHADOWDODGER))
                        return true;
    
                return false;
            }
    };
    
    class achievement_smell_saronite : public AchievementCriteriaScript
    {
        public:
            achievement_smell_saronite() : AchievementCriteriaScript("achievement_smell_saronite")
            {
            }
    
            bool OnCheck(Player* /*player*/, Unit* target)
            {
                if (!target)
                    return false;
    
                if (Creature* Vezax = target->ToCreature())
                    if (Vezax->AI()->GetData(DATA_SMELL_SARONITE))
                        return true;
    
                return false;
            }
    };
    
    void AddSC_boss_general_vezax()
    {
        new boss_general_vezax();
        new boss_saronite_animus();
        new npc_saronite_vapors();
        new spell_mark_of_the_faceless();
        new achievement_shadowdodger();
        new achievement_smell_saronite();
    }


    Spoiler untuk boss_hodir.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "SpellScript.h"
    #include "SpellAuraEffects.h"
    #include "Cell.h"
    #include "CellImpl.h"
    #include "GridNotifiers.h"
    #include "GridNotifiersImpl.h"
    #include "ulduar.h"
    
    /* #TODO: Achievements
              Storm Cloud (Shaman ability)
              Destroying of Toasty Fires
    */
    
    enum HodirYells
    {
        SAY_AGGRO                                    = -1603210,
        SAY_SLAY_1                                   = -1603211,
        SAY_SLAY_2                                   = -1603212,
        SAY_FLASH_FREEZE                             = -1603213,
        SAY_STALACTITE                               = -1603214,
        SAY_DEATH                                    = -1603215,
        SAY_BERSERK                                  = -1603216,
        SAY_YS_HELP                                  = -1603217,
        SAY_HARD_MODE_FAILED                         = -1603218,
    
        EMOTE_FREEZE                                 = -1603209,
        EMOTE_BLOWS                                  = -1603219,
    };
    
    enum HodirSpells
    {
        // Hodir
        SPELL_FROZEN_BLOWS                           = 62478,
        SPELL_FLASH_FREEZE                           = 61968,
        SPELL_FLASH_FREEZE_VISUAL                    = 62148,
        SPELL_BITING_COLD                            = 62038,
        SPELL_BITING_COLD_TRIGGERED                  = 62039, // Needed for Achievement Getting Cold In Here
        SPELL_BITING_COLD_DAMAGE                     = 62188,
        SPELL_FREEZE                                 = 62469,
        SPELL_ICICLE                                 = 62234,
        SPELL_ICICLE_SNOWDRIFT                       = 62462,
        SPELL_BLOCK_OF_ICE                           = 61969, // Player + Helper
        SPELL_SUMMON_FLASH_FREEZE_HELPER             = 61989, // Helper
        SPELL_SUMMON_BLOCK_OF_ICE                    = 61970, // Player + Helper
        SPELL_FLASH_FREEZE_HELPER                    = 61990, // Helper
        SPELL_FLASH_FREEZE_KILL                      = 62226,
        SPELL_ICICLE_FALL                            = 69428,
        SPELL_FALL_DAMAGE                            = 62236,
        SPELL_FALL_SNOWDRIFT                         = 62460,
        SPELL_BERSERK                                = 47008,
        SPELL_ICE_SHARD                              = 62457,
        SPELL_ICE_SHARD_HIT                          = 65370,
    
        // Druids
        SPELL_WRATH                                  = 62793,
        SPELL_STARLIGHT                              = 62807,
    
        // Shamans
        SPELL_LAVA_BURST                             = 61924,
        SPELL_STORM_CLOUD                            = 65123,
    
        // Mages
        SPELL_FIREBALL                               = 61909,
        SPELL_CONJURE_FIRE                           = 62823,
        SPELL_MELT_ICE                               = 64528,
        SPELL_SINGED                                 = 62821,
    
        // Priests
        SPELL_SMITE                                  = 61923,
        SPELL_GREATER_HEAL                           = 62809,
        SPELL_DISPEL_MAGIC                           = 63499,
    };
    
    enum HodirNPC
    {
        NPC_ICE_BLOCK                                = 32938,
        NPC_FLASH_FREEZE                             = 32926,
        NPC_SNOWPACKED_ICICLE                        = 33174,
        NPC_ICICLE                                   = 33169,
        NPC_ICICLE_SNOWDRIFT                         = 33173,
        NPC_TOASTY_FIRE                              = 33342,
    };
    
    enum HodirGameObjects
    {
        GO_TOASTY_FIRE                               = 194300,
        GO_SNOWDRIFT                                 = 194173,
    };
    
    enum HodirEvents
    {
        // Hodir
        EVENT_FREEZE                                 = 1,
        EVENT_FLASH_FREEZE                           = 2,
        EVENT_FLASH_FREEZE_EFFECT                    = 3,
        EVENT_ICICLE                                 = 4,
        EVENT_BLOWS                                  = 5,
        EVENT_RARE_CACHE                             = 6,
        EVENT_BERSERK                                = 7,
    
        // Priest
        EVENT_HEAL                                   = 8,
        EVENT_DISPEL_MAGIC                           = 9,
    
        // Shaman
        EVENT_STORM_CLOUD                            = 10,
    
        // Druid
        EVENT_STARLIGHT                              = 11,
    
        // Mage
        EVENT_CONJURE_FIRE                           = 12,
        EVENT_MELT_ICE                               = 13,
    };
    
    enum HodirActions
    {
        ACTION_I_HAVE_THE_COOLEST_FRIENDS            = 1,
        ACTION_CHEESE_THE_FREEZE                     = 2,
    };
    
    #define ACHIEVEMENT_CHEESE_THE_FREEZE            RAID_MODE<uint8>(2961, 2962)
    #define ACHIEVEMENT_GETTING_COLD_IN_HERE         RAID_MODE<uint8>(2967, 2968)
    #define ACHIEVEMENT_THIS_CACHE_WAS_RARE          RAID_MODE<uint8>(3182, 3184)
    #define ACHIEVEMENT_COOLEST_FRIENDS              RAID_MODE<uint8>(2963, 2965)
    #define FRIENDS_COUNT                            RAID_MODE<uint8>(4, 8)
    #define DATA_GETTING_COLD_IN_HERE                29672968 // 2967, 2968 are achievement IDs
    
    Position const SummonPositions[8] =
    {
        { 1983.75f, -243.36f, 432.767f, 1.57f }, // Field Medic Penny    &&  Battle-Priest Eliza
        { 1999.90f, -230.49f, 432.767f, 1.57f }, // Eivi Nightfeather    &&  Tor Greycloud
        { 2010.06f, -243.45f, 432.767f, 1.57f }, // Elementalist Mahfuun &&  Spiritwalker Tara
        { 2021.12f, -236.65f, 432.767f, 1.57f }, // Missy Flamecuffs     &&  Amira Blazeweaver
        { 2028.10f, -244.66f, 432.767f, 1.57f }, // Field Medic Jessi    &&  Battle-Priest Gina
        { 2014.18f, -232.80f, 432.767f, 1.57f }, // Ellie Nightfeather   &&  Kar Greycloud
        { 1992.90f, -237.54f, 432.767f, 1.57f }, // Elementalist Avuun   &&  Spiritwalker Yona
        { 1976.60f, -233.53f, 432.767f, 1.57f }, // Sissy Flamecuffs     &&  Veesha Blazeweaver
    };
    
    uint32 const Entry[8] =
    {
        NPC_FIELD_MEDIC_PENNY,
        NPC_EIVI_NIGHTFEATHER,
        NPC_ELEMENTALIST_MAHFUUN,
        NPC_MISSY_FLAMECUFFS,
        NPC_FIELD_MEDIC_JESSI,
        NPC_ELLIE_NIGHTFEATHER,
        NPC_ELEMENTALIST_AVUUN,
        NPC_SISSY_FLAMECUFFS,
    };
    
    class npc_flash_freeze : public CreatureScript
    {
        public:
            npc_flash_freeze() : CreatureScript("npc_flash_freeze") { }
    
            struct npc_flash_freezeAI : public ScriptedAI
            {
                npc_flash_freezeAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                    me->SetDisplayId(me->GetCreatureTemplate()->Modelid2);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_STUNNED | UNIT_FLAG_PACIFIED);
                }
    
                InstanceScript* instance;
    
                uint64 targetGUID;
                uint32 checkDespawnTimer;
    
                void Reset()
                {
                    targetGUID = 0;
                    checkDespawnTimer = 1000;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim() || me->getVictim()->HasAura(SPELL_BLOCK_OF_ICE) || me->getVictim()->HasAura(SPELL_FLASH_FREEZE_HELPER))
                        return;
    
                    if (me->getVictim()->GetGUID() != targetGUID || instance->GetBossState(BOSS_HODIR) != IN_PROGRESS)
                        me->DespawnOrUnsummon();
    
                    if (checkDespawnTimer <= diff)
                    {
                        if (Unit* target = ObjectAccessor::GetUnit(*me, targetGUID))
                            if (!target->isAlive())
                                me->DisappearAndDie();
                        checkDespawnTimer = 2500;
                    }
                    else
                        checkDespawnTimer -= diff;
                }
    
                void IsSummonedBy(Unit* summoner)
                {
                    targetGUID = summoner->GetGUID();
                    me->SetInCombatWith(summoner);
                    me->AddThreat(summoner, 250.0f);
                    if (Unit* target = ObjectAccessor::GetUnit(*me, targetGUID))
                    {
                        DoCast(target, SPELL_BLOCK_OF_ICE, true);
                        // Prevents to have Ice Block on other place than target is
                        me->NearTeleportTo(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), target->GetOrientation());
                        if (target->GetTypeId() == TYPEID_PLAYER)
                            if (Creature* Hodir = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(BOSS_HODIR) : 0))
                                Hodir->AI()->DoAction(ACTION_CHEESE_THE_FREEZE);
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_flash_freezeAI(creature);
            }
    };
    
    class npc_ice_block : public CreatureScript
    {
        public:
            npc_ice_block() : CreatureScript("npc_ice_block") { }
    
            struct npc_ice_blockAI : public ScriptedAI
            {
                npc_ice_blockAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                    me->SetDisplayId(me->GetCreatureTemplate()->Modelid2);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_STUNNED | UNIT_FLAG_PACIFIED);
                    targetGUID = 0;
                }
    
                InstanceScript* instance;
    
                uint64 targetGUID;
    
                void IsSummonedBy(Unit* summoner)
                {
                    targetGUID = summoner->GetGUID();
                    summoner->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_STUNNED | UNIT_FLAG_PACIFIED);
                    me->SetInCombatWith(summoner);
                    me->AddThreat(summoner, 250.0f);
                    summoner->AddThreat(me, 250.0f);
                    if (Creature* target = ObjectAccessor::GetCreature(*me, targetGUID))
                    {
                        DoCast(target, SPELL_FLASH_FREEZE_HELPER, true);
                        // Prevents to have Ice Block on other place than target is
                        me->NearTeleportTo(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), target->GetOrientation());
                    }
                }
    
                void DamageTaken(Unit* who, uint32& /*damage*/)
                {
                    if (Creature* Helper = ObjectAccessor::GetCreature(*me, targetGUID))
                    {
                        Helper->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_STUNNED | UNIT_FLAG_PACIFIED);
    
                        if (Creature* Hodir = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(BOSS_HODIR) : 0))
                        {
                            if (!Hodir->isInCombat())
                            {
                                Hodir->SetReactState(REACT_AGGRESSIVE);
                                Hodir->AI()->DoZoneInCombat();
                                Hodir->AI()->AttackStart(who);
                            }
    
                            Helper->AI()->AttackStart(Hodir);
                        }
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_ice_blockAI(creature);
            }
    };
    
    class boss_hodir : public CreatureScript
    {
        public:
            boss_hodir() : CreatureScript("boss_hodir") { }
    
            struct boss_hodirAI : public BossAI
            {
                boss_hodirAI(Creature* creature) : BossAI(creature, BOSS_HODIR)
                {
                    me->SetReactState(REACT_PASSIVE);
                }
    
                uint32 gettingColdInHereTimer;
    
                bool gettingColdInHere;
                bool cheeseTheFreeze;
                bool iHaveTheCoolestFriends;
                bool iCouldSayThatThisCacheWasRare;
    
                void Reset()
                {
                    _Reset();
                    me->SetReactState(REACT_PASSIVE);
    
                    for (uint8 n = 0; n < FRIENDS_COUNT; ++n)
                        if (Creature* FrozenHelper = me->SummonCreature(Entry[n], SummonPositions[n], TEMPSUMMON_MANUAL_DESPAWN))
                            FrozenHelper->CastSpell(FrozenHelper, SPELL_SUMMON_FLASH_FREEZE_HELPER, true);
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    _EnterCombat();
                    DoScriptText(SAY_AGGRO, me);
                    DoCast(me, SPELL_BITING_COLD, true);
    
                    gettingColdInHereTimer = 1000;
                    gettingColdInHere = true;
                    cheeseTheFreeze = true;
                    iHaveTheCoolestFriends = true;
                    iCouldSayThatThisCacheWasRare = true;
    
                    events.ScheduleEvent(EVENT_ICICLE, 2000);
                    events.ScheduleEvent(EVENT_FREEZE, 25000);
                    events.ScheduleEvent(EVENT_BLOWS, urand(60000, 65000));
                    events.ScheduleEvent(EVENT_FLASH_FREEZE, 45000);
                    events.ScheduleEvent(EVENT_RARE_CACHE, 180000);
                    events.ScheduleEvent(EVENT_BERSERK, 480000);
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    if (!urand(0, 3))
                        DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
                }
    
                void DamageTaken(Unit* /*who*/, uint32& damage)
                {
                    if (damage >= me->GetHealth())
                    {
                        damage = 0;
                        DoScriptText(SAY_DEATH, me);
                        if (iCouldSayThatThisCacheWasRare)
                            instance->SetData(DATA_HODIR_RARE_CACHE, 1);
    
                        me->RemoveAllAuras();
                        me->RemoveAllAttackers();
                        me->AttackStop();
                        me->SetReactState(REACT_PASSIVE);
                        me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_DISABLE_MOVE);
                        me->InterruptNonMeleeSpells(true);
                        me->StopMoving();
                        me->GetMotionMaster()->Clear();
                        me->GetMotionMaster()->MoveIdle();
                        me->SetControlled(true, UNIT_STATE_STUNNED);
                        me->CombatStop(true);
    
                        me->setFaction(35);
                        me->DespawnOrUnsummon(10000);
    
                        _JustDied();
                    }
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_FREEZE:
                                DoCastAOE(SPELL_FREEZE);
                                events.ScheduleEvent(EVENT_FREEZE, urand(30000, 45000));
                                break;
                            case EVENT_ICICLE:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true))
                                    DoCast(target, SPELL_ICICLE);
                                events.ScheduleEvent(EVENT_ICICLE, RAID_MODE(5500, 3500));
                                break;
                            case EVENT_FLASH_FREEZE:
                                DoScriptText(SAY_FLASH_FREEZE, me);
                                DoScriptText(EMOTE_FREEZE, me);
                                for (uint8 n = 0; n < RAID_MODE(2, 3); ++n)
                                    if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true))
                                        target->CastSpell(target, SPELL_ICICLE_SNOWDRIFT, true);
                                DoCast(SPELL_FLASH_FREEZE);
                                events.ScheduleEvent(EVENT_FLASH_FREEZE_EFFECT, 500);
                                break;
                            case EVENT_FLASH_FREEZE_EFFECT:
                            {
                                std::list<Creature*> IcicleSnowdriftList;
                                GetCreatureListWithEntryInGrid(IcicleSnowdriftList, me, NPC_SNOWPACKED_ICICLE, 100.0f);
                                for (std::list<Creature*>::iterator itr = IcicleSnowdriftList.begin(); itr != IcicleSnowdriftList.end(); ++itr)
                                    (*itr)->CastSpell(me, SPELL_FLASH_FREEZE_VISUAL, true);
                                FlashFreeze();
                                events.CancelEvent(EVENT_FLASH_FREEZE_EFFECT);
                                events.ScheduleEvent(EVENT_FLASH_FREEZE, urand(25000, 35000));
                                break;
                            }
                            case EVENT_BLOWS:
                                DoScriptText(SAY_STALACTITE, me);
                                DoScriptText(EMOTE_BLOWS, me);
                                DoCast(me, SPELL_FROZEN_BLOWS);
                                events.ScheduleEvent(EVENT_BLOWS, urand(60000, 65000));
                                break;
                            case EVENT_RARE_CACHE:
                                DoScriptText(SAY_HARD_MODE_FAILED, me);
                                iCouldSayThatThisCacheWasRare = false;
                                instance->SetData(DATA_HODIR_RARE_CACHE, 0);
                                events.CancelEvent(EVENT_RARE_CACHE);
                                break;
                            case EVENT_BERSERK:
                                DoScriptText(SAY_BERSERK, me);
                                DoCast(me, SPELL_BERSERK, true);
                                events.CancelEvent(EVENT_BERSERK);
                                break;
                        }
                    }
    
                    if (gettingColdInHereTimer <= diff && gettingColdInHere)
                    {
                        std::list<HostileReference*> ThreatList = me->getThreatManager().getThreatList();
                        for (std::list<HostileReference*>::const_iterator itr = ThreatList.begin(); itr != ThreatList.end(); ++itr)
                            if (Unit* target = ObjectAccessor::GetUnit(*me, (*itr)->getUnitGuid()))
                                if (Aura* BitingColdAura = target->GetAura(SPELL_BITING_COLD_TRIGGERED))
                                    if ((target->GetTypeId() == TYPEID_PLAYER) && (BitingColdAura->GetStackAmount() > 2))
                                            me->AI()->SetData(DATA_GETTING_COLD_IN_HERE, 0);
                        gettingColdInHereTimer = 1000;
                    }
                    else
                        gettingColdInHereTimer -= diff;
    
                    DoMeleeAttackIfReady();
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_I_HAVE_THE_COOLEST_FRIENDS:
                            iHaveTheCoolestFriends = false;
                            break;
                        case ACTION_CHEESE_THE_FREEZE:
                            cheeseTheFreeze = false;
                            break;
                        default:
                            break;
                    }
                }
    
                void FlashFreeze()
                {
                    std::list<Unit*> TargetList;
                    Trinity::AnyUnfriendlyUnitInObjectRangeCheck checker(me, me, 100.0f);
                    Trinity::UnitListSearcher<Trinity::AnyUnfriendlyUnitInObjectRangeCheck> searcher(me, TargetList, checker);
                    me->VisitNearbyObject(100.0f, searcher);
                    for (std::list<Unit*>::iterator itr = TargetList.begin(); itr != TargetList.end(); ++itr)
                    {
                        Unit* target = *itr;
                        if (!target || !target->isAlive() || GetClosestCreatureWithEntry(target, NPC_SNOWPACKED_ICICLE, 5.0f))
                            continue;
    
                        if (target->HasAura(SPELL_FLASH_FREEZE_HELPER) || target->HasAura(SPELL_BLOCK_OF_ICE))
                        {
                            me->CastSpell(target, SPELL_FLASH_FREEZE_KILL, true);
                            continue;
                        }
    
                        target->CastSpell(target, SPELL_SUMMON_BLOCK_OF_ICE, true);
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_hodirAI>(creature);
            };
    };
    
    class npc_icicle : public CreatureScript
    {
        public:
            npc_icicle() : CreatureScript("npc_icicle") { }
    
            struct npc_icicleAI : public ScriptedAI
            {
                npc_icicleAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->SetDisplayId(me->GetCreatureTemplate()->Modelid1);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_PACIFIED | UNIT_FLAG_NOT_SELECTABLE);
                    me->SetReactState(REACT_PASSIVE);
                }
    
                uint32 icicleTimer;
    
                void Reset()
                {
                    icicleTimer = 2500;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (icicleTimer <= diff)
                    {
                        if (me->GetEntry() == NPC_ICICLE_SNOWDRIFT)
                        {
                            DoCast(me, SPELL_FALL_SNOWDRIFT);
                            DoCast(me, SPELL_ICICLE_FALL);
                        }
                        else if (me->GetEntry() == NPC_ICICLE)
                        {
                            DoCast(me, SPELL_ICICLE_FALL);
                            DoCast(me, SPELL_FALL_DAMAGE, true);
                        }
                        icicleTimer = 10000;
                    }
                    else
                        icicleTimer -= diff;
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<npc_icicleAI>(creature);
            };
    };
    
    class npc_snowpacked_icicle : public CreatureScript
    {
        public:
            npc_snowpacked_icicle() : CreatureScript("npc_snowpacked_icicle") { }
    
            struct npc_snowpacked_icicleAI : public ScriptedAI
            {
                npc_snowpacked_icicleAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->SetDisplayId(me->GetCreatureTemplate()->Modelid2);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_PACIFIED);
                    me->SetReactState(REACT_PASSIVE);
                }
    
                uint32 despawnTimer;
    
                void Reset()
                {
                    despawnTimer = 12000;
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (despawnTimer <= diff)
                    {
                        if (GameObject* Snowdrift = me->FindNearestGameObject(GO_SNOWDRIFT, 2.0f))
                            me->RemoveGameObject(Snowdrift, true);
                        me->DespawnOrUnsummon();
                    }
                    else
                        despawnTimer -= diff;
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<npc_snowpacked_icicleAI>(creature);
            };
    };
    
    class npc_hodir_priest : public CreatureScript
    {
        public:
            npc_hodir_priest() : CreatureScript("npc_hodir_priest") { }
    
            struct npc_hodir_priestAI : public ScriptedAI
            {
                npc_hodir_priestAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                }
    
                void Reset()
                {
                    events.Reset();
                    events.ScheduleEvent(EVENT_HEAL, urand(4000, 8000));
                    events.ScheduleEvent(EVENT_DISPEL_MAGIC, urand(15000, 20000));
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim() || me->HasUnitState(UNIT_STATE_STUNNED) || me->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED))
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    if (HealthBelowPct(30))
                        DoCast(me, SPELL_GREATER_HEAL);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_HEAL:
                                DoCastAOE(SPELL_GREATER_HEAL);
                                events.ScheduleEvent(EVENT_HEAL, urand(7500, 10000));
                                break;
                            case EVENT_DISPEL_MAGIC:
                            {
                                std::list<Unit*> TargetList;
                                Trinity::AnyFriendlyUnitInObjectRangeCheck checker(me, me, 30.0f);
                                Trinity::UnitListSearcher<Trinity::AnyFriendlyUnitInObjectRangeCheck> searcher(me, TargetList, checker);
                                me->VisitNearbyObject(30.0f, searcher);
                                for (std::list<Unit*>::iterator itr = TargetList.begin(); itr != TargetList.end(); ++itr)
                                    if ((*itr)->HasAura(SPELL_FREEZE))
                                        DoCast(*itr, SPELL_DISPEL_MAGIC, true);
                                events.ScheduleEvent(EVENT_DISPEL_MAGIC, urand(15000, 20000));
                                break;
                            }
                            default:
                                break;
                        }
                    }
    
                    DoSpellAttackIfReady(SPELL_SMITE);
                }
    
                void JustDied(Unit* /*who*/)
                 {
                    if (Creature* Hodir = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(BOSS_HODIR) : 0))
                        Hodir->AI()->DoAction(ACTION_I_HAVE_THE_COOLEST_FRIENDS);
                  }
    
            private:
                InstanceScript* instance;
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<npc_hodir_priestAI>(creature);
            };
    };
    
    class npc_hodir_shaman : public CreatureScript
    {
        public:
            npc_hodir_shaman() : CreatureScript("npc_hodir_shaman") { }
    
            struct npc_hodir_shamanAI : public ScriptedAI
            {
                npc_hodir_shamanAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                }
    
                void Reset()
                {
                    events.Reset();
                    events.ScheduleEvent(EVENT_STORM_CLOUD, urand(10000, 12500));
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim() || me->HasUnitState(UNIT_STATE_STUNNED) || me->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED))
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_STORM_CLOUD:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100.0f, true))
                                    DoCast(target, SPELL_STORM_CLOUD, true);
                                events.ScheduleEvent(EVENT_STORM_CLOUD, urand(15000, 20000));
                                break;
                            default:
                                break;
                        }
                    }
    
                    DoSpellAttackIfReady(SPELL_LAVA_BURST);
                }
    
                void JustDied(Unit* /*who*/)
                 {
                    if (Creature* Hodir = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(BOSS_HODIR) : 0))
                        Hodir->AI()->DoAction(ACTION_I_HAVE_THE_COOLEST_FRIENDS);
                  }
    
            private:
                InstanceScript* instance;
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<npc_hodir_shamanAI>(creature);
            };
    };
    
    class npc_hodir_druid : public CreatureScript
    {
        public:
            npc_hodir_druid() : CreatureScript("npc_hodir_druid") { }
    
            struct npc_hodir_druidAI : public ScriptedAI
            {
                npc_hodir_druidAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                }
    
                void Reset()
                {
                    events.Reset();
                    events.ScheduleEvent(EVENT_STARLIGHT, urand(15000, 17500));
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim() || me->HasUnitState(UNIT_STATE_STUNNED) || me->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED))
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_STARLIGHT:
                                DoCast(me, SPELL_STARLIGHT, true);
                                events.ScheduleEvent(EVENT_STARLIGHT, urand(25000, 35000));
                                break;
                            default:
                                break;
                        }
                    }
    
                    DoSpellAttackIfReady(SPELL_WRATH);
                }
    
                void JustDied(Unit* /*who*/)
                 {
                    if (Creature* Hodir = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(BOSS_HODIR) : 0))
                        Hodir->AI()->DoAction(ACTION_I_HAVE_THE_COOLEST_FRIENDS);
                  }
    
            private:
                InstanceScript* instance;
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<npc_hodir_druidAI>(creature);
            };
    };
    
    class npc_hodir_mage : public CreatureScript
    {
        public:
            npc_hodir_mage() : CreatureScript("npc_hodir_mage") { }
    
            struct npc_hodir_mageAI : public ScriptedAI
            {
                npc_hodir_mageAI(Creature* creature) : ScriptedAI(creature), summons(me)
                {
                    instance = me->GetInstanceScript();
                }
    
                void Reset()
                {
                    events.Reset();
                    summons.DespawnAll();
                    events.ScheduleEvent(EVENT_CONJURE_FIRE, urand(10000, 12500));
                    events.ScheduleEvent(EVENT_MELT_ICE, 5000);
                }
    
                void JustSummoned(Creature* summoned)
                {
                    if (summoned->GetEntry() == NPC_TOASTY_FIRE)
                        summons.Summon(summoned);
                }
    
                void SummonedCreatureDespawn(Creature* summoned)
                {
                    if (summoned->GetEntry() == NPC_TOASTY_FIRE)
                        summons.remove(summoned->GetGUID());
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim() || me->HasUnitState(UNIT_STATE_STUNNED) || me->HasFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED))
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_CONJURE_FIRE:
                                if (summons.size() >= RAID_MODE<uint64>(2, 4))
                                    break;
                                DoCast(me, SPELL_CONJURE_FIRE, true);
                                events.ScheduleEvent(EVENT_CONJURE_FIRE, urand(15000, 20000));
                                break;
                            case EVENT_MELT_ICE:
                                if (Creature* FlashFreeze = me->FindNearestCreature(NPC_FLASH_FREEZE, 50.0f, true))
                                    DoCast(FlashFreeze, SPELL_MELT_ICE, true);
                                events.ScheduleEvent(EVENT_MELT_ICE, urand(10000, 15000));
                                break;
                        }
                    }
    
                    DoSpellAttackIfReady(SPELL_FIREBALL);
                }
    
                void JustDied(Unit* /*who*/)
                 {
                      if (Creature* Hodir = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(BOSS_HODIR) : 0))
                        Hodir->AI()->DoAction(ACTION_I_HAVE_THE_COOLEST_FRIENDS);
                  }
    
            private:
                InstanceScript* instance;
                EventMap events;
                SummonList summons;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<npc_hodir_mageAI>(creature);
            };
    };
    
    class npc_toasty_fire : public CreatureScript
    {
        public:
            npc_toasty_fire() : CreatureScript("npc_toasty_fire") { }
    
            struct npc_toasty_fireAI : public ScriptedAI
            {
                npc_toasty_fireAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->SetDisplayId(me->GetCreatureTemplate()->Modelid2);
                }
    
                void Reset()
                {
                    DoCast(me, SPELL_SINGED, true);
                }
    
                void SpellHit(Unit* /*who*/, const SpellInfo* spell)
                {
                    if (spell->Id == SPELL_BLOCK_OF_ICE || spell->Id == SPELL_ICE_SHARD || spell->Id == SPELL_ICE_SHARD_HIT)
                    {
                        if (GameObject* ToastyFire = me->FindNearestGameObject(GO_TOASTY_FIRE, 1.0f))
                            me->RemoveGameObject(ToastyFire, true);
                        me->DespawnOrUnsummon();
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<npc_toasty_fireAI>(creature);
            };
    };
    
    class spell_biting_cold : public SpellScriptLoader
    {
        public:
            spell_biting_cold() : SpellScriptLoader("spell_biting_cold") { }
    
            class spell_biting_cold_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_biting_cold_AuraScript);
    
                void HandleEffectPeriodic(AuraEffect const* /*aurEff*/)
                {
                    Unit* target = GetTarget();
                    bool found = false;
    
                    for (TargetList::iterator itr = listOfTargets.begin(); itr != listOfTargets.end(); ++itr)
                    {
                        if (itr->first != target->GetGUID())
                            return;
    
                        if (itr->second >= 4)
                        {
                            target->CastSpell(target, SPELL_BITING_COLD_TRIGGERED, true);
                            itr->second = 1;
                        }
                        else
                        {
                            if (target->isMoving())
                                itr->second = 1;
                            else
                                itr->second++;
                        }
    
                        found = true;
                        break;
                    }
    
                    if (!found)
                        listOfTargets.push_back(std::make_pair(target->GetGUID(), 1));
                }
    
                void Register()
                {
                    OnEffectPeriodic += AuraEffectPeriodicFn(spell_biting_cold_AuraScript::HandleEffectPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY);
                }
    
            private:
                typedef std::list< std::pair<uint64, uint8> > TargetList;
                TargetList listOfTargets;
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_biting_cold_AuraScript();
            }
    };
    
    class spell_biting_cold_dot : public SpellScriptLoader
    {
    public:
        spell_biting_cold_dot() : SpellScriptLoader("spell_biting_cold_dot") { }
    
        class spell_biting_cold_dot_AuraScript : public AuraScript
        {
            PrepareAuraScript(spell_biting_cold_dot_AuraScript);
    
            void HandleEffectPeriodic(AuraEffect const* /*aurEff*/)
            {
                Unit* caster = GetCaster();
                if (!caster)
                    return;
    
                int32 damage = int32(200 * pow(2.0f, GetStackAmount()));
                caster->CastCustomSpell(caster, SPELL_BITING_COLD_DAMAGE, &damage, NULL, NULL, true);
    
                if (caster->isMoving())
                    caster->RemoveAuraFromStack(SPELL_BITING_COLD_TRIGGERED);
            }
    
            void Register()
            {
                OnEffectPeriodic += AuraEffectPeriodicFn(spell_biting_cold_dot_AuraScript::HandleEffectPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY);
            }
        };
    
        AuraScript* GetAuraScript() const
        {
            return new spell_biting_cold_dot_AuraScript();
        }
    };
    
    void AddSC_boss_hodir()
    {
        new boss_hodir();
        new npc_icicle();
        new npc_snowpacked_icicle();
        new npc_hodir_priest();
        new npc_hodir_shaman();
        new npc_hodir_druid();
        new npc_hodir_mage();
        new npc_toasty_fire();
        new npc_ice_block();
        new npc_flash_freeze();
        new spell_biting_cold();
        new spell_biting_cold_dot();
    }


    Spoiler untuk boss_ignis.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "SpellScript.h"
    #include "SpellAuraEffects.h"
    #include "ulduar.h"
    #include "Vehicle.h"
    
    enum Yells
    {
        SAY_AGGRO       = -1603220,
        SAY_SLAY_1      = -1603221,
        SAY_SLAY_2      = -1603222,
        SAY_DEATH       = -1603223,
        SAY_SUMMON      = -1603224,
        SAY_SLAG_POT    = -1603225,
        SAY_SCORCH_1    = -1603226,
        SAY_SCORCH_2    = -1603227,
        SAY_BERSERK     = -1603228,
        EMOTE_JETS      = -1603229,
    };
    
    enum Spells
    {
        SPELL_FLAME_JETS            = 62680,
        SPELL_SCORCH                = 62546,
        SPELL_SLAG_POT              = 62717,
        SPELL_SLAG_POT_DAMAGE       = 65722,
        SPELL_SLAG_IMBUED           = 62836,
        SPELL_ACTIVATE_CONSTRUCT    = 62488,
        SPELL_STRENGHT              = 64473,
        SPELL_GRAB                  = 62707,
        SPELL_BERSERK               = 47008,
    
        // Iron Construct
        SPELL_HEAT                  = 65667,
        SPELL_MOLTEN                = 62373,
        SPELL_BRITTLE               = 62382,
        SPELL_SHATTER               = 62383,
        SPELL_GROUND                = 62548,
    };
    
    enum Events
    {
        EVENT_JET           = 1,
        EVENT_SCORCH        = 2,
        EVENT_SLAG_POT      = 3,
        EVENT_GRAB_POT      = 4,
        EVENT_CHANGE_POT    = 5,
        EVENT_END_POT       = 6,
        EVENT_CONSTRUCT     = 7,
        EVENT_BERSERK       = 8,
    };
    
    enum Actions
    {
        ACTION_REMOVE_BUFF = 20,
    };
    
    enum Creatures
    {
        NPC_IRON_CONSTRUCT  = 33121,
        NPC_GROUND_SCORCH   = 33221,
    };
    
    enum AchievementData
    {
        DATA_SHATTERED                  = 29252926,
        ACHIEVEMENT_IGNIS_START_EVENT   = 20951,
    };
    
    #define CONSTRUCT_SPAWN_POINTS 20
    
    Position const ConstructSpawnPosition[CONSTRUCT_SPAWN_POINTS] =
    {
        {630.366f, 216.772f, 360.891f, 3.001970f},
        {630.594f, 231.846f, 360.891f, 3.124140f},
        {630.435f, 337.246f, 360.886f, 3.211410f},
        {630.493f, 313.349f, 360.886f, 3.054330f},
        {630.444f, 321.406f, 360.886f, 3.124140f},
        {630.366f, 247.307f, 360.888f, 3.211410f},
        {630.698f, 305.311f, 360.886f, 3.001970f},
        {630.500f, 224.559f, 360.891f, 3.054330f},
        {630.668f, 239.840f, 360.890f, 3.159050f},
        {630.384f, 329.585f, 360.886f, 3.159050f},
        {543.220f, 313.451f, 360.886f, 0.104720f},
        {543.356f, 329.408f, 360.886f, 6.248280f},
        {543.076f, 247.458f, 360.888f, 6.213370f},
        {543.117f, 232.082f, 360.891f, 0.069813f},
        {543.161f, 305.956f, 360.886f, 0.157080f},
        {543.277f, 321.482f, 360.886f, 0.052360f},
        {543.316f, 337.468f, 360.886f, 6.195920f},
        {543.280f, 239.674f, 360.890f, 6.265730f},
        {543.265f, 217.147f, 360.891f, 0.174533f},
        {543.256f, 224.831f, 360.891f, 0.122173f},
    };
    
    class boss_ignis : public CreatureScript
    {
        public:
            boss_ignis() : CreatureScript("boss_ignis") { }
    
            struct boss_ignis_AI : public BossAI
            {
                boss_ignis_AI(Creature* creature) : BossAI(creature, BOSS_IGNIS), _vehicle(me->GetVehicleKit())
                {
                    ASSERT(_vehicle);
                }
    
                void Reset()
                {
                    _Reset();
                    if (_vehicle)
                        _vehicle->RemoveAllPassengers();
    
                    instance->DoStopTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, ACHIEVEMENT_IGNIS_START_EVENT);
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    _EnterCombat();
                    DoScriptText(SAY_AGGRO, me);
                    events.ScheduleEvent(EVENT_JET, 30000);
                    events.ScheduleEvent(EVENT_SCORCH, 25000);
                    events.ScheduleEvent(EVENT_SLAG_POT, 35000);
                    events.ScheduleEvent(EVENT_CONSTRUCT, 15000);
                    events.ScheduleEvent(EVENT_END_POT, 40000);
                    events.ScheduleEvent(EVENT_BERSERK, 480000);
                    _slagPotGUID = 0;
                    _shattered = false;
                    _firstConstructKill = 0;
                    instance->DoStartTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, ACHIEVEMENT_IGNIS_START_EVENT);
                }
    
                void JustDied(Unit* /*victim*/)
                {
                    _JustDied();
                    DoScriptText(SAY_DEATH, me);
                }
    
                uint32 GetData(uint32 type)
                {
                    if (type == DATA_SHATTERED)
                        return _shattered ? 1 : 0;
    
                    return 0;
                }
    
                void KilledUnit(Unit* /*victim*/)
                {
                    if (!urand(0, 4))
                        DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
                }
    
                void JustSummoned(Creature* summon)
                {
                    if (summon->GetEntry() == NPC_IRON_CONSTRUCT)
                    {
                        summon->setFaction(16);
                        summon->SetReactState(REACT_AGGRESSIVE);
                        summon->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_PACIFIED | UNIT_FLAG_STUNNED | UNIT_FLAG_DISABLE_MOVE);
                    }
    
                    summon->AI()->AttackStart(me->getVictim());
                    summon->AI()->DoZoneInCombat();
                    summons.Summon(summon);
                }
    
                void DoAction(const int32 action)
                {
                    if (action != ACTION_REMOVE_BUFF)
                        return;
    
                    me->RemoveAuraFromStack(SPELL_STRENGHT);
                    // Shattered Achievement
                    time_t secondKill = sWorld->GetGameTime();
                    if ((secondKill - _firstConstructKill) < 5)
                        _shattered = true;
                    _firstConstructKill = secondKill;
                }
    
                void UpdateAI(const uint32 diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_JET:
                                me->MonsterTextEmote(EMOTE_JETS, 0, true);
                                DoCast(me, SPELL_FLAME_JETS);
                                events.ScheduleEvent(EVENT_JET, urand(35000, 40000));
                                break;
                            case EVENT_SLAG_POT:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 100, true))
                                {
                                    DoScriptText(SAY_SLAG_POT, me);
                                    _slagPotGUID = target->GetGUID();
                                    DoCast(target, SPELL_GRAB);
                                    events.DelayEvents(3000);
                                    events.ScheduleEvent(EVENT_GRAB_POT, 500);
                                }
                                events.ScheduleEvent(EVENT_SLAG_POT, RAID_MODE(30000, 15000));
                                break;
                            case EVENT_GRAB_POT:
                                if (Unit* slagPotTarget = ObjectAccessor::GetUnit(*me, _slagPotGUID))
                                {
                                    slagPotTarget->EnterVehicle(me, 0);
                                    events.CancelEvent(EVENT_GRAB_POT);
                                    events.ScheduleEvent(EVENT_CHANGE_POT, 1000);
                                }
                                break;
                            case EVENT_CHANGE_POT:
                                if (Unit* slagPotTarget = ObjectAccessor::GetUnit(*me, _slagPotGUID))
                                {
                                    slagPotTarget->AddAura(SPELL_SLAG_POT, slagPotTarget);
                                    slagPotTarget->EnterVehicle(me, 1);
                                    events.CancelEvent(EVENT_CHANGE_POT);
                                    events.ScheduleEvent(EVENT_END_POT, 10000);
                                }
                                break;
                            case EVENT_END_POT:
                                if (Unit* slagPotTarget = ObjectAccessor::GetUnit(*me, _slagPotGUID))
                                {
                                    slagPotTarget->ExitVehicle();
                                    slagPotTarget = NULL;
                                    _slagPotGUID = 0;
                                    events.CancelEvent(EVENT_END_POT);
                                }
                                break;
                            case EVENT_SCORCH:
                                DoScriptText(RAND(SAY_SCORCH_1, SAY_SCORCH_2), me);
                                if (Unit* target = me->getVictim())
                                    me->SummonCreature(NPC_GROUND_SCORCH, target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), 0, TEMPSUMMON_TIMED_DESPAWN, 45000);
                                DoCast(SPELL_SCORCH);
                                events.ScheduleEvent(EVENT_SCORCH, 25000);
                                break;
                            case EVENT_CONSTRUCT:
                                DoScriptText(SAY_SUMMON, me);
                                DoSummon(NPC_IRON_CONSTRUCT, ConstructSpawnPosition[urand(0, CONSTRUCT_SPAWN_POINTS - 1)], 30000, TEMPSUMMON_TIMED_DESPAWN_OUT_OF_COMBAT);
                                DoCast(SPELL_STRENGHT);
                                DoCast(me, SPELL_ACTIVATE_CONSTRUCT);
                                events.ScheduleEvent(EVENT_CONSTRUCT, RAID_MODE(40000, 30000));
                                break;
                            case EVENT_BERSERK:
                                DoCast(me, SPELL_BERSERK, true);
                                DoScriptText(SAY_BERSERK, me);
                                break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
    
                    EnterEvadeIfOutOfCombatArea(diff);
                }
    
            private:
                uint64 _slagPotGUID;
                Vehicle* _vehicle;
                time_t _firstConstructKill;
                bool _shattered;
    
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_ignis_AI>(creature);
            }
    };
    
    class npc_iron_construct : public CreatureScript
    {
        public:
            npc_iron_construct() : CreatureScript("npc_iron_construct") { }
    
            struct npc_iron_constructAI : public ScriptedAI
            {
                npc_iron_constructAI(Creature* creature) : ScriptedAI(creature), _instance(creature->GetInstanceScript())
                {
                    creature->SetReactState(REACT_PASSIVE);
                }
    
                void Reset()
                {
                    _brittled = false;
                }
    
                void DamageTaken(Unit* /*attacker*/, uint32& damage)
                {
                    if (me->HasAura(SPELL_BRITTLE) && damage >= 5000)
                    {
                        DoCast(SPELL_SHATTER);
                        if (Creature* ignis = ObjectAccessor::GetCreature(*me, _instance->GetData64(BOSS_IGNIS)))
                            if (ignis->AI())
                                ignis->AI()->DoAction(ACTION_REMOVE_BUFF);
    
                        me->DespawnOrUnsummon(1000);
                    }
                }
    
                void UpdateAI(const uint32 /*uiDiff*/)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (Aura* aur = me->GetAura(SPELL_HEAT))
                    {
                        if (aur->GetStackAmount() >= 10)
                        {
                            me->RemoveAura(SPELL_HEAT);
                            DoCast(SPELL_MOLTEN);
                            _brittled = false;
                        }
                    }
    
                    // Water pools
                    if (me->IsInWater() && !_brittled && me->HasAura(SPELL_MOLTEN))
                    {
                        DoCast(SPELL_BRITTLE);
                        me->RemoveAura(SPELL_MOLTEN);
                        _brittled = true;
                    }
    
                    DoMeleeAttackIfReady();
                }
    
            private:
                InstanceScript* _instance;
                bool _brittled;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<npc_iron_constructAI>(creature);
            }
    };
    
    class npc_scorch_ground : public CreatureScript
    {
        public:
            npc_scorch_ground() : CreatureScript("npc_scorch_ground") { }
    
            struct npc_scorch_groundAI : public ScriptedAI
            {
                npc_scorch_groundAI(Creature* creature) : ScriptedAI(creature)
                {
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE |UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_PACIFIED);
                    creature->SetDisplayId(16925); //model 2 in db cannot overwrite wdb fields
                }
    
                void MoveInLineOfSight(Unit* unit)
                {
                    if (!_heat)
                    {
                        if (unit->GetEntry() == NPC_IRON_CONSTRUCT)
                        {
                            if (!unit->HasAura(SPELL_HEAT) || !unit->HasAura(SPELL_MOLTEN))
                            {
                                _constructGUID = unit->GetGUID();
                                _heat = true;
                            }
                        }
                    }
                }
    
                void Reset()
                {
                    _heat = false;
                    DoCast(me, SPELL_GROUND);
                    _constructGUID = 0;
                    _heatTimer = 0;
                }
    
                void UpdateAI(const uint32 uiDiff)
                {
                    if (_heat)
                    {
                        if (_heatTimer <= uiDiff)
                        {
                            Creature* construct = me->GetCreature(*me, _constructGUID);
                            if (construct && !construct->HasAura(SPELL_MOLTEN))
                            {
                                me->AddAura(SPELL_HEAT, construct);
                                _heatTimer = 1000;
                            }
                        }
                        else
                            _heatTimer -= uiDiff;
                    }
                }
    
            private:
                uint64 _constructGUID;
                uint32 _heatTimer;
                bool _heat;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<npc_scorch_groundAI>(creature);
            }
    };
    
    class spell_ignis_slag_pot : public SpellScriptLoader
    {
        public:
            spell_ignis_slag_pot() : SpellScriptLoader("spell_ignis_slag_pot") { }
    
            class spell_ignis_slag_pot_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_ignis_slag_pot_AuraScript);
    
                bool Validate(SpellInfo const* /*spellEntry*/)
                {
                    if (!sSpellMgr->GetSpellInfo(SPELL_SLAG_POT_DAMAGE))
                        return false;
                    if (!sSpellMgr->GetSpellInfo(SPELL_SLAG_IMBUED))
                        return false;
                    return true;
                }
    
                void HandleEffectPeriodic(AuraEffect const* aurEff)
                {
                    Unit* aurEffCaster = aurEff->GetCaster();
                    if (!aurEffCaster)
                        return;
    
                    Unit* target = GetTarget();
                    aurEffCaster->CastSpell(target, SPELL_SLAG_POT_DAMAGE, true);
                }
    
                void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
                {
                    if (GetTarget()->isAlive())
                        GetTarget()->CastSpell(GetTarget(), SPELL_SLAG_IMBUED, true);
                }
    
                void Register()
                {
                    OnEffectPeriodic += AuraEffectPeriodicFn(spell_ignis_slag_pot_AuraScript::HandleEffectPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY);
                    AfterEffectRemove += AuraEffectRemoveFn(spell_ignis_slag_pot_AuraScript::OnRemove, EFFECT_0, SPELL_AURA_PERIODIC_DUMMY, AURA_EFFECT_HANDLE_REAL);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_ignis_slag_pot_AuraScript();
            }
    };
    
    class achievement_ignis_shattered : public AchievementCriteriaScript
    {
        public:
            achievement_ignis_shattered() : AchievementCriteriaScript("achievement_ignis_shattered") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (target && target->IsAIEnabled)
                    return target->GetAI()->GetData(DATA_SHATTERED);
    
                return false;
            }
    };
    
    void AddSC_boss_ignis()
    {
        new boss_ignis();
        new npc_iron_construct();
        new npc_scorch_ground();
        new spell_ignis_slag_pot();
        new achievement_ignis_shattered();
    }


    Spoiler untuk boss_kologarn.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "SpellScript.h"
    #include "SpellAuraEffects.h"
    #include "ulduar.h"
    #include "Vehicle.h"
    
    /* ScriptData
    SDName: boss_kologarn
    SD%Complete: 90
    SDComment: TODO: Achievements
    SDCategory: Ulduar
    EndScriptData */
    
    #define SPELL_ARM_DEAD_DAMAGE   RAID_MODE(63629, 63979)
    #define SPELL_TWO_ARM_SMASH     RAID_MODE(63356, 64003)
    #define SPELL_ONE_ARM_SMASH     RAID_MODE(63573, 64006)
    #define SPELL_ARM_SWEEP         RAID_MODE(63766, 63983)
    #define SPELL_STONE_SHOUT       RAID_MODE(63716, 64005)
    #define SPELL_PETRIFY_BREATH    RAID_MODE(62030, 63980)
    #define SPELL_STONE_GRIP        RAID_MODE(62166, 63981)
    #define SPELL_STONE_GRIP_CANCEL 65594
    #define SPELL_SUMMON_RUBBLE     63633
    #define SPELL_FALLING_RUBBLE    63821
    #define SPELL_ARM_ENTER_VEHICLE 65343
    #define SPELL_ARM_ENTER_VISUAL  64753
    
    #define SPELL_SUMMON_FOCUSED_EYEBEAM        63342
    #define SPELL_FOCUSED_EYEBEAM_PERIODIC      RAID_MODE(63347, 63977)
    #define SPELL_FOCUSED_EYEBEAM_VISUAL        63369
    #define SPELL_FOCUSED_EYEBEAM_VISUAL_LEFT   63676
    #define SPELL_FOCUSED_EYEBEAM_VISUAL_RIGHT  63702
    
    // Passive
    #define SPELL_KOLOGARN_REDUCE_PARRY 64651
    #define SPELL_KOLOGARN_PACIFY       63726
    #define SPELL_KOLOGARN_UNK_0        65219   // Not found in DBC
    
    #define SPELL_BERSERK           47008 // guess
    
    #define NPC_RUBBLE_STALKER      33809
    #define NPC_ARM_SWEEP_STALKER   33661
    
    enum Events
    {
        EVENT_NONE = 0,
        EVENT_INSTALL_ACCESSORIES,
        EVENT_MELEE_CHECK,
        EVENT_SMASH,
        EVENT_SWEEP,
        EVENT_STONE_SHOUT,
        EVENT_STONE_GRIP,
        EVENT_FOCUSED_EYEBEAM,
        EVENT_RESPAWN_LEFT_ARM,
        EVENT_RESPAWN_RIGHT_ARM,
        EVENT_ENRAGE,
    };
    
    enum Yells
    {
        SAY_AGGRO                                   = -1603230,
        SAY_SLAY_1                                  = -1603231,
        SAY_SLAY_2                                  = -1603232,
        SAY_LEFT_ARM_GONE                           = -1603233,
        SAY_RIGHT_ARM_GONE                          = -1603234,
        SAY_SHOCKWAVE                               = -1603235,
        SAY_GRAB_PLAYER                             = -1603236,
        SAY_DEATH                                   = -1603237,
        SAY_BERSERK                                 = -1603238,
    };
    
    class boss_kologarn : public CreatureScript
    {
        public:
            boss_kologarn() : CreatureScript("boss_kologarn") { }
    
            struct boss_kologarnAI : public BossAI
            {
                boss_kologarnAI(Creature* creature) : BossAI(creature, BOSS_KOLOGARN), vehicle(creature->GetVehicleKit()),
                    left(false), right(false)
                {
                    ASSERT(vehicle);
    
                    me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE);
    
                    DoCast(SPELL_KOLOGARN_REDUCE_PARRY);
                    SetCombatMovement(false);
                    Reset();
                }
    
                Vehicle* vehicle;
                bool left, right;
                uint64 eyebeamTarget;
    
                void EnterCombat(Unit* /*who*/)
                {
                    DoScriptText(SAY_AGGRO, me);
    
                    events.ScheduleEvent(EVENT_MELEE_CHECK, 6000);
                    events.ScheduleEvent(EVENT_SMASH, 5000);
                    events.ScheduleEvent(EVENT_SWEEP, 19000);
                    events.ScheduleEvent(EVENT_STONE_GRIP, 25000);
                    events.ScheduleEvent(EVENT_FOCUSED_EYEBEAM, 21000);
                    events.ScheduleEvent(EVENT_ENRAGE, 600000);
    
                    for (uint8 i = 0; i < 2; ++i)
                        if (Unit* arm = vehicle->GetPassenger(i))
                            arm->ToCreature()->SetInCombatWithZone();
    
                    _EnterCombat();
                }
    
                void Reset()
                {
                    _Reset();
                    me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    eyebeamTarget = 0;
                }
    
                void JustDied(Unit* /*victim*/)
                {
                    DoScriptText(SAY_DEATH, me);
                    DoCast(SPELL_KOLOGARN_PACIFY);
                    me->GetMotionMaster()->MoveTargetedHome();
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    me->SetCorpseDelay(604800); // Prevent corpse from despawning.
                    _JustDied();
                }
    
                void KilledUnit(Unit* /*who*/)
                {
                    DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
                }
    
                void PassengerBoarded(Unit* who, int8 /*seatId*/, bool apply)
                {
                    bool isEncounterInProgress = instance->GetBossState(BOSS_KOLOGARN) == IN_PROGRESS;
                    if (who->GetEntry() == NPC_LEFT_ARM)
                    {
                        left = apply;
                        if (!apply && isEncounterInProgress)
                        {
                            who->ToCreature()->DisappearAndDie();
                            DoScriptText(SAY_LEFT_ARM_GONE, me);
                            events.ScheduleEvent(EVENT_RESPAWN_LEFT_ARM, 40000);
                        }
                    }
    
                    else if (who->GetEntry() == NPC_RIGHT_ARM)
                    {
                        right = apply;
                        if (!apply && isEncounterInProgress)
                        {
                            who->ToCreature()->DisappearAndDie();
                            DoScriptText(SAY_RIGHT_ARM_GONE, me);
                            events.ScheduleEvent(EVENT_RESPAWN_RIGHT_ARM, 40000);
                        }
                    }
    
                    if (!isEncounterInProgress)
                        return;
    
                    if (!apply)
                    {
                        who->CastSpell(me, SPELL_ARM_DEAD_DAMAGE, true);
    
                        if (Creature* rubbleStalker = who->FindNearestCreature(NPC_RUBBLE_STALKER, 70.0f))
                        {
                            if (rubbleStalker)
                            {
                                rubbleStalker->CastSpell(rubbleStalker, SPELL_FALLING_RUBBLE, true);
                                rubbleStalker->CastSpell(rubbleStalker, SPELL_SUMMON_RUBBLE, true);
                            }
                        }
    
                        if (!right && !left)
                            events.ScheduleEvent(EVENT_STONE_SHOUT, 5000);
    
                        instance->DoStartTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, CRITERIA_DISARMED);
                    }
                    else
                    {
                        events.CancelEvent(EVENT_STONE_SHOUT);
                        who->ToCreature()->SetInCombatWithZone();
                    }
                }
    
                void JustSummoned(Creature* summon)
                {
                    switch (summon->GetEntry())
                    {
                        case NPC_FOCUSED_EYEBEAM:
                            summon->CastSpell(me, SPELL_FOCUSED_EYEBEAM_VISUAL_LEFT, true);
                            break;
                        case NPC_FOCUSED_EYEBEAM_RIGHT:
                            summon->CastSpell(me, SPELL_FOCUSED_EYEBEAM_VISUAL_RIGHT, true);
                            break;
                        case NPC_RUBBLE:
                            summons.push_back(summon->GetGUID());
                            // absence of break intended
                        default:
                            return;
                    }
    
                    summon->CastSpell(summon, SPELL_FOCUSED_EYEBEAM_PERIODIC, true);
                    summon->CastSpell(summon, SPELL_FOCUSED_EYEBEAM_VISUAL, true);
                    summon->SetReactState(REACT_PASSIVE);
                    // One of the above spells is a channeled spell, we need to clear this unit state for MoveChase to work
                    summon->ClearUnitState(UNIT_STATE_CASTING);
    
                    // Victim gets 67351
                    if (eyebeamTarget)
                    {
                        if (Unit* target = Unit::GetUnit(*summon, eyebeamTarget))
                        {
                            summon->Attack(target, false);
                            summon->GetMotionMaster()->MoveChase(target);
                        }
                    }
                }
    
                void UpdateAI(uint32 const diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_MELEE_CHECK:
                                if (!me->IsWithinMeleeRange(me->getVictim()))
                                    DoCast(SPELL_PETRIFY_BREATH);
                                events.ScheduleEvent(EVENT_MELEE_CHECK, 1 * IN_MILLISECONDS);
                                break;
                            case EVENT_SWEEP:
                                if (left)
                                    DoCast(me->FindNearestCreature(NPC_ARM_SWEEP_STALKER, 500.0f, true), SPELL_ARM_SWEEP, true);
                                events.ScheduleEvent(EVENT_SWEEP, 25 * IN_MILLISECONDS);
                                break;
                            case EVENT_SMASH:
                                if (left && right)
                                    DoCastVictim(SPELL_TWO_ARM_SMASH);
                                else if (left || right)
                                    DoCastVictim(SPELL_ONE_ARM_SMASH);
                                events.ScheduleEvent(EVENT_SMASH, 15 * IN_MILLISECONDS);
                                break;
                            case EVENT_STONE_SHOUT:
                                DoCast(SPELL_STONE_SHOUT);
                                events.ScheduleEvent(EVENT_STONE_SHOUT, 2 * IN_MILLISECONDS);
                                break;
                            case EVENT_ENRAGE:
                                DoCast(SPELL_BERSERK);
                                DoScriptText(SAY_BERSERK, me);
                                break;
                            case EVENT_RESPAWN_LEFT_ARM:
                            case EVENT_RESPAWN_RIGHT_ARM:
                            {
                                if (vehicle)
                                {
                                    int8 seat = eventId == EVENT_RESPAWN_LEFT_ARM ? 0 : 1;
                                    uint32 entry = eventId == EVENT_RESPAWN_LEFT_ARM ? NPC_LEFT_ARM : NPC_RIGHT_ARM;
                                    vehicle->InstallAccessory(entry, seat, true, TEMPSUMMON_MANUAL_DESPAWN, 0);
                                }
                                break;
                            }
                            case EVENT_STONE_GRIP:
                            {
                                if (right)
                                {
                                    DoCast(SPELL_STONE_GRIP);
                                    DoScriptText(SAY_GRAB_PLAYER, me);
                                }
                                events.ScheduleEvent(EVENT_STONE_GRIP, 25 * IN_MILLISECONDS);
                            }
                            break;
                            case EVENT_FOCUSED_EYEBEAM:
                                if (Unit* eyebeamTargetUnit = SelectTarget(SELECT_TARGET_FARTHEST, 0, 0, true))
                                {
                                    eyebeamTarget = eyebeamTargetUnit->GetGUID();
                                    DoCast(me, SPELL_SUMMON_FOCUSED_EYEBEAM, true);
                                }
                                events.ScheduleEvent(EVENT_FOCUSED_EYEBEAM, urand(15, 35) * IN_MILLISECONDS);
                                break;
                        }
                    }
    
                    DoMeleeAttackIfReady();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_kologarnAI>(creature);
            }
    };
    
    class spell_ulduar_rubble_summon : public SpellScriptLoader
    {
        public:
            spell_ulduar_rubble_summon() : SpellScriptLoader("spell_ulduar_rubble_summon") { }
    
            class spell_ulduar_rubble_summonSpellScript : public SpellScript
            {
                PrepareSpellScript(spell_ulduar_rubble_summonSpellScript);
    
                void HandleScript(SpellEffIndex /*effIndex*/)
                {
                    Unit* caster = GetCaster();
                    if (!caster)
                        return;
    
                    uint64 originalCaster = caster->GetInstanceScript() ? caster->GetInstanceScript()->GetData64(BOSS_KOLOGARN) : 0;
                    uint32 spellId = GetEffectValue();
                    for (uint8 i = 0; i < 5; ++i)
                        caster->CastSpell(caster, spellId, true, NULL, NULL, originalCaster);
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_ulduar_rubble_summonSpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_ulduar_rubble_summonSpellScript();
            }
    };
    
    // predicate function to select non main tank target
    class StoneGripTargetSelector : public std::unary_function<Unit*, bool>
    {
        public:
            StoneGripTargetSelector(Creature* me, Unit const* victim) : _me(me), _victim(victim) {}
    
            bool operator() (Unit* target)
            {
                if (target == _victim && _me->getThreatManager().getThreatList().size() > 1)
                    return true;
    
                if (target->GetTypeId() != TYPEID_PLAYER)
                    return true;
    
                return false;
            }
    
            Creature* _me;
            Unit const* _victim;
    };
    
    class spell_ulduar_stone_grip_cast_target : public SpellScriptLoader
    {
        public:
            spell_ulduar_stone_grip_cast_target() : SpellScriptLoader("spell_ulduar_stone_grip_cast_target") { }
    
            class spell_ulduar_stone_grip_cast_target_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_ulduar_stone_grip_cast_target_SpellScript);
    
                bool Load()
                {
                    if (GetCaster()->GetTypeId() != TYPEID_UNIT)
                        return false;
                    return true;
                }
    
                void FilterTargetsInitial(std::list<Unit*>& unitList)
                {
                    // Remove "main tank" and non-player targets
                    unitList.remove_if (StoneGripTargetSelector(GetCaster()->ToCreature(), GetCaster()->getVictim()));
                    // Maximum affected targets per difficulty mode
                    uint32 maxTargets = 1;
                    if (GetSpellInfo()->Id == 63981)
                        maxTargets = 3;
    
                    // Return a random amount of targets based on maxTargets
                    while (maxTargets < unitList.size())
                    {
                        std::list<Unit*>::iterator itr = unitList.begin();
                        advance(itr, urand(0, unitList.size()-1));
                        unitList.erase(itr);
                    }
    
                    // For subsequent effects
                    m_unitList = unitList;
                }
    
                void FillTargetsSubsequential(std::list<Unit*>& unitList)
                {
                    unitList = m_unitList;
                }
    
                void Register()
                {
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_ulduar_stone_grip_cast_target_SpellScript::FilterTargetsInitial, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_ulduar_stone_grip_cast_target_SpellScript::FillTargetsSubsequential, EFFECT_1, TARGET_UNIT_SRC_AREA_ENEMY);
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_ulduar_stone_grip_cast_target_SpellScript::FillTargetsSubsequential, EFFECT_2, TARGET_UNIT_SRC_AREA_ENEMY);
                }
    
                // Shared between effects
                std::list<Unit*> m_unitList;
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_ulduar_stone_grip_cast_target_SpellScript();
            }
    };
    
    class spell_ulduar_cancel_stone_grip : public SpellScriptLoader
    {
        public:
            spell_ulduar_cancel_stone_grip() : SpellScriptLoader("spell_ulduar_cancel_stone_grip") { }
    
            class spell_ulduar_cancel_stone_gripSpellScript : public SpellScript
            {
                PrepareSpellScript(spell_ulduar_cancel_stone_gripSpellScript);
    
                void HandleScript(SpellEffIndex /*effIndex*/)
                {
                    Unit* target = GetHitUnit();
                    if (!target || !target->GetVehicle())
                        return;
    
                    switch (target->GetMap()->GetDifficulty())
                    {
                        case RAID_DIFFICULTY_10MAN_NORMAL:
                            target->RemoveAura(GetSpellInfo()->Effects[EFFECT_0].CalcValue());
                            break;
                        case RAID_DIFFICULTY_25MAN_NORMAL:
                            target->RemoveAura(GetSpellInfo()->Effects[EFFECT_1].CalcValue());
                            break;
                        default:
                            break;
                    }
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_ulduar_cancel_stone_gripSpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_ulduar_cancel_stone_gripSpellScript();
            }
    };
    
    class spell_ulduar_squeezed_lifeless : public SpellScriptLoader
    {
        public:
            spell_ulduar_squeezed_lifeless() : SpellScriptLoader("spell_ulduar_squeezed_lifeless") { }
    
            class spell_ulduar_squeezed_lifeless_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_ulduar_squeezed_lifeless_SpellScript);
    
                void HandleInstaKill(SpellEffIndex /*effIndex*/)
                {
                    if (!GetHitPlayer() || !GetHitPlayer()->GetVehicle())
                        return;
    
                    //! Proper exit position does not work currently,
                    //! See documentation in void Unit::ExitVehicle(Position const* exitPosition)
                    Position pos;
                    pos.m_positionX = 1756.25f + irand(-3, 3);
                    pos.m_positionY = -8.3f + irand(-3, 3);
                    pos.m_positionZ = 448.8f;
                    pos.m_orientation = M_PI;
                    GetHitPlayer()->DestroyForNearbyPlayers();
                    GetHitPlayer()->ExitVehicle(&pos);
                    GetHitPlayer()->UpdateObjectVisibility(false);
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_ulduar_squeezed_lifeless_SpellScript::HandleInstaKill, EFFECT_1, SPELL_EFFECT_INSTAKILL);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_ulduar_squeezed_lifeless_SpellScript();
            }
    };
    
    class spell_ulduar_stone_grip_absorb : public SpellScriptLoader
    {
        public:
            spell_ulduar_stone_grip_absorb() : SpellScriptLoader("spell_ulduar_stone_grip_absorb") { }
    
            class spell_ulduar_stone_grip_absorb_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_ulduar_stone_grip_absorb_AuraScript);
    
                //! This will be called when Right Arm (vehicle) has sustained a specific amount of damage depending on instance mode
                //! What we do here is remove all harmful aura's related and teleport to safe spot.
                void OnRemove(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
                {
                    if (GetTargetApplication()->GetRemoveMode() !=  AURA_REMOVE_BY_ENEMY_SPELL)
                        return;
    
                    if (!GetOwner()->ToCreature())
                        return;
    
                    uint32 rubbleStalkerEntry = (GetOwner()->GetMap()->GetDifficulty() == DUNGEON_DIFFICULTY_NORMAL ? 33809 : 33942);
                    Creature* rubbleStalker = GetOwner()->FindNearestCreature(rubbleStalkerEntry, 200.0f, true);
                    if (rubbleStalker)
                        rubbleStalker->CastSpell(rubbleStalker, SPELL_STONE_GRIP_CANCEL, true);
                }
    
                void Register()
                {
                    AfterEffectRemove += AuraEffectRemoveFn(spell_ulduar_stone_grip_absorb_AuraScript::OnRemove, EFFECT_0, SPELL_AURA_SCHOOL_ABSORB, AURA_EFFECT_HANDLE_REAL);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_ulduar_stone_grip_absorb_AuraScript();
            }
    };
    
    class spell_ulduar_stone_grip : public SpellScriptLoader
    {
        public:
            spell_ulduar_stone_grip() : SpellScriptLoader("spell_ulduar_stone_grip") { }
    
            class spell_ulduar_stone_grip_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_ulduar_stone_grip_AuraScript);
    
                void OnRemoveStun(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
                {
                    if (Player* owner = GetOwner()->ToPlayer())
                        owner->RemoveAurasDueToSpell(aurEff->GetAmount());
                }
    
                void OnRemoveVehicle(AuraEffect const* /*aurEff*/, AuraEffectHandleModes mode)
                {
                    if (!(mode & AURA_EFFECT_HANDLE_REAL))
                        return;
    
                    if (GetOwner()->GetTypeId() != TYPEID_UNIT)
                        return;
    
                    Player* caster = GetCaster() ? GetCaster()->ToPlayer() : NULL;
                    if (!caster || !caster->IsOnVehicle(GetOwner()->ToUnit()))
                        return;
    
                    caster->RemoveAurasDueToSpell(GetId());
                    caster->ExitVehicle();
                    caster->GetMotionMaster()->MoveJump(1756.25f + irand(-3, 3), -8.3f + irand(-3, 3), 448.8f, 5.0f, 5.0f);
                    PreventDefaultAction();
                }
    
                void Register()
                {
                    OnEffectRemove += AuraEffectRemoveFn(spell_ulduar_stone_grip_AuraScript::OnRemoveVehicle, EFFECT_0, SPELL_AURA_CONTROL_VEHICLE, AURA_EFFECT_HANDLE_REAL);
                    AfterEffectRemove += AuraEffectRemoveFn(spell_ulduar_stone_grip_AuraScript::OnRemoveStun, EFFECT_2, SPELL_AURA_MOD_STUN, AURA_EFFECT_HANDLE_REAL);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_ulduar_stone_grip_AuraScript();
            }
    };
    
    class spell_kologarn_stone_shout : public SpellScriptLoader
    {
        public:
            spell_kologarn_stone_shout() : SpellScriptLoader("spell_kologarn_stone_shout") { }
    
            class spell_kologarn_stone_shout_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_kologarn_stone_shout_SpellScript);
    
                void FilterTargets(std::list<Unit*>& unitList)
                {
                    unitList.remove_if (PlayerOrPetCheck());
                }
    
                void Register()
                {
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_kologarn_stone_shout_SpellScript::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_kologarn_stone_shout_SpellScript();
            }
    };
    
    class spell_kologarn_summon_focused_eyebeam : public SpellScriptLoader
    {
        public:
            spell_kologarn_summon_focused_eyebeam() : SpellScriptLoader("spell_kologarn_summon_focused_eyebeam") { }
    
            class spell_kologarn_summon_focused_eyebeam_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_kologarn_summon_focused_eyebeam_SpellScript);
    
                void HandleForceCast(SpellEffIndex eff)
                {
                    PreventHitDefaultEffect(eff);
                    GetCaster()->CastSpell(GetCaster(), GetSpellInfo()->Effects[eff].TriggerSpell, true);
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_kologarn_summon_focused_eyebeam_SpellScript::HandleForceCast, EFFECT_0, SPELL_EFFECT_FORCE_CAST);
                    OnEffectHitTarget += SpellEffectFn(spell_kologarn_summon_focused_eyebeam_SpellScript::HandleForceCast, EFFECT_1, SPELL_EFFECT_FORCE_CAST);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_kologarn_summon_focused_eyebeam_SpellScript();
            }
    };
    
    void AddSC_boss_kologarn()
    {
        new boss_kologarn();
        new spell_ulduar_rubble_summon();
        new spell_ulduar_squeezed_lifeless();
        new spell_ulduar_cancel_stone_grip();
        new spell_ulduar_stone_grip_cast_target();
        new spell_ulduar_stone_grip_absorb();
        new spell_ulduar_stone_grip();
        new spell_kologarn_stone_shout();
        new spell_kologarn_summon_focused_eyebeam();
    }
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  4. #33
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [C++] Ulduar Script Part 3

    Spoiler untuk boss_mimiron.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "SpellScript.h"
    #include "ulduar.h"
    
    enum Yells
    {
        SAY_AGGRO                                   = -1603240,
        SAY_HARDMODE_ON                             = -1603241,
        SAY_MKII_ACTIVATE                           = -1603242,
        SAY_MKII_SLAY_1                             = -1603243,
        SAY_MKII_SLAY_2                             = -1603244,
        SAY_MKII_DEATH                              = -1603245,
        SAY_VX001_ACTIVATE                          = -1603246,
        SAY_VX001_SLAY_1                            = -1603247,
        SAY_VX001_SLAY_2                            = -1603248,
        SAY_VX001_DEATH                             = -1603249,
        SAY_AERIAL_ACTIVATE                         = -1603250,
        SAY_AERIAL_SLAY_1                           = -1603251,
        SAY_AERIAL_SLAY_2                           = -1603252,
        SAY_AERIAL_DEATH                            = -1603253,
        SAY_V07TRON_ACTIVATE                        = -1603254,
        SAY_V07TRON_SLAY_1                          = -1603255,
        SAY_V07TRON_SLAY_2                          = -1603256,
        SAY_V07TRON_DEATH                           = -1603257,
        SAY_BERSERK                                 = -1603258,
        SAY_YS_HELP                                 = -1603259,
    };
    
    enum Spells
    {
       SPELL_JETPACK                               = 63341,
       SPELL_EMERGENCY_MODE                        = 64582,
       SPELL_SELF_REPAIR                           = 64383,
       SPELL_MAGNETIC_CORE                         = 64444,
       // Leviathan MK II
       SPELL_FLAME_SUPPRESSANT_MK                  = 64570,
       SPELL_NAPALM_SHELL                          = 63666,
       SPELL_PLASMA_BLAST                          = 62977,
       SPELL_PROXIMITY_MINES                       = 63027,
       SPELL_SHOCK_BLAST                           = 63631,
       // VX 001
       SPELL_FLAME_SUPPRESSANT_VX                  = 65192,
       SPELL_FROSTBOMB                             = 64623,
       SPELL_HAND_PULSE                            = 64348,
       SPELL_SPINNING_UP                           = 63414,
       SPELL_RAPID_BURST                           = 63387,
       SPELL_P3WX2_LASER_BARRAGE                   = 63293,
       SPELL_ROCKET_STRIKE                         = 63041,
       SPELL_HEAT_WAVE                             = 63677,
       // Aerial Command Unit
       SPELL_PLASMA_BALL                           = 63689,
       // Additonal spells
       SPELL_MAGNETIC_FIELD                        = 64668,
       SPELL_DEAFENING_SIREN                       = 64616,
       SPELL_WATER_SPRAY                           = 64619,
       SPELL_FROST_BOMB_HARD_MODE                  = 64627,
       SPELL_EXPLOSION                             = 66351,
       SPELL_DISARM                                = 1842,
       SPELL_RIDE_VEHICLE                          = 46598,
       SPELL_TRIGGER_MISSILE                       = 65347,
    };
    
    enum Npc
    {
       NPC_ASSAULT_BOT                             = 34057,
       NPC_BOMB_BOT                                = 33836,
       NPC_JUNK_BOT                                = 33855,
       NPC_EMERGENCE_FIRE_BOT                      = 34147,
       NPC_FROST_BOMB                              = 34149,
    };
    
    class spell_ulduar_proximity_mines : public SpellScriptLoader
    {
       public:
           spell_ulduar_proximity_mines() : SpellScriptLoader("spell_ulduar_proximity_mines") { }
    
           class spell_ulduar_proximity_minesSpellScript : public SpellScript
           {
               PrepareSpellScript(spell_ulduar_proximity_minesSpellScript)
    
               void HandleScript(SpellEffIndex effIndex)
               {
                   PreventHitDefaultEffect(effIndex);
                   for (uint8 i = 0; i < 10; ++i)
                       GetCaster()->CastSpell(GetCaster(), SPELL_TRIGGER_MISSILE, true);
               }
    
               void Register()
               {
                   OnEffectHitTarget += SpellEffectFn(spell_ulduar_proximity_minesSpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
               }
           };
    
           SpellScript* GetSpellScript() const
           {
               return new spell_ulduar_proximity_minesSpellScript();
           }
    };
    
    void AddSC_boss_mimiron()
    {
        new spell_ulduar_proximity_mines();
    }


    Spoiler untuk boss_razorscale.cpp :

    Code:
    /*
    * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
    *
    * This program is free software; you can redistribute it and/or modify it
    * under the terms of the GNU General Public License as published by the
    * Free Software Foundation; either version 2 of the License, or (at your
    * option) any later version.
    *
    * This program is distributed in the hope that it will be useful, but WITHOUT
    * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
    * more details.
    *
    * You should have received a copy of the GNU General Public License along
    * with this program. If not, see <http://www.gnu.org/licenses/>.
    */
    
    //TODO: Harpoon chain from 62505 should not get removed when other chain is applied
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "ScriptedGossip.h"
    #include "SpellScript.h"
    #include "ulduar.h"
    #include "SpellInfo.h"
    
    enum Says
    {
        SAY_GREET                                    = -1603260,
        SAY_GROUND_PHASE                             = -1603261,
        SAY_AGGRO_1                                  = -1603262,
        SAY_AGGRO_2                                  = -1603263,
        SAY_AGGRO_3                                  = -1603264,
        SAY_TURRETS                                  = -1603265,
        EMOTE_HARPOON                                = -1603266,
        EMOTE_BREATH                                 = -1603267,
        EMOTE_PERMA                                  = -1603268,
    };
    
    enum Spells
    {
        SPELL_FLAMEBUFFET                            = 64016,
        SPELL_FIREBALL                               = 62796,
        SPELL_FLAME_GROUND                           = 64734,
        SPELL_WINGBUFFET                             = 62666,
        SPELL_FLAMEBREATH                            = 63317,
        SPELL_FUSEARMOR                              = 64771,
        SPELL_FLAMED                                 = 62696,
        SPELL_STUN                                   = 9032,
        SPELL_BERSERK                                = 47008,
        // Additonal Spells
        // Devouring Flame Spells
        SPELL_DEVOURING_FLAME                        = 63308,
        SPELL_DEVOURING_FLAME_DAMAGE                 = 64704,
        SPELL_DEVOURING_FLAME_TRIGGER                = 64709,
        // HarpoonSpells
        SPELL_HARPOON_TRIGGER                        = 62505,
        SPELL_HARPOON_SHOT_1                         = 63658,
        SPELL_HARPOON_SHOT_2                         = 63657,
        SPELL_HARPOON_SHOT_3                         = 63659,
        SPELL_HARPOON_SHOT_4                         = 63524,
        // MoleMachine Spells
        SPELL_SUMMON_MOLE_MACHINE                    = 62899,
        SPELL_SUMMON_IRON_DWARVES                    = 63116,
        SPELL_SUMMON_IRON_DWARVES_2                  = 63114,
        SPELL_SUMMON_IRON_DWARVE_GUARDIAN            = 62926,
        SPELL_SUMMON_IRON_DWARVE_WATCHER             = 63135,
    };
    
    enum NPC
    {
        NPC_DARK_RUNE_GUARDIAN                       = 33388,
        NPC_DARK_RUNE_SENTINEL                       = 33846,
        NPC_DARK_RUNE_WATCHER                        = 33453,
        MOLE_MACHINE_TRIGGER                         = 33245,
        NPC_COMMANDER                                = 33210,
        NPC_ENGINEER                                 = 33287,
        NPC_DEFENDER                                 = 33816,
    };
    
    enum DarkRuneSpells
    {
        // Dark Rune Watcher
        SPELL_CHAIN_LIGHTNING                        = 64758,
        SPELL_LIGHTNING_BOLT                         = 63809,
        // Dark Rune Guardian
        SPELL_STORMSTRIKE                            = 64757,
        // Dark Rune Sentinel
        SPELL_BATTLE_SHOUT                           = 46763,
        SPELL_HEROIC_STRIKE                          = 45026,
        SPELL_WHIRLWIND                              = 63807,
    };
    
    enum Actions
    {
        ACTION_EVENT_START                           = 1,
        ACTION_GROUND_PHASE                          = 2,
        ACTION_HARPOON_BUILD                         = 3,
        ACTION_PLACE_BROKEN_HARPOON                  = 4,
        ACTION_COMMANDER_RESET                       = 7,
    };
    
    enum Phases
    {
        PHASE_PERMAGROUND                            = 1,
        PHASE_GROUND                                 = 2,
        PHASE_FLIGHT                                 = 3,
    };
    
    enum Events
    {
        EVENT_BERSERK                                = 1,
        EVENT_BREATH                                 = 2,
        EVENT_BUFFET                                 = 3,
        EVENT_FIREBALL                               = 5,
        EVENT_FLIGHT                                 = 6,
        EVENT_DEVOURING                              = 7,
        EVENT_FLAME                                  = 8,
        EVENT_LAND                                   = 9,
        EVENT_GROUND                                 = 10,
        EVENT_FUSE                                   = 11,
        EVENT_SUMMON                                 = 12,
        // Razorscale Controller
        EVENT_BUILD_HARPOON_1                        = 13,
        EVENT_BUILD_HARPOON_2                        = 14,
        EVENT_BUILD_HARPOON_3                        = 15,
        EVENT_BUILD_HARPOON_4                        = 16,
    };
    
    #define GROUND_Z                                 391.517f
    #define GOSSIP_ITEM_1                            "Activate Harpoons!"
    #define DATA_QUICK_SHAVE                         29192921 // 2919, 2921 are achievement IDs
    #define DATA_IRON_DWARF_MEDIUM_RARE              29232924
    
    const Position PosEngRepair[4] =
    {
        { 590.442f, -130.550f, GROUND_Z, 4.789f },
        { 574.850f, -133.687f, GROUND_Z, 4.252f },
        { 606.567f, -143.369f, GROUND_Z, 4.434f },
        { 560.609f, -142.967f, GROUND_Z, 5.074f },
    };
    
    const Position PosDefSpawn[4] =
    {
        { 600.75f, -104.850f, GROUND_Z, 0 },
        { 596.38f, -110.262f, GROUND_Z, 0 },
        { 566.47f, -103.633f, GROUND_Z, 0 },
        { 570.41f, -108.791f, GROUND_Z, 0 },
    };
    
    const Position PosDefCombat[4] =
    {
        { 614.975f, -155.138f, GROUND_Z, 4.154f },
        { 609.814f, -204.968f, GROUND_Z, 5.385f },
        { 563.531f, -201.557f, GROUND_Z, 4.108f },
        { 560.231f, -153.677f, GROUND_Z, 5.403f },
    };
    
    const Position PosHarpoon[4] =
    {
        { 571.901f, -136.554f, GROUND_Z, 0 },
        { 589.450f, -134.888f, GROUND_Z, 0 },
        { 559.119f, -140.505f, GROUND_Z, 0 },
        { 606.229f, -136.721f, GROUND_Z, 0 },
    };
    
    const Position RazorFlight = { 588.050f, -251.191f, 470.536f, 1.498f };
    const Position RazorGround = { 586.966f, -175.534f, GROUND_Z, 4.682f };
    const Position PosEngSpawn = { 591.951f, -95.9680f, GROUND_Z, 0.000f };
    
    class boss_razorscale_controller : public CreatureScript
    {
        public:
            boss_razorscale_controller() : CreatureScript("boss_razorscale_controller") { }
    
            struct boss_razorscale_controllerAI : public BossAI
            {
                boss_razorscale_controllerAI(Creature* creature) : BossAI(creature, DATA_RAZORSCALE_CONTROL)
                {
                    me->SetDisplayId(me->GetCreatureTemplate()->Modelid2);
                }
    
                void Reset()
                {
                    _Reset();
                    me->SetReactState(REACT_PASSIVE);
                }
    
                void SpellHit(Unit* /*caster*/, SpellInfo const* spell)
                {
                    switch (spell->Id)
                    {
                        case SPELL_FLAMED:
                            if (GameObject* Harpoon1 = ObjectAccessor::GetGameObject(*me, instance->GetData64(GO_RAZOR_HARPOON_1)))
                                Harpoon1->RemoveFromWorld();
                            if (GameObject* Harpoon2 = ObjectAccessor::GetGameObject(*me, instance->GetData64(GO_RAZOR_HARPOON_2)))
                                Harpoon2->RemoveFromWorld();
                            if (GameObject* Harpoon3 = ObjectAccessor::GetGameObject(*me, instance->GetData64(GO_RAZOR_HARPOON_3)))
                                Harpoon3->RemoveFromWorld();
                            if (GameObject* Harpoon4 = ObjectAccessor::GetGameObject(*me, instance->GetData64(GO_RAZOR_HARPOON_4)))
                                Harpoon4->RemoveFromWorld();
                            me->AI()->DoAction(ACTION_HARPOON_BUILD);
                            me->AI()->DoAction(ACTION_PLACE_BROKEN_HARPOON);
                            break;
                        case SPELL_HARPOON_SHOT_1:
                        case SPELL_HARPOON_SHOT_2:
                        case SPELL_HARPOON_SHOT_3:
                        case SPELL_HARPOON_SHOT_4:
                            DoCast(SPELL_HARPOON_TRIGGER);
                            break;
                    }
                }
    
                void JustDied(Unit* /*who*/)
                {
                    _JustDied();
                }
    
                void DoAction(int32 const action)
                {
                    if (instance->GetBossState(BOSS_RAZORSCALE) != IN_PROGRESS)
                        return;
    
                    switch (action)
                    {
                        case ACTION_HARPOON_BUILD:
                            events.ScheduleEvent(EVENT_BUILD_HARPOON_1, 50000);
                            if (me->GetMap()->GetSpawnMode() == RAID_DIFFICULTY_25MAN_NORMAL)
                                events.ScheduleEvent(EVENT_BUILD_HARPOON_3, 90000);
                            break;
                        case ACTION_PLACE_BROKEN_HARPOON:
                            for (uint8 n = 0; n < RAID_MODE(2, 4); n++)
                                me->SummonGameObject(GO_RAZOR_BROKEN_HARPOON, PosHarpoon[n].GetPositionX(), PosHarpoon[n].GetPositionY(), PosHarpoon[n].GetPositionZ(), 2.286f, 0, 0, 0, 0, 180000);
                            break;
                    }
                }
    
                void UpdateAI(uint32 const Diff)
                {
                    events.Update(Diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_BUILD_HARPOON_1:
                                DoScriptText(EMOTE_HARPOON, me);
                                if (GameObject* Harpoon = me->SummonGameObject(GO_RAZOR_HARPOON_1, PosHarpoon[0].GetPositionX(), PosHarpoon[0].GetPositionY(), PosHarpoon[0].GetPositionZ(), 4.790f, 0.0f, 0.0f, 0.0f, 0.0f, uint32(me->GetRespawnTime())))
                                {
                                    if (GameObject* BrokenHarpoon = Harpoon->FindNearestGameObject(GO_RAZOR_BROKEN_HARPOON, 5.0f)) //only nearest broken harpoon
                                        BrokenHarpoon->RemoveFromWorld();
                                    events.ScheduleEvent(EVENT_BUILD_HARPOON_2, 20000);
                                    events.CancelEvent(EVENT_BUILD_HARPOON_1);
                                }
                                return;
                            case EVENT_BUILD_HARPOON_2:
                                DoScriptText(EMOTE_HARPOON, me);
                                if (GameObject* Harpoon = me->SummonGameObject(GO_RAZOR_HARPOON_2, PosHarpoon[1].GetPositionX(), PosHarpoon[1].GetPositionY(), PosHarpoon[1].GetPositionZ(), 4.659f, 0, 0, 0, 0, uint32(me->GetRespawnTime())))
                                {
                                    if (GameObject* BrokenHarpoon = Harpoon->FindNearestGameObject(GO_RAZOR_BROKEN_HARPOON, 5.0f))
                                        BrokenHarpoon->RemoveFromWorld();
                                    events.CancelEvent(EVENT_BUILD_HARPOON_2);
                                }
                                return;
                            case EVENT_BUILD_HARPOON_3:
                                DoScriptText(EMOTE_HARPOON, me);
                                if (GameObject* Harpoon = me->SummonGameObject(GO_RAZOR_HARPOON_3, PosHarpoon[2].GetPositionX(), PosHarpoon[2].GetPositionY(), PosHarpoon[2].GetPositionZ(), 5.382f, 0, 0, 0, 0, uint32(me->GetRespawnTime())))
                                {
                                    if (GameObject* BrokenHarpoon = Harpoon->FindNearestGameObject(GO_RAZOR_BROKEN_HARPOON, 5.0f))
                                        BrokenHarpoon->RemoveFromWorld();
                                    events.ScheduleEvent(EVENT_BUILD_HARPOON_4, 20000);
                                    events.CancelEvent(EVENT_BUILD_HARPOON_3);
                                }
                                return;
                            case EVENT_BUILD_HARPOON_4:
                                DoScriptText(EMOTE_HARPOON, me);
                                if (GameObject* Harpoon = me->SummonGameObject(GO_RAZOR_HARPOON_4, PosHarpoon[3].GetPositionX(), PosHarpoon[3].GetPositionY(), PosHarpoon[3].GetPositionZ(), 4.266f, 0, 0, 0, 0, uint32(me->GetRespawnTime())))
                                {
                                    if (GameObject* BrokenHarpoon = Harpoon->FindNearestGameObject(GO_RAZOR_BROKEN_HARPOON, 5.0f))
                                        BrokenHarpoon->RemoveFromWorld();
                                    events.CancelEvent(EVENT_BUILD_HARPOON_4);
                                }
                                return;
                        }
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new boss_razorscale_controllerAI(creature);
            }
    };
    
    class go_razorscale_harpoon : public GameObjectScript
    {
        public:
            go_razorscale_harpoon() : GameObjectScript("go_razorscale_harpoon") {}
    
            bool OnGossipHello(Player* /*player*/, GameObject* go)
            {
                InstanceScript* instance = go->GetInstanceScript();
                if (ObjectAccessor::GetCreature(*go, instance ? instance->GetData64(BOSS_RAZORSCALE) : 0))
                    go->SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE);
                return false;
            }
    };
    
    class boss_razorscale : public CreatureScript
    {
        public:
            boss_razorscale() : CreatureScript("boss_razorscale") { }
    
            struct boss_razorscaleAI : public BossAI
            {
                boss_razorscaleAI(Creature* creature) : BossAI(creature, BOSS_RAZORSCALE)
                {
                    // Do not let Razorscale be affected by Battle Shout buff
                    me->ApplySpellImmune(0, IMMUNITY_ID, (SPELL_BATTLE_SHOUT), true);
                }
    
                Phases phase;
    
                uint32 EnrageTimer;
                uint8 FlyCount;
                uint8 HarpoonCounter;
                bool PermaGround;
                bool Enraged;
    
                void Reset()
                {
                    _Reset();
                    me->SetFlying(true);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    me->SetReactState(REACT_PASSIVE);
                    PermaGround = false;
                    HarpoonCounter = 0;
                    if (Creature* commander = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(DATA_EXPEDITION_COMMANDER) : 0))
                        commander->AI()->DoAction(ACTION_COMMANDER_RESET);
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    _EnterCombat();
                    if (Creature* controller = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(DATA_RAZORSCALE_CONTROL) : 0))
                        controller->AI()->DoAction(ACTION_HARPOON_BUILD);
                    me->SetSpeed(MOVE_FLIGHT, 3.0f, true);
                    me->SetReactState(REACT_PASSIVE);
                    phase = PHASE_GROUND;
                    events.SetPhase(PHASE_GROUND);
                    FlyCount = 0;
                    EnrageTimer = 600000;
                    Enraged = false;
                    events.ScheduleEvent(EVENT_FLIGHT, 0, 0, PHASE_GROUND);
                }
    
                void JustDied(Unit* /*who*/)
                {
                    _JustDied();
                    if (Creature* controller = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(DATA_RAZORSCALE_CONTROL) : 0))
                        controller->AI()->Reset();
                }
    
                void SpellHit(Unit* /*caster*/, SpellInfo const* spell)
                {
                    if (spell->Id == SPELL_HARPOON_TRIGGER)
                        ++HarpoonCounter;
                }
    
                void MovementInform(uint32 type, uint32 id)
                {
                    if (type == POINT_MOTION_TYPE && id == 1)
                    {
                        phase = PHASE_GROUND;
                        events.SetPhase(PHASE_GROUND);
                        events.ScheduleEvent(EVENT_LAND, 0, 0, PHASE_GROUND);
                    }
                }
    
                uint32 GetData(uint32 type)
                {
                    if (type == DATA_QUICK_SHAVE)
                        if (FlyCount <= 2)
                            return 1;
    
                    return 0;
                }
    
                void UpdateAI(uint32 const Diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    events.Update(Diff);
    
                    if (HealthBelowPct(50) && !PermaGround)
                        EnterPermaGround();
    
                    if (EnrageTimer <= Diff && !Enraged)
                    {
                        DoCast(me, SPELL_BERSERK);
                        Enraged = true;
                    }
                    else
                        EnrageTimer -= Diff;
    
                    if (HarpoonCounter == RAID_MODE(2, 4))
                    {
                        HarpoonCounter = 0;
                        me->GetMotionMaster()->MovePoint(1, RazorGround);
                    }
    
                    if (phase == PHASE_GROUND)
                    {
                        while (uint32 eventId = events.ExecuteEvent())
                        {
                            switch (eventId)
                            {
                                case EVENT_FLIGHT:
                                    phase = PHASE_FLIGHT;
                                    events.SetPhase(PHASE_FLIGHT);
                                    me->SetFlying(true);
                                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                                    me->SetReactState(REACT_PASSIVE);
                                    me->AttackStop();
                                    me->GetMotionMaster()->MovePoint(0, RazorFlight);
                                    events.ScheduleEvent(EVENT_FIREBALL, 7000, 0, PHASE_FLIGHT);
                                    events.ScheduleEvent(EVENT_DEVOURING, 10000, 0, PHASE_FLIGHT);
                                    events.ScheduleEvent(EVENT_SUMMON, 5000, 0, PHASE_FLIGHT);
                                    ++FlyCount;
                                    return;
                                case EVENT_LAND:
                                    me->SetFlying(false);
                                    me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED | UNIT_FLAG_PACIFIED);
                                    if (Creature* commander = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(DATA_EXPEDITION_COMMANDER) : 0))
                                        commander->AI()->DoAction(ACTION_GROUND_PHASE);
                                    events.ScheduleEvent(EVENT_BREATH, 30000, 0, PHASE_GROUND);
                                    events.ScheduleEvent(EVENT_BUFFET, 33000, 0, PHASE_GROUND);
                                    events.ScheduleEvent(EVENT_FLIGHT, 35000, 0, PHASE_GROUND);
                                    return;
                                case EVENT_BREATH:
                                    me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_STUNNED | UNIT_FLAG_PACIFIED);
                                    me->RemoveAllAuras();
                                    me->SetReactState(REACT_AGGRESSIVE);
                                    DoScriptText(EMOTE_BREATH, me, 0);
                                    DoCastAOE(SPELL_FLAMEBREATH);
                                    events.CancelEvent(EVENT_BREATH);
                                    return;
                                case EVENT_BUFFET:
                                    DoCastAOE(SPELL_WINGBUFFET);
                                    if (Creature* controller = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(DATA_RAZORSCALE_CONTROL) : 0))
                                        controller->CastSpell(controller, SPELL_FLAMED, true);
                                    events.CancelEvent(EVENT_BUFFET);
                                    return;
                            }
                        }
                    }
                    if (phase == PHASE_PERMAGROUND)
                    {
                        while (uint32 eventId = events.ExecuteEvent())
                        {
                            switch (eventId)
                            {
                                case EVENT_FLAME:
                                    DoCastAOE(SPELL_FLAMEBUFFET);
                                    events.ScheduleEvent(EVENT_FLAME, 10000, 0, PHASE_PERMAGROUND);
                                    return;
                                case EVENT_BREATH:
                                    me->MonsterTextEmote(EMOTE_BREATH, 0, true);
                                    DoCastVictim(SPELL_FLAMEBREATH);
                                    events.ScheduleEvent(EVENT_BREATH, 20000, 0, PHASE_PERMAGROUND);
                                    return;
                                case EVENT_FIREBALL:
                                    if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 200.0f, true))
                                        DoCast(target, SPELL_FIREBALL);
                                    events.ScheduleEvent(EVENT_FIREBALL, 3000, 0, PHASE_PERMAGROUND);
                                    return;
                                case EVENT_DEVOURING:
                                    if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 200.0f, true))
                                        DoCast(target, SPELL_DEVOURING_FLAME);
                                    events.ScheduleEvent(EVENT_DEVOURING, 10000, 0, PHASE_PERMAGROUND);
                                    return;
                                case EVENT_BUFFET:
                                    DoCastAOE(SPELL_WINGBUFFET);
                                    events.CancelEvent(EVENT_BUFFET);
                                    return;
                                case EVENT_FUSE:
                                    DoCast(me->getVictim(), SPELL_FUSEARMOR);
                                    events.ScheduleEvent(EVENT_FUSE, 10000, 0, PHASE_PERMAGROUND);
                                    return;
                            }
                        }
    
                        DoMeleeAttackIfReady();
                    }
                    else
                    {
                        if (uint32 eventId = events.ExecuteEvent())
                        {
                            switch (eventId)
                            {
                                case EVENT_FIREBALL:
                                    if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 200.0f, true))
                                        DoCast(target, SPELL_FIREBALL);
                                    events.ScheduleEvent(EVENT_FIREBALL, 3000, 0, PHASE_FLIGHT);
                                    return;
                                case EVENT_DEVOURING:
                                    if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 200.0f, true))
                                        me->CastSpell(target->GetPositionX(), target->GetPositionY(), target->GetPositionZ(), SPELL_DEVOURING_FLAME, true);
                                    events.ScheduleEvent(EVENT_DEVOURING, 10000, 0, PHASE_FLIGHT);
                                    return;
                                case EVENT_SUMMON:
                                    SummonMoleMachines();
                                    events.ScheduleEvent(EVENT_SUMMON, 45000, 0, PHASE_FLIGHT);
                                    return;
                            }
                        }
                    }
                }
    
                void EnterPermaGround()
                {
                    me->MonsterTextEmote(EMOTE_PERMA, 0, true);
                    phase = PHASE_PERMAGROUND;
                    events.SetPhase(PHASE_PERMAGROUND);
                    me->SetFlying(false);
                    me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    me->SetReactState(REACT_AGGRESSIVE);
                    me->RemoveAurasDueToSpell(SPELL_HARPOON_TRIGGER);
                    me->SetSpeed(MOVE_FLIGHT, 1.0f, true);
                    PermaGround = true;
                    DoCastAOE(SPELL_FLAMEBREATH);
                    events.ScheduleEvent(EVENT_FLAME, 15000, 0, PHASE_PERMAGROUND);
                    events.RescheduleEvent(EVENT_DEVOURING, 15000, 0, PHASE_PERMAGROUND);
                    events.RescheduleEvent(EVENT_BREATH, 20000, 0, PHASE_PERMAGROUND);
                    events.RescheduleEvent(EVENT_FIREBALL, 3000, 0, PHASE_PERMAGROUND);
                    events.RescheduleEvent(EVENT_DEVOURING, 6000, 0, PHASE_PERMAGROUND);
                    events.RescheduleEvent(EVENT_BUFFET, 2500, 0, PHASE_PERMAGROUND);
                    events.RescheduleEvent(EVENT_FUSE, 5000, 0, PHASE_PERMAGROUND);
                }
    
                void SummonMoleMachines()
                {
                    // Adds will come in waves from mole machines. One mole can spawn a Dark Rune Watcher
                    // with 1-2 Guardians, or a lone Sentinel. Up to 4 mole machines can spawn adds at any given time.
                    uint8 random = urand(2, 4);
                    for (uint8 n = 0; n < random; n++)
                    {
                        float x = float(irand(540, 640));       // Safe range is between 500 and 650
                        float y = float(irand(-230, -195));     // Safe range is between -235 and -145
                        float z = GROUND_Z;                     // Ground level
                        me->SummonCreature(MOLE_MACHINE_TRIGGER, x, y, z, 0, TEMPSUMMON_TIMED_DESPAWN, 15000);
                    }
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_EVENT_START:
                            me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
                            me->SetReactState(REACT_AGGRESSIVE);
                            DoZoneInCombat(me, 150.0f);
                            break;
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_razorscaleAI>(creature);
            }
    };
    
    class npc_expedition_commander : public CreatureScript
    {
        public:
            npc_expedition_commander() : CreatureScript("npc_expedition_commander") { }
    
            struct npc_expedition_commanderAI : public ScriptedAI
            {
                npc_expedition_commanderAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                    Greet = false;
                }
    
                InstanceScript* instance;
                std::list<uint64> summons;
    
                bool Greet;
                uint32 AttackStartTimer;
                uint8  Phase;
                Creature* Engineer[4];
                Creature* Defender[4];
    
                void Reset()
                {
                    AttackStartTimer = 0;
                    Phase = 0;
                    Greet = false;
                    summons.clear();
                }
    
                void MoveInLineOfSight(Unit* who)
                {
                    if (!Greet && me->IsWithinDistInMap(who, 10.0f) && who->GetTypeId() == TYPEID_PLAYER)
                    {
                        DoScriptText(SAY_GREET, me);
                        Greet = true;
                    }
                }
    
                void JustSummoned(Creature* summoned)
                {
                    summons.push_back(summoned->GetGUID());
                }
    
                void DoAction(int32 const action)
                {
                    switch (action)
                    {
                        case ACTION_GROUND_PHASE:
                            DoScriptText(SAY_GROUND_PHASE, me);
                            break;
                        case ACTION_COMMANDER_RESET:
                            summons.clear();
                            me->SetFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_GOSSIP);
                            break;
                    }
                }
    
                void UpdateAI(uint32 const Diff)
                {
                    if (AttackStartTimer <= Diff)
                    {
                        switch (Phase)
                        {
                            case 1:
                                instance->SetBossState(BOSS_RAZORSCALE, IN_PROGRESS);
                                summons.clear();
                                AttackStartTimer = 1000;
                                Phase = 2;
                                break;
                            case 2:
                                for (uint8 n = 0; n < RAID_MODE(2, 4); n++)
                                {
                                    Engineer[n] = me->SummonCreature(NPC_ENGINEER, PosEngSpawn, TEMPSUMMON_CORPSE_TIMED_DESPAWN, 3000);
                                    Engineer[n]->SetWalk(false);
                                    Engineer[n]->SetSpeed(MOVE_RUN, 0.5f);
                                    Engineer[n]->SetHomePosition(PosEngRepair[n]);
                                    Engineer[n]->GetMotionMaster()->MoveTargetedHome();
                                }
                                Engineer[0]->MonsterYell(SAY_AGGRO_3, LANG_UNIVERSAL, 0);
                                Phase = 3;
                                AttackStartTimer = 14000;
                                break;
                            case 3:
                                for (uint8 n = 0; n < 4; n++)
                                {
                                    Defender[n] = me->SummonCreature(NPC_DEFENDER, PosDefSpawn[n], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 3000);
                                    Defender[n]->SetWalk(false);
                                    Defender[n]->SetHomePosition(PosDefCombat[n]);
                                    Defender[n]->GetMotionMaster()->MoveTargetedHome();
                                }
                                Phase = 4;
                                break;
                            case 4:
                                for (uint8 n = 0; n < RAID_MODE(2, 4); n++)
                                    Engineer[n]->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_USE_STANDING);
                                for (uint8 n = 0; n < 4; ++n)
                                    Defender[n]->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_READY2H);
                                me->MonsterYell(SAY_AGGRO_2, LANG_UNIVERSAL, 0);
                                AttackStartTimer = 16000;
                                Phase = 5;
                                break;
                            case 5:
                                if (Creature* Razorscale = ObjectAccessor::GetCreature(*me, instance ? instance->GetData64(BOSS_RAZORSCALE) : 0))
                                {
                                    Razorscale->AI()->DoAction(ACTION_EVENT_START);
                                    me->SetInCombatWith(Razorscale);
                                }
                                Engineer[0]->MonsterYell(SAY_AGGRO_1, LANG_UNIVERSAL, 0);
                                Phase = 6;
                                break;
                        }
                    }
                    else
                        AttackStartTimer -= Diff;
                }
            };
    
            bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 action)
            {
                player->PlayerTalkClass->ClearMenus();
                switch (action)
                {
                    case GOSSIP_ACTION_INFO_DEF:
                        player->CLOSE_GOSSIP_MENU();
                        CAST_AI(npc_expedition_commanderAI, creature->AI())->Phase = 1;
                        break;
                }
                return true;
            }
    
            bool OnGossipHello(Player* player, Creature* creature)
            {
                InstanceScript* instance = creature->GetInstanceScript();
                if (instance && instance->GetBossState(BOSS_RAZORSCALE) == NOT_STARTED)
                {
                    player->PrepareGossipMenu(creature);
    
                    player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, GOSSIP_ITEM_1, GOSSIP_SENDER_MAIN, GOSSIP_ACTION_INFO_DEF);
                    player->SEND_GOSSIP_MENU(13853, creature->GetGUID());
                }
                else
                    player->SEND_GOSSIP_MENU(13910, creature->GetGUID());
    
                return true;
            }
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_expedition_commanderAI(creature);
            }
    };
    
    class npc_mole_machine_trigger : public CreatureScript
    {
        public:
            npc_mole_machine_trigger() : CreatureScript("npc_mole_machine_trigger") { }
    
            struct npc_mole_machine_triggerAI : public Scripted_NoMovementAI
            {
                npc_mole_machine_triggerAI(Creature* creature) : Scripted_NoMovementAI(creature)
                {
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_PACIFIED);
                }
    
                uint32 SummonGobTimer;
                uint32 SummonNpcTimer;
                uint32 DissapearTimer;
                bool GobSummoned;
                bool NpcSummoned;
    
                void Reset()
                {
                    SummonGobTimer = 2000;
                    SummonNpcTimer = 6000;
                    DissapearTimer = 10000;
                    GobSummoned = false;
                    NpcSummoned = false;
                }
    
                void UpdateAI(uint32 const Diff)
                {
                    if (!GobSummoned && SummonGobTimer <= Diff)
                    {
                        DoCast(SPELL_SUMMON_MOLE_MACHINE);
                        GobSummoned = true;
                    }
                    else
                        SummonGobTimer -= Diff;
    
                    if (!NpcSummoned && SummonNpcTimer <= Diff)
                    {
                        switch (urand(0, 1 ))
                        {
                            case 0:
                                DoCast(SPELL_SUMMON_IRON_DWARVES);
                                break;
                            case 1:
                                DoCast(SPELL_SUMMON_IRON_DWARVES_2);
                                break;
                        }
    
                        DoCast(SPELL_SUMMON_IRON_DWARVE_GUARDIAN);
                        DoCast(SPELL_SUMMON_IRON_DWARVE_WATCHER);
                        NpcSummoned = true;
                    }
                    else
                        SummonNpcTimer -= Diff;
    
                    if (DissapearTimer <= Diff)
                    {
                        if (GameObject* molemachine = me->FindNearestGameObject(GO_MOLE_MACHINE, 1))
                            molemachine->Delete();
    
                        me->DisappearAndDie();
                    }
                    else
                        DissapearTimer -= Diff;
                }
    
                void JustSummoned(Creature* summoned)
                {
                    summoned->AI()->DoZoneInCombat();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_mole_machine_triggerAI(creature);
            }
    };
    
    class npc_devouring_flame : public CreatureScript
    {
        public:
            npc_devouring_flame() : CreatureScript("npc_devouring_flame") { }
    
            struct npc_devouring_flameAI : public Scripted_NoMovementAI
            {
                npc_devouring_flameAI(Creature* creature) : Scripted_NoMovementAI(creature)
                {
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_PACIFIED);
                }
    
                void Reset()
                {
                    DoCast(SPELL_FLAME_GROUND);
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_devouring_flameAI(creature);
            }
    };
    
    class npc_darkrune_watcher : public CreatureScript
    {
        public:
            npc_darkrune_watcher() : CreatureScript("npc_darkrune_watcher") { }
    
            struct npc_darkrune_watcherAI : public ScriptedAI
            {
                npc_darkrune_watcherAI(Creature* creature) : ScriptedAI(creature){}
    
                uint32 ChainTimer;
                uint32 LightTimer;
    
                void Reset()
                {
                    ChainTimer = urand(10000, 15000);
                    LightTimer = urand(1000, 3000);
                }
    
                void UpdateAI(uint32 const Diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (ChainTimer <= Diff)
                    {
                        DoCast(me->getVictim(), SPELL_CHAIN_LIGHTNING);
                        ChainTimer = urand(10000, 15000);
                    }
                    else
                        ChainTimer -= Diff;
    
                    if (LightTimer <= Diff)
                    {
                        DoCastVictim(SPELL_LIGHTNING_BOLT);
                        LightTimer = urand(5000, 7000);
                    }
                    else
                        LightTimer -= Diff;
    
                    DoMeleeAttackIfReady();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_darkrune_watcherAI(creature);
            }
    };
    
    class npc_darkrune_guardian : public CreatureScript
    {
        public:
            npc_darkrune_guardian() : CreatureScript("npc_darkrune_guardian") { }
    
            struct npc_darkrune_guardianAI : public ScriptedAI
            {
                npc_darkrune_guardianAI(Creature* creature) : ScriptedAI(creature){}
    
                uint32 StormTimer;
    
                void Reset()
                {
                    StormTimer = urand(3000, 6000);
                    killedByBreath = false;
                }
    
                uint32 GetData(uint32 type)
                {
                    return type == DATA_IRON_DWARF_MEDIUM_RARE ? killedByBreath : 0;
                }
    
                void SetData(uint32 type, uint32 value)
                {
                    if (type == DATA_IRON_DWARF_MEDIUM_RARE)
                        killedByBreath = value;
                }
    
    
                void UpdateAI(uint32 const Diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (StormTimer <= Diff)
                    {
                        DoCast(me->getVictim(), SPELL_STORMSTRIKE);
                        StormTimer = urand(4000, 8000);
                    }
                    else
                        StormTimer -= Diff;
    
                    DoMeleeAttackIfReady();
                }
    
            private:
                bool killedByBreath;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_darkrune_guardianAI(creature);
            }
    };
    
    class npc_darkrune_sentinel : public CreatureScript
    {
        public:
            npc_darkrune_sentinel() : CreatureScript("npc_darkrune_sentinel") { }
    
            struct npc_darkrune_sentinelAI : public ScriptedAI
            {
                npc_darkrune_sentinelAI(Creature* creature) : ScriptedAI(creature){}
    
                uint32 HeroicTimer;
                uint32 WhirlTimer;
                uint32 ShoutTimer;
    
                void Reset()
                {
                    HeroicTimer = urand(4000, 8000);
                    WhirlTimer = urand(20000, 25000);
                    ShoutTimer = urand(15000, 30000);
                }
    
                void UpdateAI(uint32 const Diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (HeroicTimer <= Diff)
                    {
                        DoCast(me->getVictim(), SPELL_HEROIC_STRIKE);
                        HeroicTimer = urand(4000, 6000);
                    }
                    else
                        HeroicTimer -= Diff;
    
                    if (WhirlTimer <= Diff)
                    {
                        DoCast(me->getVictim(), SPELL_WHIRLWIND);
                        WhirlTimer = urand(20000, 25000);
                    }
                    else
                        WhirlTimer -= Diff;
    
                    if (ShoutTimer <= Diff)
                    {
                        DoCast(me, SPELL_BATTLE_SHOUT);
                        ShoutTimer = urand(30000, 40000);
                    }
                    else
                        ShoutTimer -= Diff;
    
                    DoMeleeAttackIfReady();
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_darkrune_sentinelAI(creature);
            }
    };
    
    class spell_razorscale_devouring_flame : public SpellScriptLoader
    {
        public:
            spell_razorscale_devouring_flame() : SpellScriptLoader("spell_razorscale_devouring_flame") { }
    
            class spell_razorscale_devouring_flame_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_razorscale_devouring_flame_SpellScript);
    
                void HandleSummon(SpellEffIndex effIndex)
                {
                    PreventHitDefaultEffect(effIndex);
                    Unit* caster = GetCaster();
                    uint32 entry = uint32(GetSpellInfo()->Effects[effIndex].MiscValue);
                    WorldLocation const* summonLocation = GetTargetDest();
                    if (!caster || !summonLocation)
                        return;
    
                    caster->SummonCreature(entry, summonLocation->GetPositionX(), summonLocation->GetPositionY(), GROUND_Z, 0.0f, TEMPSUMMON_TIMED_DESPAWN, 20000);
                }
    
                void Register()
                {
                    OnEffectHit += SpellEffectFn(spell_razorscale_devouring_flame_SpellScript::HandleSummon, EFFECT_0, SPELL_EFFECT_SUMMON);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_razorscale_devouring_flame_SpellScript();
            }
    };
    
    class spell_razorscale_flame_breath : public SpellScriptLoader
    {
        public:
            spell_razorscale_flame_breath() : SpellScriptLoader("spell_razorscale_flame_breath") { }
    
            class spell_razorscale_flame_breath_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_razorscale_flame_breath_SpellScript);
    
                void CheckDamage()
                {
                    Creature* target = GetHitCreature();
                    if (!target || target->GetEntry() != NPC_DARK_RUNE_GUARDIAN)
                        return;
    
                    if (GetHitDamage() >= int32(target->GetHealth()))
                        target->AI()->SetData(DATA_IRON_DWARF_MEDIUM_RARE, 1);
                }
    
                void Register()
                {
                    OnHit += SpellHitFn(spell_razorscale_flame_breath_SpellScript::CheckDamage);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_razorscale_flame_breath_SpellScript();
            }
    };
    
    class achievement_iron_dwarf_medium_rare : public AchievementCriteriaScript
    {
        public:
            achievement_iron_dwarf_medium_rare() : AchievementCriteriaScript("achievement_iron_dwarf_medium_rare")
            {
            }
    
            bool OnCheck(Player* /*player*/, Unit* target)
            {
                return target && target->IsAIEnabled && target->GetAI()->GetData(DATA_IRON_DWARF_MEDIUM_RARE);
            }
    };
    
    class achievement_quick_shave : public AchievementCriteriaScript
    {
        public:
            achievement_quick_shave() : AchievementCriteriaScript("achievement_quick_shave") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
               if (target)
                    if (Creature* razorscale = target->ToCreature())
                        if (razorscale->AI()->GetData(DATA_QUICK_SHAVE))
                            return true;
    
                return false;
            }
    };
    
    void AddSC_boss_razorscale()
    {
        new boss_razorscale_controller();
        new go_razorscale_harpoon();
        new boss_razorscale();
        new npc_expedition_commander();
        new npc_mole_machine_trigger();
        new npc_devouring_flame();
        new npc_darkrune_watcher();
        new npc_darkrune_guardian();
        new npc_darkrune_sentinel();
        new spell_razorscale_devouring_flame();
        new spell_razorscale_flame_breath();
        new achievement_iron_dwarf_medium_rare();
        new achievement_quick_shave();
    }


    Spoiler untuk boss_thorim.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "ulduar.h"
    
    enum Yells
    {
        SAY_AGGRO_1                                 = -1603270,
        SAY_AGGRO_2                                 = -1603271,
        SAY_SPECIAL_1                               = -1603272,
        SAY_SPECIAL_2                               = -1603273,
        SAY_SPECIAL_3                               = -1603274,
        SAY_JUMPDOWN                                = -1603275,
        SAY_SLAY_1                                  = -1603276,
        SAY_SLAY_2                                  = -1603277,
        SAY_BERSERK                                 = -1603278,
        SAY_WIPE                                    = -1603279,
        SAY_DEATH                                   = -1603280,
        SAY_END_NORMAL_1                            = -1603281,
        SAY_END_NORMAL_2                            = -1603282,
        SAY_END_NORMAL_3                            = -1603283,
        SAY_END_HARD_1                              = -1603284,
        SAY_END_HARD_2                              = -1603285,
        SAY_END_HARD_3                              = -1603286,
        SAY_YS_HELP                                 = -1603287,
    };
    
    class boss_thorim : public CreatureScript
    {
    public:
        boss_thorim() : CreatureScript("boss_thorim") { }
    
        CreatureAI* GetAI(Creature* creature) const
        {
            return GetUlduarAI<boss_thorimAI>(creature);
        }
    
        struct boss_thorimAI : public BossAI
        {
            boss_thorimAI(Creature* creature) : BossAI(creature, BOSS_THORIM)
            {
            }
    
            void Reset()
            {
                _Reset();
            }
    
            void EnterEvadeMode()
            {
                DoScriptText(SAY_WIPE, me);
                _EnterEvadeMode();
            }
    
            void KilledUnit(Unit* /*victim*/)
            {
                DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
            }
    
            void JustDied(Unit* /*victim*/)
            {
                DoScriptText(SAY_DEATH, me);
                _JustDied();
            }
    
            void EnterCombat(Unit* /*who*/)
            {
                DoScriptText(RAND(SAY_AGGRO_1, SAY_AGGRO_2), me);
                _EnterCombat();
            }
    
            void UpdateAI(const uint32 diff)
            {
                if (!UpdateVictim())
                    return;
        //SPELLS TODO:
    
        //
                DoMeleeAttackIfReady();
    
                EnterEvadeIfOutOfCombatArea(diff);
            }
        };
    
    };
    
    void AddSC_boss_thorim()
    {
        new boss_thorim();
    }


    Spoiler untuk boss_xt002.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    /*
        TODO:
            Fix void zone damage
            If the boss is to close to a scrap pile -> no summon  -- Needs retail confirmation
            make the life sparks visible...     /? Need test
            Codestyle
    */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "SpellScript.h"
    #include "SpellAuraEffects.h"
    #include "ulduar.h"
    #include "Vehicle.h"
    
    enum Spells
    {
        SPELL_TYMPANIC_TANTRUM                      = 62776,
        SPELL_SEARING_LIGHT_10                      = 63018,
        SPELL_SEARING_LIGHT_25                      = 65121,
    
        SPELL_SUMMON_LIFE_SPARK                     = 64210,
        SPELL_SUMMON_VOID_ZONE                      = 64203,
    
        SPELL_GRAVITY_BOMB_10                       = 63024,
        SPELL_GRAVITY_BOMB_25                       = 64234,
    
        SPELL_HEARTBREAK_10                         = 65737,
        SPELL_HEARTBREAK_25                         = 64193,
    
        // Cast by 33337 at Heartbreak:
        SPELL_RECHARGE_PUMMELER                     = 62831,    // Summons 33344
        SPELL_RECHARGE_SCRAPBOT                     = 62828,    // Summons 33343
        SPELL_RECHARGE_BOOMBOT                      = 62835,    // Summons 33346
    
        // Cast by 33329 on 33337 (visual?)
        SPELL_ENERGY_ORB                            = 62790,    // Triggers 62826 - needs spellscript for periodic tick to cast one of the random spells above
    
        SPELL_HEART_HEAL_TO_FULL                    = 17683,
        SPELL_HEART_OVERLOAD                        = 62789,
    
        SPELL_HEART_LIGHTNING_TETHER                = 64799,    // Cast on self?
        SPELL_HEART_RIDE_VEHICLE                    = 63313,
        SPELL_ENRAGE                                = 26662,
        SPELL_STAND                                 = 37752,
        SPELL_SUBMERGE                              = 37751,
    
        //------------------VOID ZONE--------------------
        SPELL_VOID_ZONE_10                          = 64203,
        SPELL_VOID_ZONE_25                          = 64235,
    
        // Life Spark
        SPELL_STATIC_CHARGED_10                     = 64227,
        SPELL_STATIC_CHARGED_25                     = 64236,
        SPELL_SHOCK                                 = 64230,
    
        //----------------XT-002 HEART-------------------
        SPELL_EXPOSED_HEART                         = 63849,
        // Channeled
    
        //---------------XM-024 PUMMELLER----------------
        SPELL_ARCING_SMASH                          = 8374,
        SPELL_TRAMPLE                               = 5568,
        SPELL_UPPERCUT                              = 10966,
    
        // Scrabot:
        SPELL_SCRAPBOT_RIDE_VEHICLE                 = 47020,
        SPELL_SUICIDE                               = 7,
    
        //------------------BOOMBOT-----------------------
        SPELL_AURA_BOOMBOT                          = 65032,
        SPELL_BOOM                                  = 62834,
    
        // Achievement-related spells
        SPELL_ACHIEVEMENT_CREDIT_NERF_SCRAPBOTS     = 65037
    };
    
    enum Events
    {
        EVENT_TYMPANIC_TANTRUM = 1,
        EVENT_SEARING_LIGHT,
        EVENT_GRAVITY_BOMB,
        EVENT_HEART_PHASE,
        EVENT_ENERGY_ORB,
        EVENT_DISPOSE_HEART,
        EVENT_ENRAGE,
        EVENT_ENTER_HARD_MODE,
    };
    
    enum Timers
    {
        TIMER_TYMPANIC_TANTRUM_MIN                  = 32000,
        TIMER_TYMPANIC_TANTRUM_MAX                  = 36000,
        TIMER_SEARING_LIGHT                         = 20000,
        TIMER_GRAVITY_BOMB                          = 20000,
        TIMER_HEART_PHASE                           = 30000,
        TIMER_ENERGY_ORB_MIN                        = 9000,
        TIMER_ENERGY_ORB_MAX                        = 10000,
        TIMER_ENRAGE                                = 600000,
    
        TIMER_VOID_ZONE                             = 3000,
    
        // Life Spark
        TIMER_SHOCK                                 = 12000,
    
        // Pummeller
        // Timers may be off
        TIMER_ARCING_SMASH                          = 27000,
        TIMER_TRAMPLE                               = 22000,
        TIMER_UPPERCUT                              = 17000,
    
        TIMER_SPAWN_ADD                             = 12000,
    };
    
    enum Creatures
    {
        NPC_VOID_ZONE                               = 34001,
        NPC_LIFE_SPARK                              = 34004,
        NPC_XT002_HEART                             = 33329,
        NPC_XS013_SCRAPBOT                          = 33343,
        NPC_XM024_PUMMELLER                         = 33344,
        NPC_XE321_BOOMBOT                           = 33346,
    };
    
    enum Actions
    {
        ACTION_ENTER_HARD_MODE,
    };
    
    enum XT002Data
    {
        DATA_TRANSFERED_HEALTH,
        DATA_HARD_MODE,
        DATA_HEALTH_RECOVERED,
        DATA_GRAVITY_BOMB_CASUALTY,
    };
    
    enum Yells
    {
        SAY_AGGRO                                   = -1603300,
        SAY_HEART_OPENED                            = -1603301,
        SAY_HEART_CLOSED                            = -1603302,
        SAY_TYMPANIC_TANTRUM                        = -1603303,
        SAY_SLAY_1                                  = -1603304,
        SAY_SLAY_2                                  = -1603305,
        SAY_BERSERK                                 = -1603306,
        SAY_DEATH                                   = -1603307,
        SAY_SUMMON                                  = -1603308,
    };
    
    enum AchievementCredits
    {
        ACHIEV_MUST_DECONSTRUCT_FASTER              = 21027,
    };
    
    #define HEART_VEHICLE_SEAT 0
    
    /*-------------------------------------------------------
     *
     *        XT-002 DECONSTRUCTOR
     *
     *///----------------------------------------------------
    class boss_xt002 : public CreatureScript
    {
        public:
            boss_xt002() : CreatureScript("boss_xt002") { }
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return GetUlduarAI<boss_xt002_AI>(creature);
            }
    
            struct boss_xt002_AI : public BossAI
            {
                boss_xt002_AI(Creature* creature) : BossAI(creature, BOSS_XT002)
                {
                }
    
                void Reset()
                {
                    _Reset();
    
                    me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
    
                    _healthRecovered = false;
                    _gravityBombCasualty = false;
                    _hardMode = false;
    
                    _phase = 1;
                    _heartExposed = 0;
    
                    if (!instance)
                        return;
    
                    instance->DoStopTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, ACHIEV_MUST_DECONSTRUCT_FASTER);
                }
    
                void EnterCombat(Unit* /*who*/)
                {
                    DoScriptText(SAY_AGGRO, me);
                    _EnterCombat();
    
                    events.ScheduleEvent(EVENT_ENRAGE, TIMER_ENRAGE);
                    events.ScheduleEvent(EVENT_GRAVITY_BOMB, TIMER_GRAVITY_BOMB);
                    events.ScheduleEvent(EVENT_SEARING_LIGHT, TIMER_SEARING_LIGHT);
                    //Tantrum is casted a bit slower the first time.
                    events.ScheduleEvent(EVENT_TYMPANIC_TANTRUM, urand(TIMER_TYMPANIC_TANTRUM_MIN, TIMER_TYMPANIC_TANTRUM_MAX) * 2);
    
                    if (!instance)
                        return;
    
                    instance->DoStartTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, ACHIEV_MUST_DECONSTRUCT_FASTER);
                }
    
                void DoAction(const int32 action)
                {
                    switch (action)
                    {
                        case ACTION_ENTER_HARD_MODE:
                            events.ScheduleEvent(EVENT_ENTER_HARD_MODE, 1);
                            break;
                    }
                }
    
                void KilledUnit(Unit* /*victim*/)
                {
                    DoScriptText(RAND(SAY_SLAY_1, SAY_SLAY_2), me);
                }
    
                void JustDied(Unit* /*victim*/)
                {
                    DoScriptText(SAY_DEATH, me);
                    _JustDied();
                }
    
                void DamageTaken(Unit* /*attacker*/, uint32& /*damage*/)
                {
                    if (!_hardMode && _phase == 1 && !HealthAbovePct(100 - 25 * (_heartExposed+1)))
                        ExposeHeart();
                }
    
                void UpdateAI(const uint32 diff)
                {
                    if (!UpdateVictim() || !CheckInRoom())
                        return;
    
                    events.Update(diff);
    
                    if (me->HasUnitState(UNIT_STATE_CASTING))
                        return;
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_SEARING_LIGHT:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
                                    DoCast(target, RAID_MODE(SPELL_SEARING_LIGHT_10, SPELL_SEARING_LIGHT_25));
    
                                events.ScheduleEvent(EVENT_SEARING_LIGHT, TIMER_SEARING_LIGHT);
                                break;
                            case EVENT_GRAVITY_BOMB:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0))
                                    DoCast(target, RAID_MODE(SPELL_GRAVITY_BOMB_10, SPELL_GRAVITY_BOMB_25));
    
                                events.ScheduleEvent(EVENT_GRAVITY_BOMB, TIMER_GRAVITY_BOMB);
                                break;
                            case EVENT_TYMPANIC_TANTRUM:
                                DoScriptText(SAY_TYMPANIC_TANTRUM, me);
                                DoCast(SPELL_TYMPANIC_TANTRUM);
                                events.ScheduleEvent(EVENT_TYMPANIC_TANTRUM, urand(TIMER_TYMPANIC_TANTRUM_MIN, TIMER_TYMPANIC_TANTRUM_MAX));
                                break;
                            case EVENT_DISPOSE_HEART:
                                SetPhaseOne();
                                break;
                            case EVENT_ENRAGE:
                                DoScriptText(SAY_BERSERK, me);
                                DoCast(me, SPELL_ENRAGE);
                                break;
                            case EVENT_ENTER_HARD_MODE:
                                me->SetFullHealth();
                                DoCast(me, RAID_MODE(SPELL_HEARTBREAK_10, SPELL_HEARTBREAK_25), true);
                                me->AddLootMode(LOOT_MODE_HARD_MODE_1);
                                _hardMode = true;
                                SetPhaseOne();
                                break;
                        }
                    }
    
                    if (_phase == 1)
                        DoMeleeAttackIfReady();
                }
    
                void PassengerBoarded(Unit* who, int8 /*seatId*/, bool apply)
                {
                    if (apply && who->GetEntry() == NPC_XS013_SCRAPBOT)
                    {
                        // Need this so we can properly determine when to expose heart again in damagetaken hook
                        if (me->GetHealthPct() > (25 * (4 - _heartExposed)))
                            ++_heartExposed;
    
                        _healthRecovered = true;
                    }
                }
    
                uint32 GetData(uint32 type)
                {
                    switch (type)
                    {
                        case DATA_HARD_MODE:
                            return _hardMode ? 1 : 0;
                        case DATA_HEALTH_RECOVERED:
                            return _healthRecovered ? 1 : 0;
                        case DATA_GRAVITY_BOMB_CASUALTY:
                            return _gravityBombCasualty ? 1 : 0;
                    }
    
                    return 0;
                }
    
                void SetData(uint32 type, uint32 data)
                {
                    switch (type)
                    {
                        case DATA_TRANSFERED_HEALTH:
                            _transferHealth = data;
                            break;
                        case DATA_GRAVITY_BOMB_CASUALTY:
                            _gravityBombCasualty = (data > 0) ? true : false;
                            break;
                    }
                }
    
                void ExposeHeart()
                {
                    DoScriptText(SAY_HEART_OPENED, me);
    
                    DoCast(me, SPELL_SUBMERGE);  // WIll make creature untargetable
                    me->AttackStop();
                    me->SetReactState(REACT_PASSIVE);
    
                    Unit* heart = me->GetVehicleKit() ? me->GetVehicleKit()->GetPassenger(HEART_VEHICLE_SEAT) : NULL;
                    if (heart)
                    {
                        heart->CastSpell(heart, SPELL_HEART_OVERLOAD, false);
                        heart->CastSpell(me, SPELL_HEART_LIGHTNING_TETHER, false);
                        heart->CastSpell(heart, SPELL_HEART_HEAL_TO_FULL, true);
                        heart->CastSpell(heart, SPELL_EXPOSED_HEART, false);    // Channeled
    
                        heart->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
                   }
    
                    events.CancelEvent(EVENT_SEARING_LIGHT);
                    events.CancelEvent(EVENT_GRAVITY_BOMB);
                    events.CancelEvent(EVENT_TYMPANIC_TANTRUM);
    
                    // Start "end of phase 2 timer"
                    events.ScheduleEvent(EVENT_DISPOSE_HEART, TIMER_HEART_PHASE);
    
                    // Phase 2 has officially started
                    _phase = 2;
                    _heartExposed++;
                }
    
                void SetPhaseOne()
                {
                    DoScriptText(SAY_HEART_CLOSED, me);
    
                    DoCast(me, SPELL_STAND);
                    me->SetReactState(REACT_AGGRESSIVE);
    
                    _phase = 1;
    
                    events.RescheduleEvent(EVENT_SEARING_LIGHT, TIMER_SEARING_LIGHT / 2);
                    events.RescheduleEvent(EVENT_GRAVITY_BOMB, TIMER_GRAVITY_BOMB);
                    events.RescheduleEvent(EVENT_TYMPANIC_TANTRUM, urand(TIMER_TYMPANIC_TANTRUM_MIN, TIMER_TYMPANIC_TANTRUM_MAX));
    
                    Unit* heart = me->GetVehicleKit() ? me->GetVehicleKit()->GetPassenger(HEART_VEHICLE_SEAT) : NULL;
                    if (!heart)
                        return;
    
                    heart->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
                    heart->RemoveAurasDueToSpell(SPELL_EXPOSED_HEART);
    
                    if (!_hardMode)
                    {
                        if (!_transferHealth)
                            _transferHealth = (heart->GetMaxHealth() - heart->GetHealth());
    
                        me->ModifyHealth(-((int32)_transferHealth));
                    }
                }
    
                private:
                    // Achievement related
                    bool _healthRecovered;       // Did a scrapbot recover XT-002's health during the encounter?
                    bool _hardMode;              // Are we in hard mode? Or: was the heart killed during phase 2?
                    bool _gravityBombCasualty;   // Did someone die because of Gravity Bomb damage?
    
                    uint8 _phase;
                    uint8 _heartExposed;
                    uint32 _transferHealth;
            };
    };
    
    /*-------------------------------------------------------
     *
     *        XT-002 HEART
     *
     *///----------------------------------------------------
    class mob_xt002_heart : public CreatureScript
    {
        public:
            mob_xt002_heart() : CreatureScript("mob_xt002_heart") { }
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new mob_xt002_heartAI(creature);
            }
    
            struct mob_xt002_heartAI : public ScriptedAI
            {
                mob_xt002_heartAI(Creature* creature) : ScriptedAI(creature)
                {
                    _instance = creature->GetInstanceScript();
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_DISABLE_MOVE | UNIT_FLAG_STUNNED | UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
                    me->SetReactState(REACT_PASSIVE);
                }
    
                void DamageTaken(Unit* /*pDone*/, uint32 &damage)
                {
                    Creature* xt002 = me->GetCreature(*me, _instance->GetData64(BOSS_XT002));
                    if (!xt002 || !xt002->AI())
                        return;
    
                    if (damage >= me->GetHealth())
                    {
                        xt002->AI()->SetData(DATA_TRANSFERED_HEALTH, me->GetMaxHealth());
                        xt002->AI()->DoAction(ACTION_ENTER_HARD_MODE);
                        damage = 0;
                    }
                }
    
                private:
                    InstanceScript* _instance;
                    uint32 _damageTaken;
            };
    };
    
    /*-------------------------------------------------------
     *
     *        XS-013 SCRAPBOT
     *
     *///----------------------------------------------------
    class mob_scrapbot : public CreatureScript
    {
        public:
            mob_scrapbot() : CreatureScript("mob_scrapbot") { }
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new mob_scrapbotAI(creature);
            }
    
            struct mob_scrapbotAI : public ScriptedAI
            {
                mob_scrapbotAI(Creature* creature) : ScriptedAI(creature)
                {
                    _instance = me->GetInstanceScript();
                }
    
                void Reset()
                {
                    me->SetReactState(REACT_PASSIVE);
    
                    _rangeCheckTimer = 500;
    
                    if (Creature* pXT002 = me->GetCreature(*me, _instance->GetData64(BOSS_XT002)))
                        me->GetMotionMaster()->MoveFollow(pXT002, 0.0f, 0.0f);
                }
    
                void UpdateAI(const uint32 diff)
                {
                    if (_rangeCheckTimer <= diff)
                    {
                        if (Creature* xt002 = me->GetCreature(*me, _instance->GetData64(BOSS_XT002)))
                        {
                            if (me->IsWithinMeleeRange(xt002))
                            {
                                DoCast(xt002, SPELL_SCRAPBOT_RIDE_VEHICLE);
                                // Unapply vehicle aura again
                                xt002->RemoveAurasDueToSpell(SPELL_SCRAPBOT_RIDE_VEHICLE);
                                me->DespawnOrUnsummon();
                            }
                        }
                    }
                    else
                        _rangeCheckTimer -= diff;
                }
    
                private:
                    InstanceScript* _instance;
                    uint32 _rangeCheckTimer;
            };
    };
    
    /*-------------------------------------------------------
     *
     *        XM-024 PUMMELLER
     *
     *///----------------------------------------------------
    class mob_pummeller : public CreatureScript
    {
        public:
            mob_pummeller() : CreatureScript("mob_pummeller") { }
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new mob_pummellerAI(creature);
            }
    
            struct mob_pummellerAI : public ScriptedAI
            {
                mob_pummellerAI(Creature* creature) : ScriptedAI(creature)
                {
                    _instance = creature->GetInstanceScript();
                }
    
                void Reset()
                {
                    _arcingSmashTimer = TIMER_ARCING_SMASH;
                    _trampleTimer = TIMER_TRAMPLE;
                    _uppercutTimer = TIMER_UPPERCUT;
    
                    if (Creature* xt002 = me->GetCreature(*me, _instance->GetData64(BOSS_XT002)))
                    {
                        Position pos;
                        xt002->GetPosition(&pos);
                        me->GetMotionMaster()->MovePoint(0, pos);
                    }
                }
    
                void UpdateAI(const uint32 diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (me->IsWithinMeleeRange(me->getVictim()))
                    {
                        if (_arcingSmashTimer <= diff)
                        {
                            DoCast(me->getVictim(), SPELL_ARCING_SMASH);
                            _arcingSmashTimer = TIMER_ARCING_SMASH;
                        }
                        else
                            _arcingSmashTimer -= diff;
    
                        if (_trampleTimer <= diff)
                        {
                            DoCast(me->getVictim(), SPELL_TRAMPLE);
                            _trampleTimer = TIMER_TRAMPLE;
                        }
                        else
                            _trampleTimer -= diff;
    
                        if (_uppercutTimer <= diff)
                        {
                            DoCast(me->getVictim(), SPELL_UPPERCUT);
                            _uppercutTimer = TIMER_UPPERCUT;
                        }
                        else
                            _uppercutTimer -= diff;
                    }
    
                    DoMeleeAttackIfReady();
                }
    
                private:
                    InstanceScript* _instance;
                    uint32 _arcingSmashTimer;
                    uint32 _trampleTimer;
                    uint32 _uppercutTimer;
            };
    };
    
    /*-------------------------------------------------------
     *
     *        XE-321 BOOMBOT
     *
     *///----------------------------------------------------
    class BoomEvent : public BasicEvent
    {
        public:
            BoomEvent(Creature* me) : _me(me)
            {
            }
    
            bool Execute(uint64 /*time*/, uint32 /*diff*/)
            {
                // This hack is here because we suspect our implementation of spell effect execution on targets
                // is done in the wrong order. We suspect that EFFECT_0 needs to be applied on all targets,
                // then EFFECT_1, etc - instead of applying each effect on target1, then target2, etc.
                // The above situation causes the visual for this spell to be bugged, so we remove the instakill
                // effect and implement a script hack for that.
    
                _me->CastSpell(_me, SPELL_BOOM, false);
                return true;
            }
    
        private:
            Creature* _me;
    };
    
    class mob_boombot : public CreatureScript
    {
        public:
            mob_boombot() : CreatureScript("mob_boombot") { }
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new mob_boombotAI(creature);
            }
    
            struct mob_boombotAI : public ScriptedAI
            {
                mob_boombotAI(Creature* creature) : ScriptedAI(creature)
                {
                    _instance = creature->GetInstanceScript();
                }
    
                void Reset()
                {
                    _boomed = false;
    
                    DoCast(SPELL_AURA_BOOMBOT); // For achievement
    
                    // HACK/workaround:
                    // these values aren't confirmed - lack of data - and the values in DB are incorrect
                    // these values are needed for correct damage of Boom spell
                    me->SetFloatValue(UNIT_FIELD_MINDAMAGE, 15000.0f);
                    me->SetFloatValue(UNIT_FIELD_MAXDAMAGE, 18000.0f);
    
                    // Todo: proper waypoints?
                    if (Creature* pXT002 = me->GetCreature(*me, _instance->GetData64(BOSS_XT002)))
                        me->GetMotionMaster()->MoveFollow(pXT002, 0.0f, 0.0f);
                }
    
                void DamageTaken(Unit* /*who*/, uint32& damage)
                {
                    if (damage >= (me->GetHealth() - me->GetMaxHealth() * 0.5f) && !_boomed)
                    {
                        _boomed = true; // Prevent recursive calls
    
                        WorldPacket data(SMSG_SPELLINSTAKILLLOG, 8+8+4);
                        data << uint64(me->GetGUID());
                        data << uint64(me->GetGUID());
                        data << uint32(SPELL_BOOM);
                        me->SendMessageToSet(&data, false);
    
                        me->DealDamage(me, me->GetHealth(), NULL, NODAMAGE, SPELL_SCHOOL_MASK_NORMAL, NULL, false);
    
                        damage = 0;
    
                        // Visual only seems to work if the instant kill event is delayed or the spell itself is delayed
                        // Casting done from player and caster source has the same targetinfo flags,
                        // so that can't be the issue
                        // See BoomEvent class
                        // Schedule 1s delayed
                        me->m_Events.AddEvent(new BoomEvent(me), me->m_Events.CalculateTime(1*IN_MILLISECONDS));
                    }
                }
    
                void UpdateAI(uint32 const /*diff*/)
                {
                    if (!UpdateVictim())
                        return;
    
                    // No melee attack
                }
    
               private:
                    InstanceScript* _instance;
                    bool _boomed;
            };
    };
    
    
    /*-------------------------------------------------------
     *
     *        LIFE SPARK
     *
     *///----------------------------------------------------
    class mob_life_spark : public CreatureScript
    {
        public:
            mob_life_spark() : CreatureScript("mob_life_spark") { }
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new mob_life_sparkAI(creature);
            }
    
            struct mob_life_sparkAI : public ScriptedAI
            {
                mob_life_sparkAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                void Reset()
                {
                    DoCast(me, RAID_MODE(SPELL_STATIC_CHARGED_10, SPELL_STATIC_CHARGED_25));
                    _shockTimer = 0; // first one is immediate.
                }
    
                void UpdateAI(const uint32 diff)
                {
                    if (!UpdateVictim())
                        return;
    
                    if (_shockTimer <= diff)
                    {
                        if (me->IsWithinMeleeRange(me->getVictim()))
                        {
                            DoCast(me->getVictim(), SPELL_SHOCK);
                            _shockTimer = TIMER_SHOCK;
                        }
                    }
                    else _shockTimer -= diff;
                }
    
                private:
                    uint32 _shockTimer;
            };
    };
    
    class spell_xt002_searing_light_spawn_life_spark : public SpellScriptLoader
    {
        public:
            spell_xt002_searing_light_spawn_life_spark() : SpellScriptLoader("spell_xt002_searing_light_spawn_life_spark") { }
    
            class spell_xt002_searing_light_spawn_life_spark_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_xt002_searing_light_spawn_life_spark_AuraScript);
    
                bool Validate(SpellInfo const* /*spell*/)
                {
                    if (!sSpellMgr->GetSpellInfo(SPELL_SUMMON_LIFE_SPARK))
                        return false;
                    return true;
                }
    
                void OnRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
                {
                    if (Player* player = GetOwner()->ToPlayer())
                        if (Unit* xt002 = GetCaster())
                            if (xt002->HasAura(aurEff->GetAmount()))   // Heartbreak aura indicating hard mode
                                player->CastSpell(player, SPELL_SUMMON_LIFE_SPARK, true);
                }
    
                void Register()
                {
                    AfterEffectRemove += AuraEffectRemoveFn(spell_xt002_searing_light_spawn_life_spark_AuraScript::OnRemove, EFFECT_0, SPELL_AURA_PERIODIC_TRIGGER_SPELL, AURA_EFFECT_HANDLE_REAL);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_xt002_searing_light_spawn_life_spark_AuraScript();
            }
    };
    
    class spell_xt002_gravity_bomb_aura : public SpellScriptLoader
    {
        public:
            spell_xt002_gravity_bomb_aura() : SpellScriptLoader("spell_xt002_gravity_bomb_aura") { }
    
            class spell_xt002_gravity_bomb_aura_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_xt002_gravity_bomb_aura_AuraScript);
    
                bool Validate(SpellInfo const* /*spell*/)
                {
                    if (!sSpellMgr->GetSpellInfo(SPELL_SUMMON_VOID_ZONE))
                        return false;
                    return true;
                }
    
                void OnRemove(AuraEffect const* aurEff, AuraEffectHandleModes /*mode*/)
                {
                    if (Player* player = GetOwner()->ToPlayer())
                        if (Unit* xt002 = GetCaster())
                            if (xt002->HasAura(aurEff->GetAmount()))   // Heartbreak aura indicating hard mode
                                player->CastSpell(player, SPELL_SUMMON_VOID_ZONE, true);
                }
    
                void OnPeriodic(AuraEffect const* aurEff)
                {
                    Unit* xt002 = GetCaster();
                    if (!xt002)
                        return;
    
                    Unit* owner = GetOwner()->ToUnit();
                    if (!owner)
                        return;
    
                    if (aurEff->GetAmount() >= int32(owner->GetHealth()))
                        if (xt002->GetAI())
                            xt002->GetAI()->SetData(DATA_GRAVITY_BOMB_CASUALTY, 1);
                }
    
                void Register()
                {
                    OnEffectPeriodic += AuraEffectPeriodicFn(spell_xt002_gravity_bomb_aura_AuraScript::OnPeriodic, EFFECT_2, SPELL_AURA_PERIODIC_DAMAGE);
                    AfterEffectRemove += AuraEffectRemoveFn(spell_xt002_gravity_bomb_aura_AuraScript::OnRemove, EFFECT_0, SPELL_AURA_PERIODIC_TRIGGER_SPELL, AURA_EFFECT_HANDLE_REAL);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_xt002_gravity_bomb_aura_AuraScript();
            }
    };
    
    class spell_xt002_gravity_bomb_damage : public SpellScriptLoader
    {
        public:
            spell_xt002_gravity_bomb_damage() : SpellScriptLoader("spell_xt002_gravity_bomb_damage") { }
    
            class spell_xt002_gravity_bomb_damage_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_xt002_gravity_bomb_damage_SpellScript);
    
                void HandleScript(SpellEffIndex /*eff*/)
                {
                    Unit* caster = GetCaster();
                    if (!caster)
                        return;
    
                    if (GetHitDamage() >= int32(GetHitUnit()->GetHealth()))
                        if (caster->GetAI())
                            caster->GetAI()->SetData(DATA_GRAVITY_BOMB_CASUALTY, 1);
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_xt002_gravity_bomb_damage_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_xt002_gravity_bomb_damage_SpellScript();
            }
    };
    
    class spell_xt002_heart_overload_periodic : public SpellScriptLoader
    {
        public:
            spell_xt002_heart_overload_periodic() : SpellScriptLoader("spell_xt002_heart_overload_periodic") { }
    
            class spell_xt002_heart_overload_periodic_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_xt002_heart_overload_periodic_SpellScript);
    
                bool Validate(SpellInfo const* /*spell*/)
                {
                    if (!sSpellMgr->GetSpellInfo(SPELL_ENERGY_ORB))
                        return false;
    
                    if (!sSpellMgr->GetSpellInfo(SPELL_RECHARGE_BOOMBOT))
                        return false;
    
                    if (!sSpellMgr->GetSpellInfo(SPELL_RECHARGE_PUMMELER))
                        return false;
    
                    if (!sSpellMgr->GetSpellInfo(SPELL_RECHARGE_SCRAPBOT))
                        return false;
    
                    return true;
                }
    
                void HandleScript(SpellEffIndex /*effIndex*/)
                {
                    if (Unit* caster = GetCaster())
                    {
                        if (InstanceScript* instance = caster->GetInstanceScript())
                        {
                            if (Unit* toyPile = ObjectAccessor::GetUnit(*caster, instance->GetData64(DATA_TOY_PILE_0 + urand(0, 3))))
                            {
                                caster->CastSpell(toyPile, SPELL_ENERGY_ORB, true);
    
                                // This should probably be incorporated in a dummy effect handler, but I've had trouble getting the correct target
                                // Weighed randomization (approximation)
                                uint32 const spells[] = { SPELL_RECHARGE_SCRAPBOT, SPELL_RECHARGE_SCRAPBOT, SPELL_RECHARGE_SCRAPBOT,
                                    SPELL_RECHARGE_PUMMELER, SPELL_RECHARGE_BOOMBOT };
    
                                for (uint8 i = 0; i < 5; ++i)
                                {
                                    uint8 a = urand(0, 4);
                                    uint32 spellId = spells[a];
                                    toyPile->CastSpell(toyPile, spellId, true);
                                }
                            }
                        }
    
                        DoScriptText(SAY_SUMMON, caster->GetVehicleBase());
                    }
                }
    
                void Register()
                {
                    OnEffectHit += SpellEffectFn(spell_xt002_heart_overload_periodic_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_DUMMY);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_xt002_heart_overload_periodic_SpellScript();
            }
    };
    
    class spell_xt002_tympanic_tantrum : public SpellScriptLoader
    {
        public:
            spell_xt002_tympanic_tantrum() : SpellScriptLoader("spell_xt002_tympanic_tantrum") { }
    
            class spell_xt002_tympanic_tantrum_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_xt002_tympanic_tantrum_SpellScript);
    
                void FilterTargets(std::list<Unit*>& unitList)
                {
                    unitList.remove_if (PlayerOrPetCheck());
                }
    
                void Register()
                {
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_xt002_tympanic_tantrum_SpellScript::FilterTargets, EFFECT_0, TARGET_UNIT_SRC_AREA_ENEMY);
                    OnUnitTargetSelect += SpellUnitTargetFn(spell_xt002_tympanic_tantrum_SpellScript::FilterTargets, EFFECT_1, TARGET_UNIT_SRC_AREA_ENEMY);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_xt002_tympanic_tantrum_SpellScript();
            }
    };
    
    class spell_xt002_submerged : public SpellScriptLoader
    {
        public:
            spell_xt002_submerged() : SpellScriptLoader("spell_xt002_submerged") { }
    
            class spell_xt002_submerged_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_xt002_submerged_SpellScript);
    
                void HandleScript(SpellEffIndex /*eff*/)
                {
                    Creature* target = GetHitCreature();
                    if (!target)
                        return;
    
                    target->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    target->SetByteValue(UNIT_FIELD_BYTES_1, 0, UNIT_STAND_STATE_SUBMERGED);
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_xt002_submerged_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_xt002_submerged_SpellScript();
            }
    };
    
    class spell_xt002_stand : public SpellScriptLoader
    {
        public:
            spell_xt002_stand() : SpellScriptLoader("spell_xt002_stand") { }
    
            class spell_xt002_stand_SpellScript : public SpellScript
            {
                PrepareSpellScript(spell_xt002_stand_SpellScript);
    
                void HandleScript(SpellEffIndex /*eff*/)
                {
                    Creature* target = GetHitCreature();
                    if (!target)
                        return;
    
                    target->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_SELECTABLE);
                    target->SetByteValue(UNIT_FIELD_BYTES_1, 0, UNIT_STAND_STATE_STAND);
                }
    
                void Register()
                {
                    OnEffectHitTarget += SpellEffectFn(spell_xt002_stand_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
                }
            };
    
            SpellScript* GetSpellScript() const
            {
                return new spell_xt002_stand_SpellScript();
            }
    };
    
    class achievement_nerf_engineering : public AchievementCriteriaScript
    {
        public:
            achievement_nerf_engineering() : AchievementCriteriaScript("achievement_nerf_engineering") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (!target || !target->GetAI())
                    return false;
    
                return !(target->GetAI()->GetData(DATA_HEALTH_RECOVERED));
            }
    };
    
    class achievement_heartbreaker : public AchievementCriteriaScript
    {
        public:
            achievement_heartbreaker() : AchievementCriteriaScript("achievement_heartbreaker") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (!target || !target->GetAI())
                    return false;
    
                return target->GetAI()->GetData(DATA_HARD_MODE);
            }
    };
    
    class achievement_nerf_gravity_bombs : public AchievementCriteriaScript
    {
        public:
            achievement_nerf_gravity_bombs() : AchievementCriteriaScript("achievement_nerf_gravity_bombs") { }
    
            bool OnCheck(Player* /*source*/, Unit* target)
            {
                if (!target || !target->GetAI())
                    return false;
    
                return !(target->GetAI()->GetData(DATA_GRAVITY_BOMB_CASUALTY));
            }
    };
    
    void AddSC_boss_xt002()
    {
        new mob_xt002_heart();
        new mob_scrapbot();
        new mob_pummeller();
        new mob_boombot();
    
        new mob_life_spark();
        new boss_xt002();
    
        new spell_xt002_searing_light_spawn_life_spark();
        new spell_xt002_gravity_bomb_aura();
        new spell_xt002_gravity_bomb_damage();
        new spell_xt002_heart_overload_periodic();
        new spell_xt002_tympanic_tantrum();
        new spell_xt002_submerged();
        new spell_xt002_stand();
    
        new achievement_nerf_engineering();
        new achievement_heartbreaker();
        new achievement_nerf_gravity_bombs();
    }
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  5. #34
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [C++] Ulduar Script Part 4

    Spoiler untuk boss_yoggsaron.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ulduar.h"
    
    enum Sara_Yells
    {
        SAY_SARA_PREFIGHT_1                         = -1603310,
        SAY_SARA_PREFIGHT_2                         = -1603311,
        SAY_SARA_AGGRO_1                            = -1603312,
        SAY_SARA_AGGRO_2                            = -1603313,
        SAY_SARA_AGGRO_3                            = -1603314,
        SAY_SARA_SLAY_1                             = -1603315,
        SAY_SARA_SLAY_2                             = -1603316,
        WHISP_SARA_INSANITY                         = -1603317,
        SAY_SARA_PHASE2_1                           = -1603318,
        SAY_SARA_PHASE2_2                           = -1603319,
    };
    
    enum YoggSaron_Yells
    {
        SAY_PHASE2_1                                = -1603330,
        SAY_PHASE2_2                                = -1603331,
        SAY_PHASE2_3                                = -1603332,
        SAY_PHASE2_4                                = -1603333,
        SAY_PHASE2_5                                = -1603334,
        SAY_PHASE3                                  = -1603335,
        SAY_VISION                                  = -1603336,
        SAY_SLAY_1                                  = -1603337,
        SAY_SLAY_2                                  = -1603338,
        WHISP_INSANITY_1                            = -1603339,
        WHISP_INSANITY_2                            = -1603340,
        SAY_DEATH                                   = -1603341,
    };
    
    enum
    {
        ACHIEV_TIMED_START_EVENT                      = 21001,
    };
    //not in scriptloader yet just to remove warning boss_yoggsaron.obj : warning LNK4221: no public symbols found; archive member will be inaccessible
    void AddSC_boss_yoggsaron()
    {
    }


    Spoiler untuk instance_ulduar.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "InstanceScript.h"
    #include "ulduar.h"
    
    static DoorData const doorData[] =
    {
        {   GO_LEVIATHAN_DOOR, BOSS_LEVIATHAN,    DOOR_TYPE_ROOM, BOUNDARY_S      },
        {   GO_XT_002_DOOR,    BOSS_XT002,        DOOR_TYPE_ROOM, BOUNDARY_S      },
        {   0,                 0,                 DOOR_TYPE_ROOM, BOUNDARY_NONE   },
    };
    
    class instance_ulduar : public InstanceMapScript
    {
        public:
            instance_ulduar() : InstanceMapScript("instance_ulduar", 603) { }
    
            struct instance_ulduar_InstanceMapScript : public InstanceScript
            {
                instance_ulduar_InstanceMapScript(InstanceMap* map) : InstanceScript(map) { }
    
                uint32 Encounter[MAX_ENCOUNTER];
                std::string m_strInstData;
    
                // Creatures
                uint64 LeviathanGUID;
                uint64 IgnisGUID;
                uint64 RazorscaleGUID;
                uint64 RazorscaleController;
                uint64 RazorHarpoonGUIDs[4];
                uint64 ExpeditionCommanderGUID;
                uint64 XT002GUID;
                uint64 XTToyPileGUIDs[4];
                uint64 AssemblyGUIDs[3];
                uint64 KologarnGUID;
                uint64 AuriayaGUID;
                uint64 MimironGUID;
                uint64 HodirGUID;
                uint64 ThorimGUID;
                uint64 FreyaGUID;
                uint64 KeeperGUIDs[3];
                uint64 VezaxGUID;
                uint64 YoggSaronGUID;
                uint64 AlgalonGUID;
                uint64 LeviathanGateGUID;
                uint64 VezaxDoorGUID;
    
                // GameObjects
                uint64 KologarnChestGUID;
                uint64 KologarnBridgeGUID;
                uint64 KologarnDoorGUID;
                uint64 ThorimChestGUID;
                uint64 HodirRareCacheGUID;
                uint64 HodirChestGUID;
                uint64 HodirDoorGUID;
                uint64 HodirIceDoorGUID;
                uint64 ArchivumDoorGUID;
    
                // Miscellaneous
                uint32 TeamInInstance;
                uint32 HodirRareCacheData;
                uint32 ColossusData;
                uint8 elderCount;
                bool conSpeedAtory;
                bool Unbroken;
    
                std::set<uint64> mRubbleSpawns;
    
                void Initialize()
                {
                    SetBossNumber(MAX_ENCOUNTER);
                    LoadDoorData(doorData);
                    IgnisGUID                        = 0;
                    RazorscaleGUID                   = 0;
                    RazorscaleController             = 0;
                    ExpeditionCommanderGUID          = 0;
                    XT002GUID                        = 0;
                    KologarnGUID                     = 0;
                    AuriayaGUID                      = 0;
                    MimironGUID                      = 0;
                    HodirGUID                        = 0;
                    ThorimGUID                       = 0;
                    FreyaGUID                        = 0;
                    VezaxGUID                        = 0;
                    YoggSaronGUID                    = 0;
                    AlgalonGUID                      = 0;
                    KologarnChestGUID                = 0;
                    KologarnBridgeGUID               = 0;
                    ThorimChestGUID                  = 0;
                    HodirRareCacheGUID               = 0;
                    HodirChestGUID                   = 0;
                    LeviathanGateGUID                = 0;
                    VezaxDoorGUID                    = 0;
                    HodirDoorGUID                    = 0;
                    HodirIceDoorGUID                 = 0;
                    ArchivumDoorGUID                 = 0;
                    TeamInInstance                   = 0;
                    HodirRareCacheData               = 0;
                    ColossusData                     = 0;
                    elderCount                       = 0;
                    conSpeedAtory                    = false;
                    Unbroken                         = true;
    
                    memset(Encounter, 0, sizeof(Encounter));
                    memset(XTToyPileGUIDs, 0, sizeof(XTToyPileGUIDs));
                    memset(AssemblyGUIDs, 0, sizeof(AssemblyGUIDs));
                    memset(RazorHarpoonGUIDs, 0, sizeof(RazorHarpoonGUIDs));
                    memset(KeeperGUIDs, 0, sizeof(KeeperGUIDs));
                }
    
                bool IsEncounterInProgress() const
                {
                    for (uint8 i = 0; i < MAX_ENCOUNTER; ++i)
                    {
                        if (Encounter[i] == IN_PROGRESS)
                            return true;
                    }
    
                    return false;
                }
    
                void OnPlayerEnter(Player* player)
                {
                    if (!TeamInInstance)
                        TeamInInstance = player->GetTeam();
                }
    
                void OnCreatureCreate(Creature* creature)
                {
                    if (!TeamInInstance)
                    {
                        Map::PlayerList const& Players = instance->GetPlayers();
                        if (!Players.isEmpty())
                            if (Player* player = Players.begin()->getSource())
                                TeamInInstance = player->GetTeam();
                    }
    
                    switch (creature->GetEntry())
                    {
                        case NPC_LEVIATHAN:
                            LeviathanGUID = creature->GetGUID();
                            break;
                        case NPC_IGNIS:
                            IgnisGUID = creature->GetGUID();
                            break;
                        case NPC_RAZORSCALE:
                            RazorscaleGUID = creature->GetGUID();
                            break;
                        case NPC_RAZORSCALE_CONTROLLER:
                            RazorscaleController = creature->GetGUID();
                            break;
                        case NPC_EXPEDITION_COMMANDER:
                            ExpeditionCommanderGUID = creature->GetGUID();
                            break;
                        case NPC_XT002:
                            XT002GUID = creature->GetGUID();
                            break;
                        case NPC_XT_TOY_PILE:
                            for (uint8 i = 0; i < 4; ++i)
                                if (!XTToyPileGUIDs[i])
                                    XTToyPileGUIDs[i] = creature->GetGUID();
                            break;
    
                        // Assembly of Iron
                        case NPC_STEELBREAKER:
                            AssemblyGUIDs[0] = creature->GetGUID();
                            break;
                        case NPC_MOLGEIM:
                            AssemblyGUIDs[1] = creature->GetGUID();
                            break;
                        case NPC_BRUNDIR:
                            AssemblyGUIDs[2] = creature->GetGUID();
                            break;
    
                        // Freya's Keeper
                        case NPC_IRONBRANCH:
                            KeeperGUIDs[0] = creature->GetGUID();
                            if (GetBossState(BOSS_FREYA) == DONE)
                                creature->DespawnOrUnsummon();
                            break;
                        case NPC_BRIGHTLEAF:
                            KeeperGUIDs[1] = creature->GetGUID();
                            if (GetBossState(BOSS_FREYA) == DONE)
                                creature->DespawnOrUnsummon();
                            break;
                        case NPC_STONEBARK:
                            KeeperGUIDs[2] = creature->GetGUID();
                            if (GetBossState(BOSS_FREYA) == DONE)
                                creature->DespawnOrUnsummon();
                             break;
    
                        // Kologarn
                        case NPC_KOLOGARN:
                            KologarnGUID = creature->GetGUID();
                            break;
                        case NPC_AURIAYA:
                            AuriayaGUID = creature->GetGUID();
                            break;
                        case NPC_MIMIRON:
                            MimironGUID = creature->GetGUID();
                            break;
                        case NPC_HODIR:
                            HodirGUID = creature->GetGUID();
                            break;
                        case NPC_THORIM:
                            ThorimGUID = creature->GetGUID();
                            break;
                        case NPC_FREYA:
                            FreyaGUID = creature->GetGUID();
                            break;
                        case NPC_VEZAX:
                            VezaxGUID = creature->GetGUID();
                            break;
                        case NPC_YOGGSARON:
                            YoggSaronGUID = creature->GetGUID();
                            break;
                        case NPC_ALGALON:
                            AlgalonGUID = creature->GetGUID();
                            break;
    
                        // Hodir's Helper NPCs
                        case NPC_EIVI_NIGHTFEATHER:
                            if (TeamInInstance == HORDE)
                                creature->UpdateEntry(NPC_TOR_GREYCLOUD, HORDE);
                            break;
                        case NPC_ELLIE_NIGHTFEATHER:
                            if (TeamInInstance == HORDE)
                                creature->UpdateEntry(NPC_KAR_GREYCLOUD, HORDE);
                            break;
                        case NPC_ELEMENTALIST_MAHFUUN:
                            if (TeamInInstance == HORDE)
                                creature->UpdateEntry(NPC_SPIRITWALKER_TARA, HORDE);
                            break;
                        case NPC_ELEMENTALIST_AVUUN:
                            if (TeamInInstance == HORDE)
                                creature->UpdateEntry(NPC_SPIRITWALKER_YONA, HORDE);
                            break;
                        case NPC_MISSY_FLAMECUFFS:
                            if (TeamInInstance == HORDE)
                                creature->UpdateEntry(NPC_AMIRA_BLAZEWEAVER, HORDE);
                            break;
                        case NPC_SISSY_FLAMECUFFS:
                            if (TeamInInstance == HORDE)
                                creature->UpdateEntry(NPC_VEESHA_BLAZEWEAVER, HORDE);
                            break;
                        case NPC_FIELD_MEDIC_PENNY:
                            if (TeamInInstance == HORDE)
                                creature->UpdateEntry(NPC_BATTLE_PRIEST_ELIZA, HORDE);
                            break;
                        case NPC_FIELD_MEDIC_JESSI:
                            if (TeamInInstance == HORDE)
                                creature->UpdateEntry(NPC_BATTLE_PRIEST_GINA, HORDE);
                            break;
                    }
    
                 }
    
                void OnGameObjectCreate(GameObject* gameObject)
                {
                    switch (gameObject->GetEntry())
                    {
                        case GO_KOLOGARN_CHEST_HERO:
                        case GO_KOLOGARN_CHEST:
                            KologarnChestGUID = gameObject->GetGUID();
                            break;
                        case GO_KOLOGARN_BRIDGE:
                            KologarnBridgeGUID = gameObject->GetGUID();
                            if (GetBossState(BOSS_KOLOGARN) == DONE)
                                HandleGameObject(0, false, gameObject);
                            break;
                        case GO_KOLOGARN_DOOR:
                            KologarnDoorGUID = gameObject->GetGUID();
                            break;
                        case GO_THORIM_CHEST_HERO:
                        case GO_THORIM_CHEST:
                            ThorimChestGUID = gameObject->GetGUID();
                            break;
                        case GO_HODIR_RARE_CACHE_OF_WINTER_HERO:
                        case GO_HODIR_RARE_CACHE_OF_WINTER:
                            HodirRareCacheGUID = gameObject->GetGUID();
                            break;
                        case GO_HODIR_CHEST_HERO:
                        case GO_HODIR_CHEST:
                            HodirChestGUID = gameObject->GetGUID();
                            break;
                        case GO_LEVIATHAN_DOOR:
                            AddDoor(gameObject, true);
                            break;
                        case GO_LEVIATHAN_GATE:
                            LeviathanGateGUID = gameObject->GetGUID();
                            if (GetBossState(BOSS_LEVIATHAN) == DONE)
                                gameObject->SetGoState(GO_STATE_ACTIVE_ALTERNATIVE);
                            break;
                        case GO_XT_002_DOOR:
                            AddDoor(gameObject, true);
                            break;
                        case GO_VEZAX_DOOR:
                            VezaxDoorGUID = gameObject->GetGUID();
                            HandleGameObject(0, false, gameObject);
                            break;
                        case GO_RAZOR_HARPOON_1:
                            RazorHarpoonGUIDs[0] = gameObject->GetGUID();
                            break;
                        case GO_RAZOR_HARPOON_2:
                            RazorHarpoonGUIDs[1] = gameObject->GetGUID();
                            break;
                        case GO_RAZOR_HARPOON_3:
                            RazorHarpoonGUIDs[2] = gameObject->GetGUID();
                            break;
                        case GO_RAZOR_HARPOON_4:
                            RazorHarpoonGUIDs[3] = gameObject->GetGUID();
                            break;
                        case GO_MOLE_MACHINE:
                            if (GetBossState(BOSS_RAZORSCALE) == IN_PROGRESS)
                                gameObject->SetGoState(GO_STATE_ACTIVE);
                        case GO_HODIR_DOOR:
                            HodirDoorGUID = gameObject->GetGUID();
                            break;
                        case GO_HODIR_ICE_DOOR:
                            HodirIceDoorGUID = gameObject->GetGUID();
                            break;
                        case GO_ARCHIVUM_DOOR:
                            ArchivumDoorGUID = gameObject->GetGUID();
                            if (GetBossState(BOSS_ASSEMBLY_OF_IRON) != DONE)
                                HandleGameObject(ArchivumDoorGUID, false);
                            break;
                    }
                }
    
                void OnGameObjectRemove(GameObject* gameObject)
                {
                    switch (gameObject->GetEntry())
                    {
                        case GO_LEVIATHAN_DOOR:
                            AddDoor(gameObject, false);
                            break;
                        case GO_XT_002_DOOR:
                            AddDoor(gameObject, false);
                        default:
                            break;
                    }
                }
    
                void OnUnitDeath(Unit* unit)
                {
                    Creature* creature = unit->ToCreature();
                    if (!creature)
                        return;
    
                    switch (creature->GetEntry())
                    {
                        case NPC_CORRUPTED_SERVITOR:
                        case NPC_MISGUIDED_NYMPH:
                        case NPC_GUARDIAN_LASHER:
                        case NPC_FOREST_SWARMER:
                        case NPC_MANGROVE_ENT:
                        case NPC_IRONROOT_LASHER:
                        case NPC_NATURES_BLADE:
                        case NPC_GUARDIAN_OF_LIFE:
                            if (!conSpeedAtory)
                            {
                                DoStartTimedAchievement(ACHIEVEMENT_TIMED_TYPE_EVENT, CRITERIA_CON_SPEED_ATORY);
                                conSpeedAtory = true;
                            }
                            break;
                        default:
                            break;
                    }
                }
    
                void ProcessEvent(WorldObject* /*gameObject*/, uint32 eventId)
                {
                    // Flame Leviathan's Tower Event triggers
                    Creature* FlameLeviathan = instance->GetCreature(LeviathanGUID);
                    if (FlameLeviathan && FlameLeviathan->isAlive()) // No leviathan, no event triggering ;)
                        switch (eventId)
                        {
                            case EVENT_TOWER_OF_STORM_DESTROYED:
                                FlameLeviathan->AI()->DoAction(ACTION_TOWER_OF_STORM_DESTROYED);
                                break;
                            case EVENT_TOWER_OF_FROST_DESTROYED:
                                FlameLeviathan->AI()->DoAction(ACTION_TOWER_OF_FROST_DESTROYED);
                                break;
                            case EVENT_TOWER_OF_FLAMES_DESTROYED:
                                FlameLeviathan->AI()->DoAction(ACTION_TOWER_OF_FLAMES_DESTROYED);
                                break;
                            case EVENT_TOWER_OF_LIFE_DESTROYED:
                                FlameLeviathan->AI()->DoAction(ACTION_TOWER_OF_LIFE_DESTROYED);
                                break;
                        }
                }
    
    
                bool SetBossState(uint32 type, EncounterState state)
                {
                    if (!InstanceScript::SetBossState(type, state))
                        return false;
    
                    switch (type)
                    {
                        case BOSS_LEVIATHAN:
                        case BOSS_IGNIS:
                        case BOSS_RAZORSCALE:
                        case BOSS_XT002:
                        case BOSS_AURIAYA:
                        case BOSS_MIMIRON:
                        case BOSS_FREYA:
                            break;
                        case BOSS_ASSEMBLY_OF_IRON:
                            if (state == DONE)
                                HandleGameObject(ArchivumDoorGUID, true);
                            break;
                        case BOSS_VEZAX:
                            if (state == DONE)
                                HandleGameObject(VezaxDoorGUID, true);
                            break;
                        case BOSS_YOGGSARON:
                            break;
                        case BOSS_KOLOGARN:
                            if (state == DONE)
                            {
                                if (GameObject* gameObject = instance->GetGameObject(KologarnChestGUID))
                                {
                                    gameObject->SetRespawnTime(gameObject->GetRespawnDelay());
                                    gameObject->RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE);
                                }
                                HandleGameObject(KologarnBridgeGUID, false);
                            }
                            if (state == IN_PROGRESS)
                                HandleGameObject(KologarnDoorGUID, false);
                            else
                                HandleGameObject(KologarnDoorGUID, true);
                            break;
                        case BOSS_HODIR:
                            if (state == DONE)
                            {
                                if (GameObject* HodirRareCache = instance->GetGameObject(HodirRareCacheGUID))
                                    if (GetData(DATA_HODIR_RARE_CACHE))
                                        HodirRareCache->RemoveFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE);
                                if (GameObject* HodirChest = instance->GetGameObject(HodirChestGUID))
                                    HodirChest->SetRespawnTime(HodirChest->GetRespawnDelay());
                                HandleGameObject(HodirDoorGUID, true);
                                HandleGameObject(HodirIceDoorGUID, true);
                            }
                            break;
                        case BOSS_THORIM:
                            if (state == DONE)
                                if (GameObject* gameObject = instance->GetGameObject(ThorimChestGUID))
                                    gameObject->SetRespawnTime(gameObject->GetRespawnDelay());
                            break;
                    }
    
                    return true;
                }
    
                void SetData(uint32 type, uint32 data)
                {
                    switch (type)
                    {
                        case DATA_COLOSSUS:
                            ColossusData = data;
                            if (data == 2)
                            {
                                if (Creature* Leviathan = instance->GetCreature(LeviathanGUID))
                                    Leviathan->AI()->DoAction(ACTION_MOVE_TO_CENTER_POSITION);
                                if (GameObject* gameObject = instance->GetGameObject(LeviathanGateGUID))
                                    gameObject->SetGoState(GO_STATE_ACTIVE_ALTERNATIVE);
                                SaveToDB();
                            }
                            break;
                        case DATA_HODIR_RARE_CACHE:
                            HodirRareCacheData = data;
                            if (!HodirRareCacheData)
                            {
                                if (Creature* Hodir = instance->GetCreature(HodirGUID))
                                    if (GameObject* gameObject = instance->GetGameObject(HodirRareCacheGUID))
                                        Hodir->RemoveGameObject(gameObject, false);
                            }
                            break;
                        case DATA_UNBROKEN:
                            Unbroken = bool(data);
                            break;
                        default:
                            break;
                    }
                }
    
                void SetData64(uint32 /*type*/, uint64 /*data*/)
                {
                }
    
                uint64 GetData64(uint32 data)
                {
                    switch (data)
                    {
                        case BOSS_LEVIATHAN:
                            return LeviathanGUID;
                        case BOSS_IGNIS:
                            return IgnisGUID;
                        case BOSS_RAZORSCALE:
                            return RazorscaleGUID;
                        case DATA_RAZORSCALE_CONTROL:
                            return RazorscaleController;
                        case BOSS_XT002:
                            return XT002GUID;
                        case DATA_TOY_PILE_0:
                        case DATA_TOY_PILE_1:
                        case DATA_TOY_PILE_2:
                        case DATA_TOY_PILE_3:
                            return XTToyPileGUIDs[data - DATA_TOY_PILE_0];
                        case BOSS_KOLOGARN:
                            return KologarnGUID;
                        case BOSS_AURIAYA:
                            return AuriayaGUID;
                        case BOSS_MIMIRON:
                            return MimironGUID;
                        case BOSS_HODIR:
                            return HodirGUID;
                        case BOSS_THORIM:
                            return ThorimGUID;
                        case BOSS_FREYA:
                            return FreyaGUID;
                        case BOSS_VEZAX:
                            return VezaxGUID;
                        case BOSS_YOGGSARON:
                            return YoggSaronGUID;
                        case BOSS_ALGALON:
                            return AlgalonGUID;
    
                        // Razorscale expedition commander
                        case DATA_EXPEDITION_COMMANDER:
                            return ExpeditionCommanderGUID;
                        case GO_RAZOR_HARPOON_1:
                            return RazorHarpoonGUIDs[0];
                        case GO_RAZOR_HARPOON_2:
                            return RazorHarpoonGUIDs[1];
                        case GO_RAZOR_HARPOON_3:
                            return RazorHarpoonGUIDs[2];
                        case GO_RAZOR_HARPOON_4:
                            return RazorHarpoonGUIDs[3];
    
                        // Assembly of Iron
                        case BOSS_STEELBREAKER:
                            return AssemblyGUIDs[0];
                        case BOSS_MOLGEIM:
                            return AssemblyGUIDs[1];
                        case BOSS_BRUNDIR:
                            return AssemblyGUIDs[2];
    
                        // Freya's Keepers
                        case BOSS_BRIGHTLEAF:
                            return KeeperGUIDs[0];
                        case BOSS_IRONBRANCH:
                            return KeeperGUIDs[1];
                        case BOSS_STONEBARK:
                            return KeeperGUIDs[2];
                    }
    
                    return 0;
                }
    
                uint32 GetData(uint32 type)
                {
                    switch (type)
                    {
                        case DATA_COLOSSUS:
                            return ColossusData;
                        case DATA_HODIR_RARE_CACHE:
                            return HodirRareCacheData;
                        case DATA_UNBROKEN:
                            return uint32(Unbroken);
                        default:
                            break;
                    }
    
                    return 0;
                }
    
                std::string GetSaveData()
                {
                    OUT_SAVE_INST_DATA;
    
                    std::ostringstream saveStream;
                    saveStream << "U U " << GetBossSaveData() << GetData(DATA_COLOSSUS);
    
                    OUT_SAVE_INST_DATA_COMPLETE;
                    return saveStream.str();
                }
    
                void Load(char const* strIn)
                {
                    if (!strIn)
                    {
                        OUT_LOAD_INST_DATA_FAIL;
                        return;
                    }
    
                    OUT_LOAD_INST_DATA(strIn);
    
                    char dataHead1, dataHead2;
    
                    std::istringstream loadStream(strIn);
                    loadStream >> dataHead1 >> dataHead2;
    
                    if (dataHead1 == 'U' && dataHead2 == 'U')
                    {
                        for (uint8 i = 0; i < MAX_ENCOUNTER; ++i)
                        {
                            uint32 tmpState;
                            loadStream >> tmpState;
                            if (tmpState == IN_PROGRESS || tmpState > SPECIAL)
                                tmpState = NOT_STARTED;
    
                            if (i == DATA_COLOSSUS)
                                SetData(i, tmpState);
                            else
                                SetBossState(i, EncounterState(tmpState));
                        }
                    }
    
                    OUT_LOAD_INST_DATA_COMPLETE;
                }
            };
    
            InstanceScript* GetInstanceScript(InstanceMap* map) const
            {
                return new instance_ulduar_InstanceMapScript(map);
            }
    };
    
    void AddSC_instance_ulduar()
    {
        new instance_ulduar();
    }


    Spoiler untuk ulduar.h :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #ifndef DEF_ULDUAR_H
    #define DEF_ULDUAR_H
    
    #include "ObjectMgr.h"
    #define UlduarScriptName "instance_ulduar"
    
    enum UlduarBosses
    {
        MAX_ENCOUNTER            = 20,
    
        BOSS_LEVIATHAN           = 0,
        BOSS_IGNIS               = 1,
        BOSS_RAZORSCALE          = 2,
        BOSS_XT002               = 3,
        BOSS_ASSEMBLY_OF_IRON    = 4,
        BOSS_STEELBREAKER        = 5,
        BOSS_MOLGEIM             = 6,
        BOSS_BRUNDIR             = 7,
        BOSS_KOLOGARN            = 8,
        BOSS_AURIAYA             = 9,
        BOSS_MIMIRON             = 10,
        BOSS_HODIR               = 11,
        BOSS_THORIM              = 12,
        BOSS_FREYA               = 13,
        BOSS_BRIGHTLEAF          = 14,
        BOSS_IRONBRANCH          = 15,
        BOSS_STONEBARK           = 16,
        BOSS_VEZAX               = 17,
        BOSS_YOGGSARON           = 18,
        BOSS_ALGALON             = 19,
    };
    
    enum UlduarNPCs
    {
        // General
        NPC_LEVIATHAN                = 33113,
        NPC_SALVAGED_DEMOLISHER      = 33109,
        NPC_SALVAGED_SIEGE_ENGINE    = 33060,
        NPC_IGNIS                    = 33118,
        NPC_RAZORSCALE               = 33186,
        NPC_RAZORSCALE_CONTROLLER    = 33233,
        NPC_STEELFORGED_DEFFENDER    = 33236,
        NPC_EXPEDITION_COMMANDER     = 33210,
        NPC_XT002                    = 33293,
        NPC_XT_TOY_PILE              = 33337,
        NPC_STEELBREAKER             = 32867,
        NPC_MOLGEIM                  = 32927,
        NPC_BRUNDIR                  = 32857,
        NPC_KOLOGARN                 = 32930,
        NPC_FOCUSED_EYEBEAM          = 33632,
        NPC_FOCUSED_EYEBEAM_RIGHT    = 33802,
        NPC_LEFT_ARM                 = 32933,
        NPC_RIGHT_ARM                = 32934,
        NPC_RUBBLE                   = 33768,
        NPC_AURIAYA                  = 33515,
        NPC_MIMIRON                  = 33350,
        NPC_HODIR                    = 32845,
        NPC_THORIM                   = 32865,
        NPC_FREYA                    = 32906,
        NPC_VEZAX                    = 33271,
        NPC_YOGGSARON                = 33288,
        NPC_ALGALON                  = 32871,
    
        // Mimiron
        NPC_LEVIATHAN_MKII           = 33432,
        NPC_VX_001                   = 33651,
        NPC_AERIAL_COMMAND_UNIT      = 33670,
    
        // Freya's Keepers
        NPC_IRONBRANCH               = 32913,
        NPC_BRIGHTLEAF               = 32915,
        NPC_STONEBARK                = 32914,
    
        // Hodir's Helper NPCs
        NPC_TOR_GREYCLOUD            = 32941,
        NPC_KAR_GREYCLOUD            = 33333,
        NPC_EIVI_NIGHTFEATHER        = 33325,
        NPC_ELLIE_NIGHTFEATHER       = 32901,
        NPC_SPIRITWALKER_TARA        = 33332,
        NPC_SPIRITWALKER_YONA        = 32950,
        NPC_ELEMENTALIST_MAHFUUN     = 33328,
        NPC_ELEMENTALIST_AVUUN       = 32900,
        NPC_AMIRA_BLAZEWEAVER        = 33331,
        NPC_VEESHA_BLAZEWEAVER       = 32946,
        NPC_MISSY_FLAMECUFFS         = 32893,
        NPC_SISSY_FLAMECUFFS         = 33327,
        NPC_BATTLE_PRIEST_ELIZA      = 32948,
        NPC_BATTLE_PRIEST_GINA       = 33330,
        NPC_FIELD_MEDIC_PENNY        = 32897,
        NPC_FIELD_MEDIC_JESSI        = 33326,
    
        // Freya's trash NPCs
        NPC_CORRUPTED_SERVITOR       = 33354,
        NPC_MISGUIDED_NYMPH          = 33355,
        NPC_GUARDIAN_LASHER          = 33430,
        NPC_FOREST_SWARMER           = 33431,
        NPC_MANGROVE_ENT             = 33525,
        NPC_IRONROOT_LASHER          = 33526,
        NPC_NATURES_BLADE            = 33527,
        NPC_GUARDIAN_OF_LIFE         = 33528,
    };
    
    enum UlduarGameObjects
    {
        GO_KOLOGARN_CHEST_HERO                = 195047,
        GO_KOLOGARN_CHEST                     = 195046,
        GO_KOLOGARN_BRIDGE                    = 194232,
        GO_KOLOGARN_DOOR                      = 194553,
        GO_THORIM_CHEST_HERO                  = 194315,
        GO_THORIM_CHEST                       = 194314,
        GO_HODIR_RARE_CACHE_OF_WINTER         = 194200,
        GO_HODIR_RARE_CACHE_OF_WINTER_HERO    = 194201,
        GO_HODIR_CHEST_HERO                   = 194308,
        GO_HODIR_CHEST                        = 194307,
        GO_LEVIATHAN_DOOR                     = 194905,
        GO_LEVIATHAN_GATE                     = 194630,
        GO_XT_002_DOOR                        = 194631,
        GO_VEZAX_DOOR                         = 194750,
        GO_MOLE_MACHINE                       = 194316,
        GO_RAZOR_HARPOON_1                    = 194542,
        GO_RAZOR_HARPOON_2                    = 194541,
        GO_RAZOR_HARPOON_3                    = 194543,
        GO_RAZOR_HARPOON_4                    = 194519,
        GO_RAZOR_BROKEN_HARPOON               = 194565,
        GO_HODIR_DOOR                         = 194634,
        GO_HODIR_ICE_DOOR                     = 194441,
        GO_ARCHIVUM_DOOR                      = 194556,
    };
    
    enum LeviathanData
    {
        EVENT_TOWER_OF_STORM_DESTROYED      = 21031,
        EVENT_TOWER_OF_FROST_DESTROYED      = 21032,
        EVENT_TOWER_OF_FLAMES_DESTROYED     = 21033,
        EVENT_TOWER_OF_LIFE_DESTROYED       = 21030,
        ACTION_TOWER_OF_STORM_DESTROYED     = 1,
        ACTION_TOWER_OF_FROST_DESTROYED     = 2,
        ACTION_TOWER_OF_FLAMES_DESTROYED    = 3,
        ACTION_TOWER_OF_LIFE_DESTROYED      = 4,
        ACTION_MOVE_TO_CENTER_POSITION      = 10,
    };
    
    enum UlduarAchievementCriteriaIds
    {
        CRITERIA_CON_SPEED_ATORY    = 21597,
        CRITERIA_DISARMED           = 21687,
    };
    
    enum UlduarData
    {
        // Collosus (Leviathan)
        DATA_COLOSSUS                = 20,
    
        // Razorscale
        DATA_EXPEDITION_COMMANDER,
        DATA_RAZORSCALE_CONTROL,
    
        // XT-002
        DATA_TOY_PILE_0,
        DATA_TOY_PILE_1,
        DATA_TOY_PILE_2,
        DATA_TOY_PILE_3,
    
        // Hodir
        DATA_HODIR_RARE_CACHE,
    };
    
    enum UlduarAchievementData
    {
        // FL Achievement boolean
        DATA_UNBROKEN = 29052906, // 2905, 2906 are achievement IDs,
    };
    
    template<class AI>
    CreatureAI* GetUlduarAI(Creature* creature)
    {
        if (InstanceMap* instance = creature->GetMap()->ToInstanceMap())
            if (instance->GetInstanceScript())
                if (instance->GetScriptId() == sObjectMgr->GetScriptId(UlduarScriptName))
                    return new AI(creature);
    
        return NULL;
    }
    
    class PlayerOrPetCheck
    {
        public:
            bool operator() (Unit* unit)
            {
                if (unit->GetTypeId() != TYPEID_PLAYER)
                    if (!unit->ToCreature()->isPet())
                        return true;
    
                return false;
            }
    };
    
    #endif


    Spoiler untuk ulduar_teleporter.cpp :

    Code:
    /*
     * Copyright (C) 2008-2012 TrinityCore <http://www.trinitycore.org/>
     * Copyright (C) 2006-2009 ScriptDev2 <https://scriptdev2.svn.sourceforge.net/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "ScriptMgr.h"
    #include "ScriptedGossip.h"
    #include "ulduar.h"
    #include "InstanceScript.h"
    
    /*
    The teleporter appears to be active and stable.
    
    - Expedition Base Camp
    - Formation Grounds
    - Colossal Forge
    - Scrapyard
    - Antechamber of Ulduar
    - Shattered Walkway
    - Conservatory of Life
    */
    
    enum UlduarTeleporter
    {
        BASE_CAMP                                    = 200,
        GROUNDS                                      = 201,
        FORGE                                        = 202,
        SCRAPYARD                                    = 203,
        ANTECHAMBER                                  = 204,
        WALKWAY                                      = 205,
        CONSERVATORY                                 = 206,
    };
    
    class ulduar_teleporter : public GameObjectScript
    {
        public:
            ulduar_teleporter() : GameObjectScript("ulduar_teleporter") { }
    
            bool OnGossipSelect(Player* player, GameObject* /*gameObject*/, uint32 sender, uint32 action)
            {
                player->PlayerTalkClass->ClearMenus();
                if (sender != GOSSIP_SENDER_MAIN)
                    return false;
                if (!player->getAttackers().empty())
                    return false;
    
                switch (action)
                {
                    case BASE_CAMP:
                        player->TeleportTo(603, -706.122f, -92.6024f, 429.876f, 0.0f);
                        player->CLOSE_GOSSIP_MENU();
                        break;
                    case GROUNDS:
                        player->TeleportTo(603, 131.248f, -35.3802f, 409.804f, 0.0f);
                        player->CLOSE_GOSSIP_MENU();
                        break;
                    case FORGE:
                        player->TeleportTo(603, 553.233f, -12.3247f, 409.679f, 0.0f);
                        player->CLOSE_GOSSIP_MENU();
                        break;
                    case SCRAPYARD:
                        player->TeleportTo(603, 926.292f, -11.4635f, 418.595f, 0.0f);
                        player->CLOSE_GOSSIP_MENU();
                        break;
                    case ANTECHAMBER:
                        player->TeleportTo(603, 1498.09f, -24.246f, 420.967f, 0.0f);
                        player->CLOSE_GOSSIP_MENU();
                        break;
                    case WALKWAY:
                        player->TeleportTo(603, 1859.45f, -24.1f, 448.9f, 0.0f);
                        player->CLOSE_GOSSIP_MENU();
                        break;
                    case CONSERVATORY:
                        player->TeleportTo(603, 2086.27f, -24.3134f, 421.239f, 0.0f);
                        player->CLOSE_GOSSIP_MENU();
                        break;
                }
    
                return true;
            }
    
            bool OnGossipHello(Player* player, GameObject* gameObject)
            {
                player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Teleport to the Expedition Base Camp", GOSSIP_SENDER_MAIN, BASE_CAMP);
                if (InstanceScript* instance = gameObject->GetInstanceScript())
                {
                    if (instance->GetData(DATA_COLOSSUS) == 2) //count of 2 collossus death
                        player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Teleport to the Formation Grounds", GOSSIP_SENDER_MAIN, GROUNDS);
                    if (instance->GetBossState(BOSS_LEVIATHAN) == DONE)
                        player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Teleport to the Colossal Forge", GOSSIP_SENDER_MAIN, FORGE);
                    if (instance->GetBossState(BOSS_XT002) == DONE)
                    {
                        player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Teleport to the Scrapyard", GOSSIP_SENDER_MAIN, SCRAPYARD);
                        player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Teleport to the Antechamber of Ulduar", GOSSIP_SENDER_MAIN, ANTECHAMBER);
                    }
                    if (instance->GetBossState(BOSS_KOLOGARN) == DONE)
                        player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Teleport to the Shattered Walkway", GOSSIP_SENDER_MAIN, WALKWAY);
                    if (instance->GetBossState(BOSS_AURIAYA) == DONE)
                        player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, "Teleport to the Conservatory of Life", GOSSIP_SENDER_MAIN, CONSERVATORY);
                }
    
                player->SEND_GOSSIP_MENU(gameObject->GetGOInfo()->GetGossipMenuId(), gameObject->GetGUID());
                return true;
            }
    };
    
    void AddSC_ulduar_teleporter()
    {
        new ulduar_teleporter();
    }



    Status : Idem sama SWP, smoga bisa smoga lancar, jadi bisa hunting equip2 Transmog >.<

    maaf kalau gagal, g kepake atau buggy, namanya juga Noob, cuma bisa copas, bukan real scripter hahah
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  6. #35
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL]Conquest Point Set Vendor

    Description : Fix untuk NPC Conquest Point yg g jual Conquest Point Set

    Reference : here

    Code :

    Spoiler untuk SQL :

    Code:
    REPLACE INTO `creature_template` VALUES ('99223', '0', '0', '0', '0', '0', '12917', '14612', '0', '0', 'Justa Vendor', 'Conquest Quartermaster', null, '0', '88', '88', '3', '0', '35', '35', '128', '1', '1.14286', '1', '3', '0', '0', '0', '0', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '', '0', '3', '1', '1', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '', '1');
    DELETE FROM npc_vendor WHERE entry = 99223;
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73618,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73620,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73617,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73616,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73619,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73598,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73596,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73597,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73599,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73595,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73614,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73612,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73613,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73615,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73611,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73606,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73604,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73605,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73607,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73603,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73582,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73584,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73581,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73580,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73583,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73575,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73573,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73574,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73572,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73576,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73558,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73560,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73557,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73559,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73556,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73569,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73571,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73568,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73567,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73570,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73548,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73546,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73547,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73545,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73549,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73543,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73541,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73542,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73540,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73544,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73525,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73527,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73524,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73523,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73526,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73504,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73506,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73503,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73502,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73505,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73510,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73512,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73509,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73508,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73511,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73515,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73517,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73514,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73513,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73516,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73486,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73484,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73485,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73483,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73487,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73480,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73482,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73479,3170);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73478,3169);
    INSERT INTO npc_vendor (entry,item,ExtendedCost) VALUES (99223,73481,3169);
    DELETE FROM creature WHERE id = 99223;
    INSERT INTO `creature` VALUES ('16037367', '99223', '1', '1', '3969', '0', '0', '1677.94', '-4178.42', '56.3149', '3.56896', '300', '0', '0', '61681', '0', '0', '0', '0', '0');
    INSERT INTO `creature` VALUES ('16037370', '99223', '0', '1', '3969', '0', '0', '-8781.21', '418.295', '105.232', '0.244691', '300', '0', '0', '61681', '0', '0', '0', '0', '0');


    Status : males ngetest >.<
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  7. #36
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL]All molten front vendors - mobs loot skining pickpockets etc fix

    Description : seperti yang tertulis di judul

    Reference : here

    Code :

    Spoiler untuk SQL :

    Code:
    REPLACE INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) VALUES
    (52822, 70107, 0, 0, 0),
    (52822, 70105, 0, 0, 0),
    (52822, 70106, 0, 0, 0),
    (52822, 70108, 0, 0, 0),
    (52822, 71088, 0, 0, 3412),
    (52822, 70145, 0, 0, 3412),
    (52822, 70146, 0, 0, 3412),
    (52822, 71087, 0, 0, 3412),
    (52822, 70147, 0, 0, 3412),
    (52822, 70148, 0, 0, 3412),
    (52822, 70149, 0, 0, 3412),
    (52822, 70150, 0, 0, 3412),
    (52822, 70151, 0, 0, 3412),
    (52822, 70152, 0, 0, 3412),
    (52822, 70153, 0, 0, 3412),
    (52822, 70154, 0, 0, 3412),
    (52822, 71631, 0, 0, 3412);
    
    REPLACE INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) VALUES
    (53214, 70117, 0, 0, 0),
    (53214, 70115, 0, 0, 0),
    (53214, 70114, 0, 0, 0),
    (53214, 70116, 0, 0, 0),
    (53214, 70119, 0, 0, 0),
    (53214, 70121, 0, 0, 0),
    (53214, 70144, 0, 0, 0),
    (53214, 70120, 0, 0, 0),
    (53214, 70118, 0, 0, 0),
    (53214, 70166, 0, 0, 0),
    (53214, 70169, 0, 0, 0),
    (53214, 70168, 0, 0, 0),
    (53214, 70172, 0, 0, 0),
    (53214, 70167, 0, 0, 0),
    (53214, 70170, 0, 0, 0),
    (53214, 70171, 0, 0, 0),
    (53214, 70173, 0, 0, 0),
    (53214, 71078, 0, 0, 0),
    (53214, 70177, 0, 0, 0);
    
    REPLACE INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) VALUES
    (53881, 70110, 0, 0, 0),
    (53881, 70112, 0, 0, 0),
    (53881, 70113, 0, 0, 0),
    (53881, 70142, 0, 0, 0),
    (53881, 70143, 0, 0, 0),
    (53881, 70160, 0, 0, 0),
    (53881, 70161, 0, 0, 0),
    (53881, 70176, 0, 0, 0),
    (53881, 70174, 0, 0, 0),
    (53881, 70175, 0, 0, 0);
    
    REPLACE INTO `npc_vendor` (`entry`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) VALUES
    (53882, 70122, 0, 0, 0),
    (53882, 70141, 0, 0, 0),
    (53882, 70123, 0, 0, 0),
    (53882, 70127, 0, 0, 0),
    (53882, 70126, 0, 0, 0),
    (53882, 70124, 0, 0, 0),
    (53882, 70140, 0, 0, 0),
    (53882, 70159, 0, 0, 0);
        --  http://www.wowhead.com/object=208423
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208423;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208423, 69214, -99.9977, 1, 0, 1, 1); -- 6Cinderweb Egg
    UPDATE `gameobject_template` SET `data1` = 208423 WHERE `entry` = 208423;
        --  http://www.wowhead.com/object=208540
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208540;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208540, 69725, -99.9991, 1, 0, 1, 1); -- 6Magmolia
    UPDATE `gameobject_template` SET `data1` = 208540 WHERE `entry` = 208540;
    
        --  http://www.wowhead.com/object=208545
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208545;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208545, 60485, 57.3991, 1, 0, 1, 1), -- 7Crackling Crystals
    (208545, 60486, 15.0972, 1, 0, 1, 1), -- 7Shimmering Shards
    (208545, 71375, 11.9581, 1, 0, 1, 1), -- 7Red Ash
    (208545, 69722, -8.3707, 1, 0, 1, 1), -- 6Embergris
    (208545, 60576, 7.4738, 1, 0, 1, 1), -- 7Rending Fang
    (208545, 52325, 4.7833, 1, 0, 1, 1), -- 6Volatile Fire
    (208545, 62518, 3.7369, 1, 0, 1, 1), -- 7Cracked Stone Shard
    (208545, 60577, 1.6442, 1, 0, 1, 1), -- 7Fire-Scorched Claw
    (208545, 62519, 1.3453, 1, 0, 1, 1), -- 7Keening Stone
    (208545, 52506, -1.0463, 1, 0, 1, 1), -- 6Elemental Goo
    (208545, 58264, 0.5979, 1, 0, 1, 1), -- 6Sour Green Apple
    (208545, 58256, 0.4484, 1, 0, 1, 1), -- 6Sparkling Oasis Water
    (208545, 62067, 0.2990, 1, 0, 1, 1), -- 7Flamewashed Mace
    (208545, 71376, 0.2990, 1, 0, 1, 1), -- 7Lava Ruby
    (208545, 62077, 0.2990, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (208545, 55638, 0.1495, 1, 0, 1, 1), -- 5Haldarr Bindings
    (208545, 62126, 0.1495, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (208545, 62071, 0.1495, 1, 0, 1, 1), -- 7Corroded Blade
    (208545, 62102, 0.1495, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (208545, 62095, 0.1495, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (208545, 62103, 0.1495, 1, 0, 1, 1), -- 7Pockmarked Hat
    (208545, 62070, 0.1495, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (208545, 62112, 0.1495, 1, 0, 1, 1), -- 7Singed Pants
    (208545, 62133, 0.1495, 1, 0, 1, 1); -- 7Sodden Cloth Hat
    UPDATE `gameobject_template` SET `data1` = 208545 WHERE `entry` = 208545;
        --  http://www.wowhead.com/object=208551
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208551;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208551, 69765, -100, 1, 0, 1, 1); -- 6Lucifern
    UPDATE `gameobject_template` SET `data1` = 208551 WHERE `entry` = 208551;
    
        --  http://www.wowhead.com/object=208576
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208576;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208576, 69807, -99.9976, 1, 0, 1, 1); -- 6Obsidium Meteorite
    UPDATE `gameobject_template` SET `data1` = 208576 WHERE `entry` = 208576;
        --  http://www.wowhead.com/object=208588
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208588;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208588, 69810, -100, 1, 0, 1, 1); -- 6Flame Druid Staff
    UPDATE `gameobject_template` SET `data1` = 208588 WHERE `entry` = 208588;
    
        --  http://www.wowhead.com/object=208589
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208589;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208589, 69811, -100, 1, 0, 1, 1); -- 6Flame Druid Spellbook
    UPDATE `gameobject_template` SET `data1` = 208589 WHERE `entry` = 208589;
        --  http://www.wowhead.com/object=208592
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208592;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208592, 69812, -100, 1, 0, 1, 1); -- 6Flame Druid Reagent Pouch
    UPDATE `gameobject_template` SET `data1` = 208592 WHERE `entry` = 208592;
    
        --  http://www.wowhead.com/object=208593
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208593;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208593, 69813, -100, 1, 0, 1, 1); -- 6Flame Druid Idol
    UPDATE `gameobject_template` SET `data1` = 208593 WHERE `entry` = 208593;
    
        --  http://www.wowhead.com/object=208630
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208630;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208630, 69836, -100, 1, 0, 1, 1); -- 6Fire Hawk Egg
    UPDATE `gameobject_template` SET `data1` = 208630 WHERE `entry` = 208630;
    
        --  http://www.wowhead.com/object=208802
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208802;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208802, 69860, -99.999, 1, 0, 1, 1); -- 6Living Obsidium Chip
    UPDATE `gameobject_template` SET `data1` = 208802 WHERE `entry` = 208802;
        --  http://www.wowhead.com/object=208997
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208997;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208997, 70927, 100.0000, 1, 0, 1, 1); -- 6Eternal Sunfruit
    UPDATE `gameobject_template` SET `data1` = 208997 WHERE `entry` = 208997;
    
        --  http://www.wowhead.com/object=208999
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 208999;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (208999, 70925, 100.0000, 1, 0, 1, 1); -- 6Eternal Lunar Pear
    UPDATE `gameobject_template` SET `data1` = 208999 WHERE `entry` = 208999;
    
        --  http://www.wowhead.com/object=209000
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 209000;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (209000, 70926, 100.0000, 1, 0, 1, 1); -- 6Eternal Moonberry
    UPDATE `gameobject_template` SET `data1` = 209000 WHERE `entry` = 209000;
        --  http://www.wowhead.com/object=209002
    DELETE FROM `gameobject_loot_template` WHERE `entry` = 209002;
    INSERT INTO `gameobject_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (209002, 70924, 100.0000, 1, 0, 1, 1); -- 6Eternal Eye of Elune
    UPDATE `gameobject_template` SET `data1` = 209002 WHERE `entry` = 209002;
    
        --  http://www.wowhead.com/npc=50815
    DELETE FROM `creature_loot_template` WHERE `entry` = 50815;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (50815, 68055, 100.0000, 1, 0, 1, 1); -- 7Crystalline Tear of Loyalty
    UPDATE `creature_template` SET `lootid` = 50815 WHERE `entry` = 50815;
    
        --  http://www.wowhead.com/npc=50959
    DELETE FROM `creature_loot_template` WHERE `entry` = 50959;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (50959, 68055, 100.0000, 1, 0, 1, 1); -- 7Crystalline Tear of Loyalty
    UPDATE `creature_template` SET `lootid` = 50959 WHERE `entry` = 50959;
    
        --  http://www.wowhead.com/npc=52107
    DELETE FROM `creature_loot_template` WHERE `entry` = 52107;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52107, 60485, 80.7308, 1, 0, 1, 1), -- 7Crackling Crystals
    (52107, 60486, 19.0900, 1, 0, 1, 1), -- 7Shimmering Shards
    (52107, 52327, 14.1252, 1, 0, 1, 1), -- 6Volatile Earth
    (52107, 52506, -0.5055, 1, 0, 1, 1), -- 6Elemental Goo
    (52107, 68729, 0.1864, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52107, 62068, 0.0925, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52107, 62070, 0.0910, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52107, 62066, 0.0905, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52107, 62071, 0.0878, 1, 0, 1, 1), -- 7Corroded Blade
    (52107, 62065, 0.0868, 1, 0, 1, 1), -- 7Melted Cleaver
    (52107, 62064, 0.0851, 1, 0, 1, 1), -- 7Warped Greatsword
    (52107, 62072, 0.0775, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52107, 62069, 0.0745, 1, 0, 1, 1), -- 7Plugged Rifle
    (52107, 62063, 0.0735, 1, 0, 1, 1), -- 7Shattered War Mace
    (52107, 62067, 0.0725, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52107, 69860, -0.0507, 1, 0, 1, 1), -- 6Living Obsidium Chip
    (52107, 62082, 0.0435, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52107, 62101, 0.0430, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52107, 62098, 0.0423, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52107, 62094, 0.0420, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52107, 62113, 0.0406, 1, 0, 1, 1), -- 7Singed Gloves
    (52107, 55422, 0.0401, 1, 0, 1, 1), -- 5Thondroril Ring
    (52107, 62085, 0.0401, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52107, 62096, 0.0398, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52107, 62087, 0.0396, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52107, 62091, 0.0393, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52107, 62088, 0.0388, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52107, 62074, 0.0379, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52107, 62095, 0.0376, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52107, 62089, 0.0371, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52107, 62097, 0.0369, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52107, 62078, 0.0357, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52107, 62080, 0.0354, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52107, 62100, 0.0352, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52107, 62103, 0.0352, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52107, 55421, 0.0349, 1, 0, 1, 1), -- 5Mereldar Ring
    (52107, 67539, 0.0349, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52107, 62083, 0.0349, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52107, 62073, 0.0347, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52107, 62081, 0.0347, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52107, 62076, 0.0344, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52107, 62090, 0.0344, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52107, 62104, 0.0344, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52107, 62079, 0.0339, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52107, 55423, 0.0334, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52107, 62099, 0.0329, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52107, 62116, 0.0329, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52107, 62131, 0.0329, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52107, 62086, 0.0327, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52107, 62092, 0.0322, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52107, 62108, 0.0317, 1, 0, 1, 1), -- 7Singed Armor
    (52107, 62111, 0.0312, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52107, 62117, 0.0312, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52107, 62130, 0.0307, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52107, 62075, 0.0298, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52107, 62084, 0.0298, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52107, 62077, 0.0293, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52107, 62115, 0.0293, 1, 0, 1, 1), -- 7Singed Boots
    (52107, 62107, 0.0288, 1, 0, 1, 1), -- 7Singed Belt
    (52107, 55484, 0.0278, 1, 0, 1, 1), -- 5Mereldar Wand
    (52107, 62102, 0.0278, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52107, 62122, 0.0278, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52107, 62093, 0.0273, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52107, 62124, 0.0268, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52107, 62114, 0.0263, 1, 0, 1, 1), -- 7Singed Bracers
    (52107, 62110, 0.0261, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52107, 62127, 0.0258, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52107, 62121, 0.0256, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52107, 62126, 0.0256, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52107, 55441, 0.0253, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52107, 62112, 0.0248, 1, 0, 1, 1), -- 7Singed Pants
    (52107, 62125, 0.0248, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52107, 62128, 0.0248, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52107, 62109, 0.0239, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52107, 62134, 0.0239, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52107, 62129, 0.0231, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52107, 62105, 0.0226, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52107, 55439, 0.0224, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52107, 55440, 0.0221, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52107, 62106, 0.0221, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52107, 62120, 0.0219, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52107, 62135, 0.0209, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52107, 55765, 0.0207, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52107, 62118, 0.0204, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52107, 62119, 0.0204, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52107, 62133, 0.0204, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52107, 62136, 0.0202, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52107, 62132, 0.0199, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52107, 55774, 0.0194, 1, 0, 1, 1), -- 5Bluefen Cord
    (52107, 62123, 0.0192, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52107, 55485, 0.0187, 1, 0, 1, 1), -- 5Thondroril Wand
    (52107, 55404, 0.0179, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52107, 55737, 0.0179, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52107, 55756, 0.0179, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52107, 55403, 0.0177, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52107, 55729, 0.0177, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52107, 55691, 0.0175, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52107, 55711, 0.0175, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52107, 55754, 0.0172, 1, 0, 1, 1), -- 5Everstill Leggings
    (52107, 55738, 0.0170, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52107, 55720, 0.0167, 1, 0, 1, 1), -- 5Bluefen Robe
    (52107, 55709, 0.0165, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52107, 55736, 0.0165, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52107, 55763, 0.0165, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52107, 55502, 0.0162, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52107, 55693, 0.0160, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52107, 55718, 0.0155, 1, 0, 1, 1), -- 5Everstill Robe
    (52107, 55565, 0.0152, 1, 0, 1, 1), -- 5Highperch Bracers
    (52107, 55773, 0.0148, 1, 0, 1, 1), -- 5Mystral Cord
    (52107, 55700, 0.0145, 1, 0, 1, 1), -- 5Dandred Waistband
    (52107, 55486, 0.0145, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52107, 55531, 0.0145, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52107, 55494, 0.0143, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52107, 55746, 0.0143, 1, 0, 1, 1), -- 5Mystral Cowl
    (52107, 55675, 0.0143, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52107, 55628, 0.0140, 1, 0, 1, 1), -- 5Highperch Belt
    (52107, 55647, 0.0140, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52107, 55710, 0.0140, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52107, 55764, 0.0140, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52107, 55529, 0.0138, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52107, 55547, 0.0138, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52107, 55619, 0.0138, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52107, 55772, 0.0138, 1, 0, 1, 1), -- 5Everstill Cord
    (52107, 55755, 0.0138, 1, 0, 1, 1), -- 5Mystral Leggings
    (52107, 55621, 0.0138, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52107, 55702, 0.0138, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52107, 55557, 0.0135, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52107, 55405, 0.0135, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52107, 55520, 0.0133, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52107, 55601, 0.0133, 1, 0, 1, 1), -- 5Highperch Helm
    (52107, 55521, 0.0133, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52107, 55575, 0.0133, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52107, 55611, 0.0133, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52107, 55728, 0.0133, 1, 0, 1, 1), -- 5Mystral Sandals
    (52107, 55747, 0.0133, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52107, 55566, 0.0130, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52107, 55530, 0.0128, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52107, 55540, 0.0128, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52107, 55637, 0.0125, 1, 0, 1, 1), -- 5Dandred Bindings
    (52107, 55638, 0.0125, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52107, 55567, 0.0125, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52107, 55594, 0.0125, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52107, 55655, 0.0123, 1, 0, 1, 1), -- 5Dandred Boots
    (52107, 55745, 0.0123, 1, 0, 1, 1), -- 5Everstill Cowl
    (52107, 55692, 0.0123, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52107, 55513, 0.0123, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52107, 55664, 0.0120, 1, 0, 1, 1), -- 5Dandred Gloves
    (52107, 55512, 0.0120, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52107, 65897, 0.0118, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52107, 55727, 0.0118, 1, 0, 1, 1), -- 5Everstill Sandals
    (52107, 55377, 0.0118, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52107, 55701, 0.0118, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52107, 55648, 0.0118, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52107, 55584, 0.0116, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52107, 55683, 0.0116, 1, 0, 1, 1), -- 5Haldarr Britches
    (52107, 55603, 0.0116, 1, 0, 1, 1), -- 5Talondeep Helm
    (52107, 55538, 0.0113, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52107, 55503, 0.0113, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52107, 55548, 0.0113, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52107, 55656, 0.0113, 1, 0, 1, 1), -- 5Haldarr Boots
    (52107, 55369, 0.0111, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52107, 55602, 0.0108, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52107, 55314, 0.0106, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52107, 55665, 0.0106, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52107, 55646, 0.0103, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52107, 55539, 0.0103, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52107, 55630, 0.0103, 1, 0, 1, 1), -- 5Talondeep Belt
    (52107, 55610, 0.0101, 1, 0, 1, 1), -- 5Highperch Legguards
    (52107, 55620, 0.0101, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52107, 55522, 0.0101, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52107, 55576, 0.0101, 1, 0, 1, 1), -- 5Talondeep Vest
    (52107, 55367, 0.0098, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52107, 55493, 0.0098, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52107, 55593, 0.0098, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52107, 55719, 0.0098, 1, 0, 1, 1), -- 5Mystral Robe
    (52107, 55585, 0.0098, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52107, 55639, 0.0098, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52107, 65895, 0.0093, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52107, 55556, 0.0093, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52107, 55583, 0.0093, 1, 0, 1, 1), -- 5Highperch Greaves
    (52107, 55673, 0.0093, 1, 0, 1, 1), -- 5Dandred Hood
    (52107, 55495, 0.0093, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52107, 55549, 0.0093, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52107, 55612, 0.0093, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52107, 55657, 0.0093, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52107, 55511, 0.0089, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52107, 55368, 0.0089, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52107, 55386, 0.0089, 1, 0, 1, 1), -- 5Bladefist Mace
    (52107, 55315, 0.0089, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52107, 55558, 0.0089, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52107, 55682, 0.0086, 1, 0, 1, 1), -- 5Dandred Britches
    (52107, 55458, 0.0086, 1, 0, 1, 1), -- 5Bladefist Sword
    (52107, 55666, 0.0086, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52107, 55385, 0.0084, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52107, 55592, 0.0084, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52107, 55432, 0.0084, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52107, 55504, 0.0084, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52107, 55340, 0.0081, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52107, 55378, 0.0081, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52107, 55387, 0.0081, 1, 0, 1, 1), -- 5Irontree Mace
    (52107, 55629, 0.0079, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52107, 55430, 0.0076, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52107, 55333, 0.0074, 1, 0, 1, 1), -- 5Irontree Dagger
    (52107, 55331, 0.0071, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52107, 55674, 0.0071, 1, 0, 1, 1), -- 5Haldarr Hood
    (52107, 55351, 0.0071, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52107, 55459, 0.0071, 1, 0, 1, 1), -- 5Irontree Sword
    (52107, 55684, 0.0071, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52107, 55450, 0.0069, 1, 0, 1, 1), -- 5Irontree Staff
    (52107, 65896, 0.0066, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52107, 55376, 0.0064, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52107, 55574, 0.0064, 1, 0, 1, 1), -- 5Highperch Vest
    (52107, 55431, 0.0064, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52107, 55467, 0.0061, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52107, 55297, 0.0061, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52107, 55457, 0.0059, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52107, 55350, 0.0059, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52107, 55349, 0.0057, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52107, 55313, 0.0054, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52107, 55287, 0.0054, 1, 0, 1, 1), -- 5Bladefist Axe
    (52107, 55288, 0.0054, 1, 0, 1, 1), -- 5Irontree Axe
    (52107, 55412, 0.0052, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52107, 55341, 0.0052, 1, 0, 1, 1), -- 5Bladefist Staff
    (52107, 55286, 0.0049, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52107, 55332, 0.0049, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52107, 55295, 0.0047, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52107, 55449, 0.0047, 1, 0, 1, 1), -- 5Bladefist Staff
    (52107, 55296, 0.0042, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52107, 55395, 0.0042, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52107, 68783, 0.0037, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52107, 68787, 0.0037, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (52107, 65894, 0.0037, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52107, 52365, 0.0037, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52107, 55414, 0.0037, 1, 0, 1, 1), -- 5Irontree Spear
    (52107, 66975, 0.0034, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (52107, 52368, 0.0034, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (52107, 52372, 0.0034, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52107, 55394, 0.0034, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (52107, 55466, 0.0034, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52107, 55342, 0.0034, 1, 0, 1, 1), -- 5Irontree Staff
    (52107, 66969, 0.0032, 1, 0, 1, 1), -- 4Heart of the Vile
    (52107, 55413, 0.0032, 1, 0, 1, 1), -- 5Bladefist Spear
    (52107, 55396, 0.0032, 1, 0, 1, 1), -- 5Irontree Hammer
    (52107, 55448, 0.0030, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52107, 55360, 0.0030, 1, 0, 1, 1), -- 5Irontree Gun
    (52107, 52373, 0.0027, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (52107, 52385, 0.0027, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52107, 67061, 0.0025, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (52107, 66941, 0.0025, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (52107, 52197, 0.0025, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52107, 52364, 0.0025, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (52107, 52370, 0.0025, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52107, 52383, 0.0025, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (52107, 66970, 0.0022, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (52107, 66942, 0.0022, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (52107, 66992, 0.0022, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (52107, 67125, 0.0022, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (52107, 52379, 0.0022, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52107, 68782, 0.0020, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (52107, 66989, 0.0020, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (52107, 67071, 0.0020, 1, 0, 1, 1), -- 4Staff of Old Woes
    (52107, 52363, 0.0020, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52107, 52388, 0.0020, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52107, 68781, 0.0017, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52107, 68788, 0.0017, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52107, 67119, 0.0017, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (52107, 67120, 0.0017, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (52107, 66994, 0.0017, 1, 0, 1, 1), -- 4Soul's Anguish
    (52107, 67127, 0.0017, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (52107, 52367, 0.0017, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52107, 52374, 0.0017, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (52107, 52382, 0.0017, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52107, 55468, 0.0017, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52107, 67135, 0.0015, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (52107, 66990, 0.0015, 1, 0, 1, 1), -- 4Downfall Hammer
    (52107, 66991, 0.0015, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (52107, 67057, 0.0015, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (52107, 67122, 0.0015, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (52107, 67123, 0.0015, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (52107, 67126, 0.0015, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (52107, 52371, 0.0015, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52107, 69820, 0.0015, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52107, 55322, 0.0015, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (52107, 55323, 0.0015, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (52107, 67150, 0.0012, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (52107, 67121, 0.0012, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (52107, 66976, 0.0012, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (52107, 67067, 0.0012, 1, 0, 1, 1), -- 4Belt of Guardianship
    (52107, 52376, 0.0012, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52107, 55306, 0.0012, 1, 0, 1, 1), -- 5Irontree Bow
    (52107, 67129, 0.0010, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (52107, 67134, 0.0010, 1, 0, 1, 1), -- 3Dory's Finery
    (52107, 66940, 0.0010, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (52107, 66968, 0.0010, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (52107, 66973, 0.0010, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52107, 52377, 0.0010, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (52107, 52378, 0.0010, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52107, 55304, 0.0010, 1, 0, 1, 1), -- 5Mardenholde Bow
    (52107, 67130, 0.0007, 1, 0, 1, 1), -- 3Dorian's Lost Necklace
    (52107, 67139, 0.0007, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (52107, 66932, 0.0007, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (52107, 66971, 0.0007, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (52107, 66972, 0.0007, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52107, 66974, 0.0007, 1, 0, 1, 1), -- 4Nightrend Choker
    (52107, 67069, 0.0007, 1, 0, 1, 1), -- 4Shade of Death
    (52107, 52375, 0.0007, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52107, 55324, 0.0007, 1, 0, 1, 1), -- 5Irontree Crossbow
    (52107, 67133, 0.0005, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (52107, 67141, 0.0005, 1, 0, 1, 1), -- 3Corefire Legplates
    (52107, 67143, 0.0005, 1, 0, 1, 1), -- 3Icebone Hauberk
    (52107, 67146, 0.0005, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (52107, 68789, 0.0005, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (52107, 66931, 0.0005, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52107, 52366, 0.0005, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52107, 52369, 0.0005, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (52107, 55358, 0.0005, 1, 0, 1, 1), -- 5Mardenholde Gun
    (52107, 55305, 0.0005, 1, 0, 1, 1), -- 5Bladefist Bow
    (52107, 55359, 0.0005, 1, 0, 1, 1), -- 5Bladefist Gun
    (52107, 67132, 0.0002, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (52107, 67136, 0.0002, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (52107, 67140, 0.0002, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (52107, 67142, 0.0002, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (52107, 67149, 0.0002, 1, 0, 1, 1), -- 3Heartbound Tome
    (52107, 67124, 0.0002, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52107, 52386, 0.0002, 1, 0, 1, 1); -- 5Design: Lightning Jasper
    UPDATE `creature_template` SET `lootid` = 52107 WHERE `entry` = 52107;
    
        --  http://www.wowhead.com/npc=52122
    DELETE FROM `creature_loot_template` WHERE `entry` = 52122;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52122, 53010, 27.2553, 1, 0, 1, 1), -- 6Embersilk Cloth
    (52122, 58264, 12.0717, 1, 0, 1, 1), -- 6Sour Green Apple
    (52122, 68198, 10.6969, 1, 0, 1, 1), -- 7Ruined Embersilk Scraps
    (52122, 58256, 6.7506, 1, 0, 1, 1), -- 6Sparkling Oasis Water
    (52122, 68197, 3.7617, 1, 0, 1, 1), -- 7Scavenged Animal Parts
    (52122, 68729, 0.2223, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52122, 62068, 0.1676, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52122, 62071, 0.1539, 1, 0, 1, 1), -- 7Corroded Blade
    (52122, 62063, 0.1436, 1, 0, 1, 1), -- 7Shattered War Mace
    (52122, 62064, 0.1300, 1, 0, 1, 1), -- 7Warped Greatsword
    (52122, 62070, 0.1163, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52122, 62066, 0.1129, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52122, 62065, 0.1026, 1, 0, 1, 1), -- 7Melted Cleaver
    (52122, 62069, 0.0992, 1, 0, 1, 1), -- 7Plugged Rifle
    (52122, 62079, 0.0889, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52122, 62072, 0.0855, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52122, 62085, 0.0752, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52122, 62095, 0.0752, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52122, 62089, 0.0684, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52122, 62099, 0.0684, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52122, 62098, 0.0650, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52122, 62086, 0.0616, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52122, 62115, 0.0616, 1, 0, 1, 1), -- 7Singed Boots
    (52122, 62096, 0.0581, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52122, 62081, 0.0547, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52122, 62101, 0.0547, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52122, 62128, 0.0547, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52122, 62074, 0.0513, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52122, 62076, 0.0513, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52122, 62090, 0.0513, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52122, 62091, 0.0513, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52122, 62103, 0.0513, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52122, 62067, 0.0513, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52122, 62118, 0.0513, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52122, 55756, 0.0479, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52122, 62077, 0.0479, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52122, 62087, 0.0479, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52122, 62107, 0.0479, 1, 0, 1, 1), -- 7Singed Belt
    (52122, 62127, 0.0479, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52122, 55439, 0.0445, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52122, 55603, 0.0445, 1, 0, 1, 1), -- 5Talondeep Helm
    (52122, 62083, 0.0445, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52122, 62092, 0.0445, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52122, 62119, 0.0445, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52122, 62122, 0.0445, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52122, 55421, 0.0410, 1, 0, 1, 1), -- 5Mereldar Ring
    (52122, 62075, 0.0410, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52122, 62105, 0.0410, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52122, 62109, 0.0410, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52122, 55664, 0.0376, 1, 0, 1, 1), -- 5Dandred Gloves
    (52122, 55404, 0.0376, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52122, 55494, 0.0376, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52122, 55719, 0.0376, 1, 0, 1, 1), -- 5Mystral Robe
    (52122, 55755, 0.0376, 1, 0, 1, 1), -- 5Mystral Leggings
    (52122, 67539, 0.0376, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52122, 62073, 0.0376, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52122, 62088, 0.0376, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52122, 62120, 0.0376, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52122, 62133, 0.0376, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52122, 62134, 0.0376, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52122, 55422, 0.0342, 1, 0, 1, 1), -- 5Thondroril Ring
    (52122, 55440, 0.0342, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52122, 55720, 0.0342, 1, 0, 1, 1), -- 5Bluefen Robe
    (52122, 62097, 0.0342, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52122, 62112, 0.0342, 1, 0, 1, 1), -- 7Singed Pants
    (52122, 62124, 0.0342, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52122, 55484, 0.0308, 1, 0, 1, 1), -- 5Mereldar Wand
    (52122, 55565, 0.0308, 1, 0, 1, 1), -- 5Highperch Bracers
    (52122, 55682, 0.0308, 1, 0, 1, 1), -- 5Dandred Britches
    (52122, 55764, 0.0308, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52122, 55423, 0.0308, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52122, 55450, 0.0308, 1, 0, 1, 1), -- 5Irontree Staff
    (52122, 55621, 0.0308, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52122, 55630, 0.0308, 1, 0, 1, 1), -- 5Talondeep Belt
    (52122, 62078, 0.0308, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52122, 62080, 0.0308, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52122, 62082, 0.0308, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52122, 62093, 0.0308, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52122, 62100, 0.0308, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52122, 62108, 0.0308, 1, 0, 1, 1), -- 7Singed Armor
    (52122, 62116, 0.0308, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52122, 62117, 0.0308, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52122, 55683, 0.0274, 1, 0, 1, 1), -- 5Haldarr Britches
    (52122, 55728, 0.0274, 1, 0, 1, 1), -- 5Mystral Sandals
    (52122, 55711, 0.0274, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52122, 55738, 0.0274, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52122, 62102, 0.0274, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52122, 62104, 0.0274, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52122, 62123, 0.0274, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52122, 55376, 0.0239, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52122, 55556, 0.0239, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52122, 55619, 0.0239, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52122, 55718, 0.0239, 1, 0, 1, 1), -- 5Everstill Robe
    (52122, 55736, 0.0239, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52122, 55772, 0.0239, 1, 0, 1, 1), -- 5Everstill Cord
    (52122, 55503, 0.0239, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52122, 55512, 0.0239, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52122, 55746, 0.0239, 1, 0, 1, 1), -- 5Mystral Cowl
    (52122, 55558, 0.0239, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52122, 55765, 0.0239, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52122, 62084, 0.0239, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52122, 62111, 0.0239, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52122, 62113, 0.0239, 1, 0, 1, 1), -- 7Singed Gloves
    (52122, 62121, 0.0239, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52122, 62126, 0.0239, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52122, 62129, 0.0239, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52122, 62131, 0.0239, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52122, 68788, 0.0205, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52122, 55547, 0.0205, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52122, 55583, 0.0205, 1, 0, 1, 1), -- 5Highperch Greaves
    (52122, 55377, 0.0205, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52122, 55431, 0.0205, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52122, 55674, 0.0205, 1, 0, 1, 1), -- 5Haldarr Hood
    (52122, 55432, 0.0205, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52122, 55684, 0.0205, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52122, 55693, 0.0205, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52122, 55774, 0.0205, 1, 0, 1, 1), -- 5Bluefen Cord
    (52122, 62106, 0.0205, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52122, 62114, 0.0205, 1, 0, 1, 1), -- 7Singed Bracers
    (52122, 62125, 0.0205, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52122, 67134, 0.0171, 1, 0, 1, 1), -- 3Dory's Finery
    (52122, 66931, 0.0171, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52122, 55367, 0.0171, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52122, 55403, 0.0171, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52122, 55493, 0.0171, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52122, 55601, 0.0171, 1, 0, 1, 1), -- 5Highperch Helm
    (52122, 55610, 0.0171, 1, 0, 1, 1), -- 5Highperch Legguards
    (52122, 55628, 0.0171, 1, 0, 1, 1), -- 5Highperch Belt
    (52122, 55314, 0.0171, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52122, 55521, 0.0171, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52122, 55584, 0.0171, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52122, 55737, 0.0171, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52122, 55531, 0.0171, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52122, 55612, 0.0171, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52122, 55666, 0.0171, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52122, 62094, 0.0171, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52122, 62110, 0.0171, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52122, 62130, 0.0171, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52122, 52197, 0.0137, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52122, 52365, 0.0137, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52122, 55340, 0.0137, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52122, 55637, 0.0137, 1, 0, 1, 1), -- 5Dandred Bindings
    (52122, 55655, 0.0137, 1, 0, 1, 1), -- 5Dandred Boots
    (52122, 55673, 0.0137, 1, 0, 1, 1), -- 5Dandred Hood
    (52122, 55700, 0.0137, 1, 0, 1, 1), -- 5Dandred Waistband
    (52122, 55745, 0.0137, 1, 0, 1, 1), -- 5Everstill Cowl
    (52122, 55539, 0.0137, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52122, 55629, 0.0137, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52122, 55692, 0.0137, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52122, 55710, 0.0137, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52122, 55342, 0.0137, 1, 0, 1, 1), -- 5Irontree Staff
    (52122, 55369, 0.0137, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52122, 55441, 0.0137, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52122, 55486, 0.0137, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52122, 55540, 0.0137, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52122, 55585, 0.0137, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52122, 55729, 0.0137, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52122, 62135, 0.0137, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52122, 62136, 0.0137, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52122, 66972, 0.0103, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52122, 67123, 0.0103, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (52122, 55385, 0.0103, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52122, 55529, 0.0103, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52122, 55709, 0.0103, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52122, 55287, 0.0103, 1, 0, 1, 1), -- 5Bladefist Axe
    (52122, 55341, 0.0103, 1, 0, 1, 1), -- 5Bladefist Staff
    (52122, 55485, 0.0103, 1, 0, 1, 1), -- 5Thondroril Wand
    (52122, 55530, 0.0103, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52122, 55638, 0.0103, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52122, 55701, 0.0103, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52122, 55315, 0.0103, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52122, 55333, 0.0103, 1, 0, 1, 1), -- 5Irontree Dagger
    (52122, 55405, 0.0103, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52122, 55495, 0.0103, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52122, 55513, 0.0103, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52122, 55576, 0.0103, 1, 0, 1, 1), -- 5Talondeep Vest
    (52122, 55639, 0.0103, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52122, 67145, 0.0068, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (52122, 68783, 0.0068, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52122, 66969, 0.0068, 1, 0, 1, 1), -- 4Heart of the Vile
    (52122, 66942, 0.0068, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (52122, 67124, 0.0068, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52122, 65894, 0.0068, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52122, 65896, 0.0068, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52122, 52371, 0.0068, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52122, 52373, 0.0068, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (52122, 52379, 0.0068, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52122, 52382, 0.0068, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52122, 55295, 0.0068, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52122, 55313, 0.0068, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52122, 55349, 0.0068, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52122, 55430, 0.0068, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52122, 55457, 0.0068, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52122, 55466, 0.0068, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52122, 55520, 0.0068, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52122, 55574, 0.0068, 1, 0, 1, 1), -- 5Highperch Vest
    (52122, 55592, 0.0068, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52122, 55646, 0.0068, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52122, 55691, 0.0068, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52122, 55727, 0.0068, 1, 0, 1, 1), -- 5Everstill Sandals
    (52122, 55754, 0.0068, 1, 0, 1, 1), -- 5Everstill Leggings
    (52122, 55763, 0.0068, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52122, 55305, 0.0068, 1, 0, 1, 1), -- 5Bladefist Bow
    (52122, 55350, 0.0068, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52122, 55386, 0.0068, 1, 0, 1, 1), -- 5Bladefist Mace
    (52122, 55458, 0.0068, 1, 0, 1, 1), -- 5Bladefist Sword
    (52122, 55467, 0.0068, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52122, 55548, 0.0068, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52122, 55566, 0.0068, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52122, 55593, 0.0068, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52122, 55602, 0.0068, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52122, 55611, 0.0068, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52122, 55647, 0.0068, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52122, 55665, 0.0068, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52122, 55773, 0.0068, 1, 0, 1, 1), -- 5Mystral Cord
    (52122, 55288, 0.0068, 1, 0, 1, 1), -- 5Irontree Axe
    (52122, 55378, 0.0068, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52122, 55387, 0.0068, 1, 0, 1, 1), -- 5Irontree Mace
    (52122, 55459, 0.0068, 1, 0, 1, 1), -- 5Irontree Sword
    (52122, 55468, 0.0068, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52122, 55504, 0.0068, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52122, 55522, 0.0068, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52122, 55549, 0.0068, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52122, 55567, 0.0068, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52122, 55675, 0.0068, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52122, 55747, 0.0068, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52122, 67136, 0.0034, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (52122, 67139, 0.0034, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (52122, 67150, 0.0034, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (52122, 68781, 0.0034, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52122, 66932, 0.0034, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (52122, 66970, 0.0034, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (52122, 66990, 0.0034, 1, 0, 1, 1), -- 4Downfall Hammer
    (52122, 67061, 0.0034, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (52122, 66973, 0.0034, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52122, 65897, 0.0034, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52122, 52370, 0.0034, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52122, 52372, 0.0034, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52122, 52388, 0.0034, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52122, 55331, 0.0034, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52122, 55394, 0.0034, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (52122, 55412, 0.0034, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52122, 55502, 0.0034, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52122, 55511, 0.0034, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52122, 55538, 0.0034, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52122, 55296, 0.0034, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52122, 55359, 0.0034, 1, 0, 1, 1), -- 5Bladefist Gun
    (52122, 55413, 0.0034, 1, 0, 1, 1), -- 5Bladefist Spear
    (52122, 55449, 0.0034, 1, 0, 1, 1), -- 5Bladefist Staff
    (52122, 55620, 0.0034, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52122, 55656, 0.0034, 1, 0, 1, 1), -- 5Haldarr Boots
    (52122, 55297, 0.0034, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52122, 55324, 0.0034, 1, 0, 1, 1), -- 5Irontree Crossbow
    (52122, 55351, 0.0034, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52122, 55414, 0.0034, 1, 0, 1, 1), -- 5Irontree Spear
    (52122, 55594, 0.0034, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52122, 55648, 0.0034, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52122, 55657, 0.0034, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52122, 55702, 0.0034, 1, 0, 1, 1); -- 5Ravenholdt Waistband
    UPDATE `creature_template` SET `lootid` = 52122 WHERE `entry` = 52122;
    
        --  http://www.wowhead.com/npc=52503
    DELETE FROM `creature_loot_template` WHERE `entry` = 52503;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52503, 60485, 79.8545, 1, 0, 1, 1), -- 7Crackling Crystals
    (52503, 60486, 19.3627, 1, 0, 1, 1), -- 7Shimmering Shards
    (52503, 52325, 14.1819, 1, 0, 1, 1), -- 6Volatile Fire
    (52503, 69722, -12.1567, 1, 0, 1, 1), -- 6Embergris
    (52503, 52506, -1.7154, 1, 0, 1, 1), -- 6Elemental Goo
    (52503, 62071, 0.0920, 1, 0, 1, 1), -- 7Corroded Blade
    (52503, 62068, 0.0878, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52503, 62066, 0.0873, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52503, 62072, 0.0870, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52503, 62063, 0.0860, 1, 0, 1, 1), -- 7Shattered War Mace
    (52503, 62069, 0.0844, 1, 0, 1, 1), -- 7Plugged Rifle
    (52503, 62065, 0.0825, 1, 0, 1, 1), -- 7Melted Cleaver
    (52503, 62064, 0.0814, 1, 0, 1, 1), -- 7Warped Greatsword
    (52503, 62070, 0.0797, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52503, 62067, 0.0772, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52503, 62093, 0.0422, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52503, 62088, 0.0408, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52503, 62081, 0.0402, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52503, 62086, 0.0394, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52503, 62090, 0.0389, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52503, 62073, 0.0387, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52503, 62080, 0.0386, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52503, 62102, 0.0386, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52503, 62087, 0.0382, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52503, 62094, 0.0379, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52503, 62103, 0.0378, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52503, 62083, 0.0370, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52503, 62092, 0.0368, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52503, 62074, 0.0365, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52503, 62097, 0.0364, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52503, 62078, 0.0363, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52503, 62091, 0.0363, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52503, 62098, 0.0362, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52503, 62079, 0.0358, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52503, 62082, 0.0355, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52503, 62077, 0.0352, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52503, 62104, 0.0346, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52503, 62096, 0.0345, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52503, 62100, 0.0341, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52503, 62095, 0.0334, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52503, 62089, 0.0332, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52503, 62075, 0.0330, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52503, 62084, 0.0330, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52503, 62085, 0.0326, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52503, 62101, 0.0326, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52503, 62076, 0.0319, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52503, 62131, 0.0311, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52503, 62108, 0.0308, 1, 0, 1, 1), -- 7Singed Armor
    (52503, 62099, 0.0306, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52503, 62124, 0.0296, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52503, 62110, 0.0282, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52503, 62132, 0.0282, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52503, 62111, 0.0282, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52503, 62119, 0.0282, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52503, 62117, 0.0281, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52503, 62118, 0.0281, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52503, 62114, 0.0278, 1, 0, 1, 1), -- 7Singed Bracers
    (52503, 62122, 0.0275, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52503, 62106, 0.0273, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52503, 62123, 0.0271, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52503, 62109, 0.0270, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52503, 62113, 0.0269, 1, 0, 1, 1), -- 7Singed Gloves
    (52503, 62115, 0.0269, 1, 0, 1, 1), -- 7Singed Boots
    (52503, 62121, 0.0268, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52503, 62105, 0.0267, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52503, 62112, 0.0266, 1, 0, 1, 1), -- 7Singed Pants
    (52503, 62120, 0.0266, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52503, 62107, 0.0264, 1, 0, 1, 1), -- 7Singed Belt
    (52503, 62127, 0.0264, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52503, 62126, 0.0258, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52503, 62125, 0.0256, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52503, 62128, 0.0253, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52503, 62135, 0.0253, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52503, 62130, 0.0248, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52503, 62133, 0.0248, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52503, 62134, 0.0244, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52503, 62136, 0.0240, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52503, 62116, 0.0239, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52503, 62129, 0.0233, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52503, 67539, 0.0214, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52503, 65896, 0.0078, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52503, 65897, 0.0056, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52503, 65894, 0.0055, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52503, 52197, 0.0051, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52503, 65895, 0.0044, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52503, 52371, 0.0026, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52503, 52364, 0.0025, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (52503, 52370, 0.0025, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52503, 52385, 0.0025, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52503, 52382, 0.0023, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52503, 52369, 0.0022, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (52503, 52379, 0.0022, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52503, 52374, 0.0021, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (52503, 52363, 0.0021, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52503, 52367, 0.0021, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52503, 52375, 0.0021, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52503, 52376, 0.0021, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52503, 68782, 0.0019, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (52503, 68789, 0.0019, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (52503, 52372, 0.0017, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52503, 68781, 0.0015, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52503, 68787, 0.0015, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (52503, 52366, 0.0015, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52503, 52368, 0.0015, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (52503, 52386, 0.0015, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52503, 52377, 0.0014, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (52503, 52373, 0.0012, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (52503, 69820, 0.0012, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52503, 68788, 0.0011, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52503, 52388, 0.0011, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52503, 68783, 0.0011, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52503, 52378, 0.0011, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52503, 52365, 0.0009, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52503, 52383, 0.0009, 1, 0, 1, 1); -- 5Design: Steady Jasper
    UPDATE `creature_template` SET `lootid` = 52503 WHERE `entry` = 52503;
    
        --  http://www.wowhead.com/npc=52504
    DELETE FROM `creature_loot_template` WHERE `entry` = 52504;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52504, 60485, 79.7261, 1, 0, 1, 1), -- 7Crackling Crystals
    (52504, 60486, 19.6943, 1, 0, 1, 1), -- 7Shimmering Shards
    (52504, 69722, -12.8304, 1, 0, 1, 1), -- 6Embergris
    (52504, 52325, 0.0018, 1, 0, 1, 1), -- 6Volatile Fire
    (52504, 65895, 0.0000, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52504, 65896, 0.0000, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52504, 52506, 0, 1, 0, 1, 1), -- 6Elemental Goo
    (52504, 62083, 0.0000, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52504, 62090, 0.0000, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52504, 62104, 0.0000, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52504, 62066, 0.0000, 1, 0, 1, 1); -- 7Wolk's Blunted Shiv
    UPDATE `creature_template` SET `lootid` = 52504 WHERE `entry` = 52504;
    
        --  http://www.wowhead.com/npc=52552
    DELETE FROM `creature_loot_template` WHERE `entry` = 52552;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52552, 62518, 80.5316, 1, 0, 1, 1), -- 7Cracked Stone Shard
    (52552, 62519, 19.3840, 1, 0, 1, 1), -- 7Keening Stone
    (52552, 68729, 0.1707, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52552, 62071, 0.0950, 1, 0, 1, 1), -- 7Corroded Blade
    (52552, 62066, 0.0894, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52552, 62064, 0.0864, 1, 0, 1, 1), -- 7Warped Greatsword
    (52552, 62072, 0.0860, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52552, 62068, 0.0854, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52552, 62065, 0.0820, 1, 0, 1, 1), -- 7Melted Cleaver
    (52552, 62070, 0.0820, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52552, 62067, 0.0807, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52552, 62069, 0.0784, 1, 0, 1, 1), -- 7Plugged Rifle
    (52552, 62063, 0.0717, 1, 0, 1, 1), -- 7Shattered War Mace
    (52552, 60486, 0.0708, 1, 0, 1, 1), -- 7Shimmering Shards
    (52552, 62101, 0.0472, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52552, 62075, 0.0462, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52552, 62086, 0.0442, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52552, 62100, 0.0442, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52552, 62076, 0.0435, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52552, 62083, 0.0432, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52552, 62096, 0.0412, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52552, 62087, 0.0399, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52552, 62078, 0.0385, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52552, 62093, 0.0385, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52552, 62103, 0.0385, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52552, 62085, 0.0375, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52552, 62098, 0.0375, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52552, 62088, 0.0369, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52552, 62089, 0.0369, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52552, 62081, 0.0365, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52552, 55422, 0.0359, 1, 0, 1, 1), -- 5Thondroril Ring
    (52552, 62074, 0.0345, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52552, 62084, 0.0342, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52552, 62090, 0.0342, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52552, 62126, 0.0342, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52552, 62091, 0.0339, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52552, 62102, 0.0339, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52552, 62095, 0.0335, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52552, 62127, 0.0332, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52552, 62113, 0.0329, 1, 0, 1, 1), -- 7Singed Gloves
    (52552, 62077, 0.0326, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52552, 62092, 0.0322, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52552, 62097, 0.0322, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52552, 62079, 0.0312, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52552, 62080, 0.0312, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52552, 62082, 0.0312, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52552, 62107, 0.0312, 1, 0, 1, 1), -- 7Singed Belt
    (52552, 55421, 0.0309, 1, 0, 1, 1), -- 5Mereldar Ring
    (52552, 55423, 0.0309, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52552, 62094, 0.0306, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52552, 62099, 0.0302, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52552, 62104, 0.0299, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52552, 62112, 0.0296, 1, 0, 1, 1), -- 7Singed Pants
    (52552, 62129, 0.0296, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52552, 62136, 0.0292, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52552, 62123, 0.0286, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52552, 62124, 0.0282, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52552, 62132, 0.0279, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52552, 62117, 0.0269, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52552, 62125, 0.0269, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52552, 62116, 0.0266, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52552, 62111, 0.0262, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52552, 62114, 0.0262, 1, 0, 1, 1), -- 7Singed Bracers
    (52552, 62121, 0.0259, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52552, 62131, 0.0259, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52552, 62109, 0.0256, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52552, 62115, 0.0256, 1, 0, 1, 1), -- 7Singed Boots
    (52552, 62133, 0.0256, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52552, 62073, 0.0252, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52552, 62119, 0.0252, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52552, 55404, 0.0249, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52552, 62128, 0.0249, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52552, 62105, 0.0239, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52552, 55773, 0.0236, 1, 0, 1, 1), -- 5Mystral Cord
    (52552, 55441, 0.0236, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52552, 62108, 0.0236, 1, 0, 1, 1), -- 7Singed Armor
    (52552, 62118, 0.0236, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52552, 62135, 0.0233, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52552, 55495, 0.0229, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52552, 62106, 0.0229, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52552, 55439, 0.0223, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52552, 62120, 0.0223, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52552, 62110, 0.0219, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52552, 62122, 0.0219, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52552, 55403, 0.0213, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52552, 55737, 0.0213, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52552, 55755, 0.0213, 1, 0, 1, 1), -- 5Mystral Leggings
    (52552, 55485, 0.0203, 1, 0, 1, 1), -- 5Thondroril Wand
    (52552, 62134, 0.0203, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52552, 55484, 0.0199, 1, 0, 1, 1), -- 5Mereldar Wand
    (52552, 55710, 0.0199, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52552, 55719, 0.0199, 1, 0, 1, 1), -- 5Mystral Robe
    (52552, 67539, 0.0199, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52552, 62130, 0.0196, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52552, 55765, 0.0186, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52552, 55440, 0.0183, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52552, 55746, 0.0179, 1, 0, 1, 1), -- 5Mystral Cowl
    (52552, 55763, 0.0176, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52552, 55711, 0.0176, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52552, 55718, 0.0169, 1, 0, 1, 1), -- 5Everstill Robe
    (52552, 55486, 0.0166, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52552, 55592, 0.0163, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52552, 55772, 0.0159, 1, 0, 1, 1), -- 5Everstill Cord
    (52552, 55584, 0.0156, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52552, 55405, 0.0156, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52552, 55738, 0.0149, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52552, 55313, 0.0146, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52552, 55601, 0.0146, 1, 0, 1, 1), -- 5Highperch Helm
    (52552, 55764, 0.0146, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52552, 55594, 0.0143, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52552, 55565, 0.0140, 1, 0, 1, 1), -- 5Highperch Bracers
    (52552, 55646, 0.0140, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52552, 55727, 0.0140, 1, 0, 1, 1), -- 5Everstill Sandals
    (52552, 55736, 0.0140, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52552, 55754, 0.0140, 1, 0, 1, 1), -- 5Everstill Leggings
    (52552, 55530, 0.0140, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52552, 55729, 0.0140, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52552, 55630, 0.0136, 1, 0, 1, 1), -- 5Talondeep Belt
    (52552, 55648, 0.0136, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52552, 55709, 0.0133, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52552, 55522, 0.0133, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52552, 55747, 0.0133, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52552, 55575, 0.0130, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52552, 55620, 0.0130, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52552, 55684, 0.0130, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52552, 55611, 0.0126, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52552, 55728, 0.0126, 1, 0, 1, 1), -- 5Mystral Sandals
    (52552, 55638, 0.0123, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52552, 55647, 0.0123, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52552, 55513, 0.0123, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52552, 55377, 0.0120, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52552, 55503, 0.0120, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52552, 55521, 0.0120, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52552, 55593, 0.0120, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52552, 55756, 0.0120, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52552, 55529, 0.0116, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52552, 55637, 0.0116, 1, 0, 1, 1), -- 5Dandred Bindings
    (52552, 55603, 0.0116, 1, 0, 1, 1), -- 5Talondeep Helm
    (52552, 55612, 0.0116, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52552, 55664, 0.0113, 1, 0, 1, 1), -- 5Dandred Gloves
    (52552, 55745, 0.0113, 1, 0, 1, 1), -- 5Everstill Cowl
    (52552, 55314, 0.0113, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52552, 55538, 0.0110, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52552, 55512, 0.0110, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52552, 55557, 0.0110, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52552, 55602, 0.0110, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52552, 55656, 0.0110, 1, 0, 1, 1), -- 5Haldarr Boots
    (52552, 55674, 0.0110, 1, 0, 1, 1), -- 5Haldarr Hood
    (52552, 55683, 0.0110, 1, 0, 1, 1), -- 5Haldarr Britches
    (52552, 55549, 0.0110, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52552, 55585, 0.0110, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52552, 55774, 0.0110, 1, 0, 1, 1), -- 5Bluefen Cord
    (52552, 55700, 0.0106, 1, 0, 1, 1), -- 5Dandred Waistband
    (52552, 55566, 0.0106, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52552, 55333, 0.0106, 1, 0, 1, 1), -- 5Irontree Dagger
    (52552, 55540, 0.0106, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52552, 55386, 0.0103, 1, 0, 1, 1), -- 5Bladefist Mace
    (52552, 55576, 0.0103, 1, 0, 1, 1), -- 5Talondeep Vest
    (52552, 55621, 0.0103, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52552, 55675, 0.0103, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52552, 55720, 0.0103, 1, 0, 1, 1), -- 5Bluefen Robe
    (52552, 65896, 0.0100, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52552, 55367, 0.0100, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52552, 55376, 0.0100, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52552, 55493, 0.0100, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52552, 55673, 0.0100, 1, 0, 1, 1), -- 5Dandred Hood
    (52552, 55548, 0.0100, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52552, 55369, 0.0100, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52552, 55531, 0.0100, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52552, 55558, 0.0100, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52552, 55657, 0.0100, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52552, 55502, 0.0096, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52552, 55368, 0.0096, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52552, 55539, 0.0096, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52552, 55665, 0.0096, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52552, 55701, 0.0096, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52552, 55702, 0.0096, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52552, 65897, 0.0093, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52552, 55520, 0.0093, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52552, 55378, 0.0093, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52552, 55387, 0.0093, 1, 0, 1, 1), -- 5Irontree Mace
    (52552, 55567, 0.0093, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52552, 55286, 0.0090, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52552, 55556, 0.0090, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52552, 55574, 0.0090, 1, 0, 1, 1), -- 5Highperch Vest
    (52552, 55628, 0.0090, 1, 0, 1, 1), -- 5Highperch Belt
    (52552, 55682, 0.0090, 1, 0, 1, 1), -- 5Dandred Britches
    (52552, 55458, 0.0090, 1, 0, 1, 1), -- 5Bladefist Sword
    (52552, 55629, 0.0090, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52552, 55432, 0.0090, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52552, 55583, 0.0086, 1, 0, 1, 1), -- 5Highperch Greaves
    (52552, 55619, 0.0086, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52552, 55691, 0.0086, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52552, 55431, 0.0086, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52552, 55639, 0.0086, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52552, 55693, 0.0086, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52552, 55511, 0.0083, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52552, 55494, 0.0083, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52552, 52378, 0.0080, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52552, 55466, 0.0080, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52552, 52388, 0.0076, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52552, 55385, 0.0076, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52552, 55459, 0.0076, 1, 0, 1, 1), -- 5Irontree Sword
    (52552, 55504, 0.0076, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52552, 55349, 0.0073, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52552, 55655, 0.0073, 1, 0, 1, 1), -- 5Dandred Boots
    (52552, 55547, 0.0070, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52552, 55610, 0.0070, 1, 0, 1, 1), -- 5Highperch Legguards
    (52552, 55666, 0.0070, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52552, 65894, 0.0066, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52552, 55350, 0.0066, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52552, 55692, 0.0066, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52552, 55351, 0.0066, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52552, 55430, 0.0060, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52552, 55296, 0.0060, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52552, 55450, 0.0060, 1, 0, 1, 1), -- 5Irontree Staff
    (52552, 55340, 0.0056, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52552, 55342, 0.0056, 1, 0, 1, 1), -- 5Irontree Staff
    (52552, 65895, 0.0053, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52552, 55295, 0.0053, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52552, 55297, 0.0053, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52552, 55288, 0.0050, 1, 0, 1, 1), -- 5Irontree Axe
    (52552, 52197, 0.0047, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52552, 55331, 0.0047, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52552, 55315, 0.0047, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52552, 66976, 0.0043, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (52552, 55467, 0.0043, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52552, 55449, 0.0040, 1, 0, 1, 1), -- 5Bladefist Staff
    (52552, 52377, 0.0037, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (52552, 55448, 0.0037, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52552, 55413, 0.0037, 1, 0, 1, 1), -- 5Bladefist Spear
    (52552, 55414, 0.0037, 1, 0, 1, 1), -- 5Irontree Spear
    (52552, 55468, 0.0037, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52552, 68787, 0.0033, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (52552, 55412, 0.0033, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52552, 55332, 0.0033, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52552, 55395, 0.0033, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52552, 55324, 0.0033, 1, 0, 1, 1), -- 5Irontree Crossbow
    (52552, 52373, 0.0030, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (52552, 67121, 0.0027, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (52552, 67067, 0.0027, 1, 0, 1, 1), -- 4Belt of Guardianship
    (52552, 55457, 0.0027, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52552, 66932, 0.0023, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (52552, 67071, 0.0023, 1, 0, 1, 1), -- 4Staff of Old Woes
    (52552, 52369, 0.0023, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (52552, 69820, 0.0023, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52552, 68781, 0.0020, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52552, 66970, 0.0020, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (52552, 66989, 0.0020, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (52552, 52363, 0.0020, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52552, 55287, 0.0020, 1, 0, 1, 1), -- 5Bladefist Axe
    (52552, 55396, 0.0020, 1, 0, 1, 1), -- 5Irontree Hammer
    (52552, 67140, 0.0017, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (52552, 68783, 0.0017, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52552, 68789, 0.0017, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (52552, 66931, 0.0017, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52552, 66993, 0.0017, 1, 0, 1, 1), -- 4Sorrow's End
    (52552, 67125, 0.0017, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (52552, 52367, 0.0017, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52552, 52372, 0.0017, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52552, 52383, 0.0017, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (52552, 52385, 0.0017, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52552, 55358, 0.0017, 1, 0, 1, 1), -- 5Mardenholde Gun
    (52552, 55394, 0.0017, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (52552, 55341, 0.0017, 1, 0, 1, 1), -- 5Bladefist Staff
    (52552, 55359, 0.0017, 1, 0, 1, 1), -- 5Bladefist Gun
    (52552, 55306, 0.0017, 1, 0, 1, 1), -- 5Irontree Bow
    (52552, 67138, 0.0013, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (52552, 68788, 0.0013, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52552, 67057, 0.0013, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (52552, 67119, 0.0013, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (52552, 67122, 0.0013, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (52552, 67124, 0.0013, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52552, 52365, 0.0013, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52552, 52366, 0.0013, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52552, 52375, 0.0013, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52552, 55322, 0.0013, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (52552, 67130, 0.0010, 1, 0, 1, 1), -- 3Dorian's Lost Necklace
    (52552, 67132, 0.0010, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (52552, 67135, 0.0010, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (52552, 68782, 0.0010, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (52552, 66940, 0.0010, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (52552, 66968, 0.0010, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (52552, 66969, 0.0010, 1, 0, 1, 1), -- 4Heart of the Vile
    (52552, 66971, 0.0010, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (52552, 67061, 0.0010, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (52552, 66941, 0.0010, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (52552, 66972, 0.0010, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52552, 66974, 0.0010, 1, 0, 1, 1), -- 4Nightrend Choker
    (52552, 66994, 0.0010, 1, 0, 1, 1), -- 4Soul's Anguish
    (52552, 67126, 0.0010, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (52552, 52364, 0.0010, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (52552, 52368, 0.0010, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (52552, 52370, 0.0010, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52552, 52371, 0.0010, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52552, 52376, 0.0010, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52552, 52379, 0.0010, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52552, 52382, 0.0010, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52552, 52386, 0.0010, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52552, 55305, 0.0010, 1, 0, 1, 1), -- 5Bladefist Bow
    (52552, 55323, 0.0010, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (52552, 67137, 0.0007, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (52552, 67144, 0.0007, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (52552, 66990, 0.0007, 1, 0, 1, 1), -- 4Downfall Hammer
    (52552, 66991, 0.0007, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (52552, 67069, 0.0007, 1, 0, 1, 1), -- 4Shade of Death
    (52552, 55304, 0.0007, 1, 0, 1, 1), -- 5Mardenholde Bow
    (52552, 67134, 0.0003, 1, 0, 1, 1), -- 3Dory's Finery
    (52552, 67139, 0.0003, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (52552, 67142, 0.0003, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (52552, 67148, 0.0003, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (52552, 67120, 0.0003, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (52552, 66973, 0.0003, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52552, 66975, 0.0003, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (52552, 67123, 0.0003, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (52552, 67127, 0.0003, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (52552, 55360, 0.0003, 1, 0, 1, 1); -- 5Irontree Gun
    UPDATE `creature_template` SET `lootid` = 52552 WHERE `entry` = 52552;
    
        --  http://www.wowhead.com/npc=52633
    DELETE FROM `creature_loot_template` WHERE `entry` = 52633;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52633, 71375, 95.2344, 1, 0, 1, 1), -- 7Red Ash
    (52633, 71376, 4.7198, 1, 0, 1, 1), -- 7Lava Ruby
    (52633, 68729, 0.1986, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52633, 62071, 0.1042, 1, 0, 1, 1), -- 7Corroded Blade
    (52633, 62068, 0.1028, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52633, 62064, 0.1000, 1, 0, 1, 1), -- 7Warped Greatsword
    (52633, 62065, 0.0986, 1, 0, 1, 1), -- 7Melted Cleaver
    (52633, 62070, 0.0945, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52633, 62072, 0.0861, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52633, 62069, 0.0806, 1, 0, 1, 1), -- 7Plugged Rifle
    (52633, 62089, 0.0750, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52633, 62066, 0.0722, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52633, 62063, 0.0708, 1, 0, 1, 1), -- 7Shattered War Mace
    (52633, 62067, 0.0681, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52633, 62077, 0.0569, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52633, 62092, 0.0528, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52633, 62094, 0.0528, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52633, 62099, 0.0528, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52633, 62073, 0.0514, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52633, 62102, 0.0514, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52633, 62103, 0.0514, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52633, 62080, 0.0486, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52633, 55423, 0.0472, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52633, 62097, 0.0472, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52633, 62091, 0.0458, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52633, 55421, 0.0444, 1, 0, 1, 1), -- 5Mereldar Ring
    (52633, 62111, 0.0444, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52633, 62088, 0.0431, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52633, 62121, 0.0431, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52633, 62100, 0.0417, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52633, 62104, 0.0417, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52633, 62131, 0.0403, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52633, 62135, 0.0403, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52633, 62081, 0.0389, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52633, 62109, 0.0389, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52633, 62120, 0.0389, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52633, 62076, 0.0375, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52633, 62093, 0.0361, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52633, 62112, 0.0361, 1, 0, 1, 1), -- 7Singed Pants
    (52633, 62124, 0.0361, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52633, 62078, 0.0347, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52633, 62085, 0.0347, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52633, 62086, 0.0347, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52633, 62090, 0.0347, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52633, 62125, 0.0333, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52633, 55611, 0.0319, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52633, 62079, 0.0306, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52633, 62096, 0.0306, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52633, 55774, 0.0292, 1, 0, 1, 1), -- 5Bluefen Cord
    (52633, 55422, 0.0278, 1, 0, 1, 1), -- 5Thondroril Ring
    (52633, 55692, 0.0278, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52633, 55773, 0.0278, 1, 0, 1, 1), -- 5Mystral Cord
    (52633, 62083, 0.0278, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52633, 62095, 0.0278, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52633, 62107, 0.0278, 1, 0, 1, 1), -- 7Singed Belt
    (52633, 62119, 0.0278, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52633, 62126, 0.0278, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52633, 55440, 0.0264, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52633, 55746, 0.0264, 1, 0, 1, 1), -- 5Mystral Cowl
    (52633, 55729, 0.0264, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52633, 62074, 0.0264, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52633, 62098, 0.0264, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52633, 62101, 0.0264, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52633, 55727, 0.0250, 1, 0, 1, 1), -- 5Everstill Sandals
    (52633, 62075, 0.0250, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52633, 62084, 0.0250, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52633, 62087, 0.0250, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52633, 62108, 0.0250, 1, 0, 1, 1), -- 7Singed Armor
    (52633, 62114, 0.0250, 1, 0, 1, 1), -- 7Singed Bracers
    (52633, 62115, 0.0250, 1, 0, 1, 1), -- 7Singed Boots
    (52633, 62122, 0.0250, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52633, 62133, 0.0250, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52633, 62136, 0.0250, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52633, 55593, 0.0236, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52633, 55485, 0.0222, 1, 0, 1, 1), -- 5Thondroril Wand
    (52633, 55710, 0.0222, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52633, 55405, 0.0222, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52633, 55441, 0.0222, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52633, 62082, 0.0222, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52633, 62110, 0.0222, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52633, 62127, 0.0222, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52633, 62129, 0.0222, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52633, 55403, 0.0208, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52633, 55691, 0.0208, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52633, 55745, 0.0208, 1, 0, 1, 1), -- 5Everstill Cowl
    (52633, 55763, 0.0208, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52633, 67539, 0.0208, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52633, 62113, 0.0208, 1, 0, 1, 1), -- 7Singed Gloves
    (52633, 62123, 0.0208, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52633, 55484, 0.0194, 1, 0, 1, 1), -- 5Mereldar Wand
    (52633, 55538, 0.0194, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52633, 55709, 0.0194, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52633, 55404, 0.0194, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52633, 55755, 0.0194, 1, 0, 1, 1), -- 5Mystral Leggings
    (52633, 55648, 0.0194, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52633, 55711, 0.0194, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52633, 62118, 0.0194, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52633, 62128, 0.0194, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52633, 55457, 0.0181, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52633, 55592, 0.0181, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52633, 55521, 0.0181, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52633, 55639, 0.0181, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52633, 55756, 0.0181, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52633, 55765, 0.0181, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52633, 62106, 0.0181, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52633, 55439, 0.0167, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52633, 55511, 0.0167, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52633, 55683, 0.0167, 1, 0, 1, 1), -- 5Haldarr Britches
    (52633, 55540, 0.0167, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52633, 55720, 0.0167, 1, 0, 1, 1), -- 5Bluefen Robe
    (52633, 62105, 0.0167, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52633, 62116, 0.0167, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52633, 62130, 0.0167, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52633, 62132, 0.0167, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52633, 62134, 0.0167, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52633, 55754, 0.0153, 1, 0, 1, 1), -- 5Everstill Leggings
    (52633, 55620, 0.0153, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52633, 55603, 0.0153, 1, 0, 1, 1), -- 5Talondeep Helm
    (52633, 55702, 0.0153, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52633, 62117, 0.0153, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52633, 55295, 0.0139, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52633, 55565, 0.0139, 1, 0, 1, 1), -- 5Highperch Bracers
    (52633, 55628, 0.0139, 1, 0, 1, 1), -- 5Highperch Belt
    (52633, 55718, 0.0139, 1, 0, 1, 1), -- 5Everstill Robe
    (52633, 55512, 0.0139, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52633, 55575, 0.0139, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52633, 55638, 0.0139, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52633, 55737, 0.0139, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52633, 55531, 0.0139, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52633, 55585, 0.0139, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52633, 55621, 0.0139, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52633, 55630, 0.0139, 1, 0, 1, 1), -- 5Talondeep Belt
    (52633, 55675, 0.0139, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52633, 55693, 0.0139, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52633, 55395, 0.0125, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52633, 55494, 0.0125, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52633, 55584, 0.0125, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52633, 55629, 0.0125, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52633, 55647, 0.0125, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52633, 55656, 0.0125, 1, 0, 1, 1), -- 5Haldarr Boots
    (52633, 55665, 0.0125, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52633, 55674, 0.0125, 1, 0, 1, 1), -- 5Haldarr Hood
    (52633, 55719, 0.0125, 1, 0, 1, 1), -- 5Mystral Robe
    (52633, 55764, 0.0125, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52633, 55666, 0.0125, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52633, 55738, 0.0125, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52633, 55340, 0.0111, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52633, 55610, 0.0111, 1, 0, 1, 1), -- 5Highperch Legguards
    (52633, 55664, 0.0111, 1, 0, 1, 1), -- 5Dandred Gloves
    (52633, 55700, 0.0111, 1, 0, 1, 1), -- 5Dandred Waistband
    (52633, 55736, 0.0111, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52633, 55728, 0.0111, 1, 0, 1, 1), -- 5Mystral Sandals
    (52633, 55594, 0.0111, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52633, 55349, 0.0097, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52633, 55430, 0.0097, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52633, 55448, 0.0097, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52633, 55520, 0.0097, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52633, 55619, 0.0097, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52633, 55772, 0.0097, 1, 0, 1, 1), -- 5Everstill Cord
    (52633, 55332, 0.0097, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52633, 55368, 0.0097, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52633, 55377, 0.0097, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52633, 55431, 0.0097, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52633, 55503, 0.0097, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52633, 55701, 0.0097, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52633, 55450, 0.0097, 1, 0, 1, 1), -- 5Irontree Staff
    (52633, 55612, 0.0097, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52633, 55684, 0.0097, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52633, 55747, 0.0097, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52633, 55385, 0.0083, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52633, 55466, 0.0083, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52633, 55493, 0.0083, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52633, 55601, 0.0083, 1, 0, 1, 1), -- 5Highperch Helm
    (52633, 55637, 0.0083, 1, 0, 1, 1), -- 5Dandred Bindings
    (52633, 55682, 0.0083, 1, 0, 1, 1), -- 5Dandred Britches
    (52633, 55350, 0.0083, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52633, 55413, 0.0083, 1, 0, 1, 1), -- 5Bladefist Spear
    (52633, 55458, 0.0083, 1, 0, 1, 1), -- 5Bladefist Sword
    (52633, 55539, 0.0083, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52633, 55459, 0.0083, 1, 0, 1, 1), -- 5Irontree Sword
    (52633, 55486, 0.0083, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52633, 55495, 0.0083, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52633, 55576, 0.0083, 1, 0, 1, 1), -- 5Talondeep Vest
    (52633, 65896, 0.0069, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52633, 55358, 0.0069, 1, 0, 1, 1), -- 5Mardenholde Gun
    (52633, 55367, 0.0069, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52633, 55646, 0.0069, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52633, 55673, 0.0069, 1, 0, 1, 1), -- 5Dandred Hood
    (52633, 55314, 0.0069, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52633, 55557, 0.0069, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52633, 55432, 0.0069, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52633, 55558, 0.0069, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52633, 55567, 0.0069, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52633, 68788, 0.0056, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52633, 66931, 0.0056, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52633, 66968, 0.0056, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (52633, 65894, 0.0056, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52633, 55286, 0.0056, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52633, 55376, 0.0056, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52633, 55502, 0.0056, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52633, 55529, 0.0056, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52633, 55547, 0.0056, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52633, 55556, 0.0056, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52633, 55655, 0.0056, 1, 0, 1, 1), -- 5Dandred Boots
    (52633, 55566, 0.0056, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52633, 55602, 0.0056, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52633, 55288, 0.0056, 1, 0, 1, 1), -- 5Irontree Axe
    (52633, 55297, 0.0056, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52633, 55342, 0.0056, 1, 0, 1, 1), -- 5Irontree Staff
    (52633, 55369, 0.0056, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52633, 55504, 0.0056, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52633, 55549, 0.0056, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52633, 65895, 0.0042, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52633, 65897, 0.0042, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52633, 55583, 0.0042, 1, 0, 1, 1), -- 5Highperch Greaves
    (52633, 55341, 0.0042, 1, 0, 1, 1), -- 5Bladefist Staff
    (52633, 55386, 0.0042, 1, 0, 1, 1), -- 5Bladefist Mace
    (52633, 55449, 0.0042, 1, 0, 1, 1), -- 5Bladefist Staff
    (52633, 55467, 0.0042, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52633, 55548, 0.0042, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52633, 55387, 0.0042, 1, 0, 1, 1), -- 5Irontree Mace
    (52633, 55396, 0.0042, 1, 0, 1, 1), -- 5Irontree Hammer
    (52633, 55513, 0.0042, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52633, 55522, 0.0042, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52633, 55657, 0.0042, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52633, 67057, 0.0028, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (52633, 67069, 0.0028, 1, 0, 1, 1), -- 4Shade of Death
    (52633, 67124, 0.0028, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52633, 52375, 0.0028, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52633, 52382, 0.0028, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52633, 52385, 0.0028, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52633, 52388, 0.0028, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52633, 55287, 0.0028, 1, 0, 1, 1), -- 5Bladefist Axe
    (52633, 55296, 0.0028, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52633, 55530, 0.0028, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52633, 55351, 0.0028, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52633, 55378, 0.0028, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52633, 67129, 0.0014, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (52633, 67131, 0.0014, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (52633, 67146, 0.0014, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (52633, 67148, 0.0014, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (52633, 66940, 0.0014, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (52633, 66970, 0.0014, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (52633, 66971, 0.0014, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (52633, 66990, 0.0014, 1, 0, 1, 1), -- 4Downfall Hammer
    (52633, 66972, 0.0014, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52633, 66973, 0.0014, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52633, 66992, 0.0014, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (52633, 66994, 0.0014, 1, 0, 1, 1), -- 4Soul's Anguish
    (52633, 67071, 0.0014, 1, 0, 1, 1), -- 4Staff of Old Woes
    (52633, 67125, 0.0014, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (52633, 52197, 0.0014, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52633, 52363, 0.0014, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52633, 52366, 0.0014, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52633, 52367, 0.0014, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52633, 52370, 0.0014, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52633, 52371, 0.0014, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52633, 52372, 0.0014, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52633, 52376, 0.0014, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52633, 52378, 0.0014, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52633, 52383, 0.0014, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (52633, 52386, 0.0014, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52633, 69820, 0.0014, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52633, 55313, 0.0014, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52633, 55322, 0.0014, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (52633, 55331, 0.0014, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52633, 55412, 0.0014, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52633, 55574, 0.0014, 1, 0, 1, 1), -- 5Highperch Vest
    (52633, 55305, 0.0014, 1, 0, 1, 1), -- 5Bladefist Bow
    (52633, 55333, 0.0014, 1, 0, 1, 1), -- 5Irontree Dagger
    (52633, 55360, 0.0014, 1, 0, 1, 1), -- 5Irontree Gun
    (52633, 55414, 0.0014, 1, 0, 1, 1), -- 5Irontree Spear
    (52633, 55468, 0.0014, 1, 0, 1, 1); -- 5Irontree Greatsword
    UPDATE `creature_template` SET `lootid` = 52633 WHERE `entry` = 52633;
    
        --  http://www.wowhead.com/npc=52648
    DELETE FROM `creature_loot_template` WHERE `entry` = 52648;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52648, 71375, 94.4109, 1, 0, 1, 1), -- 7Red Ash
    (52648, 69808, -20.9412, 1, 0, 1, 1), -- 6Flame Venom
    (52648, 71376, 4.4610, 1, 0, 1, 1), -- 7Lava Ruby
    (52648, 68729, 0.1704, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52648, 62068, 0.0862, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52648, 62066, 0.0859, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52648, 62064, 0.0857, 1, 0, 1, 1), -- 7Warped Greatsword
    (52648, 62067, 0.0853, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52648, 62072, 0.0851, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52648, 62071, 0.0840, 1, 0, 1, 1), -- 7Corroded Blade
    (52648, 62069, 0.0833, 1, 0, 1, 1), -- 7Plugged Rifle
    (52648, 62065, 0.0829, 1, 0, 1, 1), -- 7Melted Cleaver
    (52648, 62070, 0.0819, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52648, 62063, 0.0814, 1, 0, 1, 1), -- 7Shattered War Mace
    (52648, 67539, 0.0457, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52648, 62077, 0.0411, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52648, 62088, 0.0405, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52648, 62096, 0.0404, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52648, 55422, 0.0397, 1, 0, 1, 1), -- 5Thondroril Ring
    (52648, 62089, 0.0392, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52648, 62082, 0.0390, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52648, 62098, 0.0390, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52648, 62086, 0.0378, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52648, 62074, 0.0375, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52648, 62097, 0.0375, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52648, 62073, 0.0368, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52648, 62104, 0.0364, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52648, 62085, 0.0362, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52648, 62083, 0.0359, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52648, 62091, 0.0355, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52648, 62101, 0.0355, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52648, 62090, 0.0354, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52648, 55423, 0.0354, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52648, 62079, 0.0352, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52648, 62092, 0.0351, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52648, 62078, 0.0346, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52648, 62087, 0.0344, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52648, 62084, 0.0336, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52648, 62094, 0.0334, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52648, 62103, 0.0333, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52648, 62081, 0.0332, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52648, 62093, 0.0327, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52648, 62099, 0.0325, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52648, 62100, 0.0324, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52648, 55421, 0.0321, 1, 0, 1, 1), -- 5Mereldar Ring
    (52648, 62075, 0.0319, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52648, 62095, 0.0313, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52648, 62076, 0.0310, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52648, 62124, 0.0305, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52648, 62102, 0.0302, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52648, 62111, 0.0300, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52648, 62080, 0.0300, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52648, 62115, 0.0287, 1, 0, 1, 1), -- 7Singed Boots
    (52648, 62123, 0.0286, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52648, 62113, 0.0284, 1, 0, 1, 1), -- 7Singed Gloves
    (52648, 62112, 0.0279, 1, 0, 1, 1), -- 7Singed Pants
    (52648, 62122, 0.0279, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52648, 62136, 0.0279, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52648, 62125, 0.0270, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52648, 62105, 0.0269, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52648, 62114, 0.0269, 1, 0, 1, 1), -- 7Singed Bracers
    (52648, 62135, 0.0268, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52648, 62130, 0.0268, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52648, 62106, 0.0267, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52648, 62131, 0.0266, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52648, 62108, 0.0265, 1, 0, 1, 1), -- 7Singed Armor
    (52648, 62117, 0.0265, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52648, 62133, 0.0264, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52648, 62127, 0.0260, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52648, 62120, 0.0259, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52648, 62126, 0.0258, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52648, 62109, 0.0253, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52648, 62116, 0.0253, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52648, 62121, 0.0252, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52648, 55439, 0.0251, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52648, 62110, 0.0250, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52648, 55440, 0.0249, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52648, 62134, 0.0249, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52648, 62107, 0.0244, 1, 0, 1, 1), -- 7Singed Belt
    (52648, 62129, 0.0242, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52648, 62132, 0.0242, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52648, 62119, 0.0241, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52648, 62118, 0.0238, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52648, 55441, 0.0237, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52648, 62128, 0.0237, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52648, 55746, 0.0194, 1, 0, 1, 1), -- 5Mystral Cowl
    (52648, 55754, 0.0192, 1, 0, 1, 1), -- 5Everstill Leggings
    (52648, 55745, 0.0182, 1, 0, 1, 1), -- 5Everstill Cowl
    (52648, 55710, 0.0180, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52648, 55755, 0.0178, 1, 0, 1, 1), -- 5Mystral Leggings
    (52648, 55773, 0.0174, 1, 0, 1, 1), -- 5Mystral Cord
    (52648, 55486, 0.0173, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52648, 55736, 0.0172, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52648, 55709, 0.0170, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52648, 55774, 0.0170, 1, 0, 1, 1), -- 5Bluefen Cord
    (52648, 55720, 0.0169, 1, 0, 1, 1), -- 5Bluefen Robe
    (52648, 55404, 0.0167, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52648, 55763, 0.0166, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52648, 55719, 0.0166, 1, 0, 1, 1), -- 5Mystral Robe
    (52648, 55484, 0.0163, 1, 0, 1, 1), -- 5Mereldar Wand
    (52648, 55747, 0.0163, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52648, 55728, 0.0161, 1, 0, 1, 1), -- 5Mystral Sandals
    (52648, 55738, 0.0161, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52648, 55405, 0.0157, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52648, 55485, 0.0156, 1, 0, 1, 1), -- 5Thondroril Wand
    (52648, 55729, 0.0156, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52648, 55756, 0.0155, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52648, 55711, 0.0154, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52648, 55403, 0.0153, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52648, 55765, 0.0153, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52648, 55764, 0.0152, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52648, 55718, 0.0145, 1, 0, 1, 1), -- 5Everstill Robe
    (52648, 55727, 0.0144, 1, 0, 1, 1), -- 5Everstill Sandals
    (52648, 55772, 0.0141, 1, 0, 1, 1), -- 5Everstill Cord
    (52648, 55530, 0.0140, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52648, 55367, 0.0135, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52648, 55522, 0.0135, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52648, 55585, 0.0134, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52648, 55657, 0.0133, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52648, 55684, 0.0133, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52648, 55495, 0.0132, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52648, 55683, 0.0132, 1, 0, 1, 1), -- 5Haldarr Britches
    (52648, 55630, 0.0131, 1, 0, 1, 1), -- 5Talondeep Belt
    (52648, 55620, 0.0129, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52648, 55520, 0.0126, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52648, 55665, 0.0126, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52648, 55700, 0.0125, 1, 0, 1, 1), -- 5Dandred Waistband
    (52648, 55512, 0.0124, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52648, 55584, 0.0124, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52648, 55639, 0.0124, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52648, 55494, 0.0123, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52648, 55565, 0.0121, 1, 0, 1, 1), -- 5Highperch Bracers
    (52648, 55601, 0.0121, 1, 0, 1, 1), -- 5Highperch Helm
    (52648, 55628, 0.0121, 1, 0, 1, 1), -- 5Highperch Belt
    (52648, 55674, 0.0121, 1, 0, 1, 1), -- 5Haldarr Hood
    (52648, 55737, 0.0121, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52648, 55531, 0.0121, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52648, 55558, 0.0120, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52648, 55538, 0.0119, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52648, 55603, 0.0119, 1, 0, 1, 1), -- 5Talondeep Helm
    (52648, 55621, 0.0119, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52648, 55666, 0.0117, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52648, 55521, 0.0117, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52648, 55673, 0.0116, 1, 0, 1, 1), -- 5Dandred Hood
    (52648, 55692, 0.0116, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52648, 55575, 0.0116, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52648, 55369, 0.0116, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52648, 55529, 0.0115, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52648, 55548, 0.0115, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52648, 55611, 0.0114, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52648, 55593, 0.0114, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52648, 55619, 0.0113, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52648, 55655, 0.0113, 1, 0, 1, 1), -- 5Dandred Boots
    (52648, 55493, 0.0113, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52648, 55691, 0.0113, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52648, 55549, 0.0113, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52648, 55612, 0.0112, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52648, 55648, 0.0112, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52648, 55602, 0.0111, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52648, 55656, 0.0111, 1, 0, 1, 1), -- 5Haldarr Boots
    (52648, 55566, 0.0109, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52648, 55557, 0.0109, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52648, 55647, 0.0109, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52648, 55629, 0.0108, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52648, 55583, 0.0108, 1, 0, 1, 1), -- 5Highperch Greaves
    (52648, 55702, 0.0108, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52648, 55592, 0.0107, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52648, 55502, 0.0106, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52648, 55610, 0.0106, 1, 0, 1, 1), -- 5Highperch Legguards
    (52648, 55540, 0.0106, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52648, 55675, 0.0106, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52648, 55504, 0.0105, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52648, 55513, 0.0104, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52648, 55693, 0.0104, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52648, 55574, 0.0103, 1, 0, 1, 1), -- 5Highperch Vest
    (52648, 55664, 0.0102, 1, 0, 1, 1), -- 5Dandred Gloves
    (52648, 55701, 0.0102, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52648, 55682, 0.0101, 1, 0, 1, 1), -- 5Dandred Britches
    (52648, 55567, 0.0101, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52648, 55594, 0.0101, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52648, 55646, 0.0100, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52648, 55511, 0.0099, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52648, 55539, 0.0098, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52648, 55503, 0.0097, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52648, 55638, 0.0097, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52648, 55368, 0.0096, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52648, 55637, 0.0095, 1, 0, 1, 1), -- 5Dandred Bindings
    (52648, 55576, 0.0095, 1, 0, 1, 1), -- 5Talondeep Vest
    (52648, 55556, 0.0095, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52648, 55547, 0.0092, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52648, 55430, 0.0087, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52648, 55376, 0.0085, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52648, 55385, 0.0085, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52648, 55431, 0.0085, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52648, 55378, 0.0085, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52648, 55458, 0.0084, 1, 0, 1, 1), -- 5Bladefist Sword
    (52648, 55386, 0.0079, 1, 0, 1, 1), -- 5Bladefist Mace
    (52648, 55314, 0.0076, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52648, 55315, 0.0076, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52648, 55432, 0.0075, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52648, 55377, 0.0075, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52648, 55387, 0.0072, 1, 0, 1, 1), -- 5Irontree Mace
    (52648, 55459, 0.0069, 1, 0, 1, 1), -- 5Irontree Sword
    (52648, 55313, 0.0068, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52648, 65896, 0.0066, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52648, 55350, 0.0066, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52648, 55295, 0.0064, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52648, 55287, 0.0064, 1, 0, 1, 1), -- 5Bladefist Axe
    (52648, 55286, 0.0063, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52648, 55333, 0.0063, 1, 0, 1, 1), -- 5Irontree Dagger
    (52648, 55296, 0.0062, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52648, 55457, 0.0061, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52648, 55297, 0.0061, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52648, 55331, 0.0060, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52648, 55332, 0.0060, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52648, 55413, 0.0056, 1, 0, 1, 1), -- 5Bladefist Spear
    (52648, 55288, 0.0056, 1, 0, 1, 1), -- 5Irontree Axe
    (52648, 55468, 0.0054, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52648, 65897, 0.0053, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52648, 55412, 0.0053, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52648, 55341, 0.0053, 1, 0, 1, 1), -- 5Bladefist Staff
    (52648, 55351, 0.0052, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52648, 55395, 0.0051, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52648, 55448, 0.0049, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52648, 55414, 0.0049, 1, 0, 1, 1), -- 5Irontree Spear
    (52648, 55349, 0.0048, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52648, 55342, 0.0046, 1, 0, 1, 1), -- 5Irontree Staff
    (52648, 55450, 0.0045, 1, 0, 1, 1), -- 5Irontree Staff
    (52648, 55340, 0.0044, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52648, 55467, 0.0044, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52648, 55449, 0.0043, 1, 0, 1, 1), -- 5Bladefist Staff
    (52648, 55466, 0.0041, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52648, 55396, 0.0040, 1, 0, 1, 1), -- 5Irontree Hammer
    (52648, 65894, 0.0039, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52648, 55394, 0.0035, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (52648, 65895, 0.0032, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52648, 52372, 0.0031, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52648, 52197, 0.0025, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52648, 52376, 0.0023, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52648, 67120, 0.0022, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (52648, 69820, 0.0022, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52648, 52365, 0.0021, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52648, 52382, 0.0021, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52648, 52369, 0.0020, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (52648, 52388, 0.0020, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52648, 52366, 0.0020, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52648, 66969, 0.0019, 1, 0, 1, 1), -- 4Heart of the Vile
    (52648, 67057, 0.0019, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (52648, 55358, 0.0019, 1, 0, 1, 1), -- 5Mardenholde Gun
    (52648, 68787, 0.0019, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (52648, 66970, 0.0019, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (52648, 66968, 0.0018, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (52648, 66993, 0.0018, 1, 0, 1, 1), -- 4Sorrow's End
    (52648, 67067, 0.0018, 1, 0, 1, 1), -- 4Belt of Guardianship
    (52648, 52363, 0.0018, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52648, 52370, 0.0018, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52648, 52379, 0.0018, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52648, 55359, 0.0018, 1, 0, 1, 1), -- 5Bladefist Gun
    (52648, 67069, 0.0017, 1, 0, 1, 1), -- 4Shade of Death
    (52648, 52367, 0.0017, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52648, 52378, 0.0017, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52648, 52386, 0.0017, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52648, 66971, 0.0017, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (52648, 55322, 0.0017, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (52648, 68788, 0.0016, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52648, 68789, 0.0016, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (52648, 67121, 0.0016, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (52648, 67127, 0.0016, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (52648, 52373, 0.0016, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (52648, 52383, 0.0016, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (52648, 68781, 0.0015, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52648, 66932, 0.0015, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (52648, 52368, 0.0015, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (52648, 52377, 0.0015, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (52648, 66940, 0.0014, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (52648, 67123, 0.0014, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (52648, 55360, 0.0014, 1, 0, 1, 1), -- 5Irontree Gun
    (52648, 66994, 0.0014, 1, 0, 1, 1), -- 4Soul's Anguish
    (52648, 52364, 0.0014, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (52648, 55304, 0.0014, 1, 0, 1, 1), -- 5Mardenholde Bow
    (52648, 66941, 0.0013, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (52648, 66942, 0.0013, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (52648, 67125, 0.0013, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (52648, 66991, 0.0012, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (52648, 67122, 0.0012, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (52648, 66992, 0.0012, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (52648, 52375, 0.0012, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52648, 68783, 0.0011, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52648, 66990, 0.0011, 1, 0, 1, 1), -- 4Downfall Hammer
    (52648, 52385, 0.0011, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52648, 68782, 0.0011, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (52648, 67119, 0.0011, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (52648, 67124, 0.0011, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52648, 55306, 0.0011, 1, 0, 1, 1), -- 5Irontree Bow
    (52648, 67140, 0.0010, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (52648, 67061, 0.0010, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (52648, 66972, 0.0010, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52648, 66975, 0.0010, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (52648, 66976, 0.0010, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (52648, 55323, 0.0010, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (52648, 66989, 0.0009, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (52648, 66974, 0.0009, 1, 0, 1, 1), -- 4Nightrend Choker
    (52648, 66931, 0.0009, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52648, 66973, 0.0009, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52648, 55305, 0.0009, 1, 0, 1, 1), -- 5Bladefist Bow
    (52648, 67146, 0.0008, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (52648, 67071, 0.0008, 1, 0, 1, 1), -- 4Staff of Old Woes
    (52648, 52371, 0.0008, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52648, 67132, 0.0007, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (52648, 52374, 0.0007, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (52648, 55324, 0.0007, 1, 0, 1, 1), -- 5Irontree Crossbow
    (52648, 67142, 0.0007, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (52648, 67126, 0.0007, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (52648, 67137, 0.0006, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (52648, 67134, 0.0005, 1, 0, 1, 1), -- 3Dory's Finery
    (52648, 67143, 0.0005, 1, 0, 1, 1), -- 3Icebone Hauberk
    (52648, 67138, 0.0004, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (52648, 67139, 0.0004, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (52648, 67131, 0.0004, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (52648, 67144, 0.0004, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (52648, 67145, 0.0004, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (52648, 67147, 0.0004, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (52648, 67149, 0.0004, 1, 0, 1, 1), -- 3Heartbound Tome
    (52648, 67130, 0.0003, 1, 0, 1, 1), -- 3Dorian's Lost Necklace
    (52648, 67148, 0.0003, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (52648, 67150, 0.0003, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (52648, 67133, 0.0002, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (52648, 67135, 0.0002, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (52648, 67141, 0.0002, 1, 0, 1, 1), -- 3Corefire Legplates
    (52648, 67129, 0.0002, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (52648, 67136, 0.0002, 1, 0, 1, 1); -- 3Gilnean Ring of Ruination
    UPDATE `creature_template` SET `lootid` = 52648 WHERE `entry` = 52648;
    
    
        --  http://www.wowhead.com/npc=52662
    DELETE FROM `creature_loot_template` WHERE `entry` = 52662;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52662, 69813, -60, 1, 0, 1, 1), -- 6Flame Druid Idol
    (52662, 69812, -20, 1, 0, 1, 1), -- 6Flame Druid Reagent Pouch
    (52662, 69811, -15, 1, 0, 1, 1), -- 6Flame Druid Spellbook
    (52662, 69810, -5, 1, 0, 1, 1); -- 6Flame Druid Staff
    UPDATE `creature_template` SET `lootid` = 52662 WHERE `entry` = 52662;
    
        --  http://www.wowhead.com/npc=52663
    DELETE FROM `creature_loot_template` WHERE `entry` = 52663;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52663, 60485, 80.4362, 1, 0, 1, 1), -- 7Crackling Crystals
    (52663, 60486, 19.4749, 1, 0, 1, 1), -- 7Shimmering Shards
    (52663, 52325, 13.9106, 1, 0, 1, 1), -- 6Volatile Fire
    (52663, 52506, -0.3114, 1, 0, 1, 1), -- 6Elemental Goo
    (52663, 68729, 0.1688, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52663, 62064, 0.1089, 1, 0, 1, 1), -- 7Warped Greatsword
    (52663, 62067, 0.0892, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52663, 62069, 0.0878, 1, 0, 1, 1), -- 7Plugged Rifle
    (52663, 62065, 0.0874, 1, 0, 1, 1), -- 7Melted Cleaver
    (52663, 62066, 0.0871, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52663, 62063, 0.0867, 1, 0, 1, 1), -- 7Shattered War Mace
    (52663, 62072, 0.0831, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52663, 62068, 0.0813, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52663, 62071, 0.0813, 1, 0, 1, 1), -- 7Corroded Blade
    (52663, 62070, 0.0806, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52663, 55440, 0.0509, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52663, 62081, 0.0509, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52663, 62099, 0.0473, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52663, 62089, 0.0441, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52663, 62083, 0.0437, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52663, 62117, 0.0437, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52663, 62136, 0.0437, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52663, 62082, 0.0430, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52663, 62085, 0.0430, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52663, 62096, 0.0419, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52663, 62093, 0.0398, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52663, 62101, 0.0398, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52663, 62074, 0.0394, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52663, 62100, 0.0383, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52663, 62103, 0.0376, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52663, 62098, 0.0369, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52663, 62078, 0.0358, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52663, 62087, 0.0355, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52663, 62090, 0.0355, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52663, 55421, 0.0351, 1, 0, 1, 1), -- 5Mereldar Ring
    (52663, 62077, 0.0351, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52663, 62073, 0.0348, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52663, 62080, 0.0337, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52663, 55422, 0.0333, 1, 0, 1, 1), -- 5Thondroril Ring
    (52663, 62088, 0.0333, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52663, 62104, 0.0333, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52663, 62076, 0.0330, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52663, 62092, 0.0330, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52663, 62130, 0.0330, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52663, 62075, 0.0326, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52663, 62097, 0.0326, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52663, 62119, 0.0323, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52663, 62107, 0.0315, 1, 0, 1, 1), -- 7Singed Belt
    (52663, 62111, 0.0315, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52663, 62115, 0.0315, 1, 0, 1, 1), -- 7Singed Boots
    (52663, 62084, 0.0312, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52663, 62131, 0.0312, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52663, 62109, 0.0305, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52663, 62112, 0.0305, 1, 0, 1, 1), -- 7Singed Pants
    (52663, 62123, 0.0305, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52663, 62116, 0.0301, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52663, 62110, 0.0297, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52663, 55423, 0.0294, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52663, 62102, 0.0294, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52663, 62106, 0.0287, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52663, 62127, 0.0287, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52663, 62094, 0.0283, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52663, 62122, 0.0283, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52663, 62126, 0.0283, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52663, 55441, 0.0280, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52663, 62086, 0.0280, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52663, 62134, 0.0280, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52663, 62091, 0.0272, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52663, 62079, 0.0269, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52663, 62095, 0.0269, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52663, 62121, 0.0269, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52663, 62133, 0.0269, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52663, 55746, 0.0265, 1, 0, 1, 1), -- 5Mystral Cowl
    (52663, 62124, 0.0258, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52663, 55439, 0.0251, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52663, 62108, 0.0247, 1, 0, 1, 1), -- 7Singed Armor
    (52663, 62105, 0.0237, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52663, 62125, 0.0237, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52663, 62132, 0.0237, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52663, 55765, 0.0233, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52663, 62113, 0.0233, 1, 0, 1, 1), -- 7Singed Gloves
    (52663, 62135, 0.0233, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52663, 62118, 0.0229, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52663, 55729, 0.0219, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52663, 55484, 0.0215, 1, 0, 1, 1), -- 5Mereldar Wand
    (52663, 62120, 0.0215, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52663, 55727, 0.0211, 1, 0, 1, 1), -- 5Everstill Sandals
    (52663, 62128, 0.0211, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52663, 55711, 0.0208, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52663, 55754, 0.0204, 1, 0, 1, 1), -- 5Everstill Leggings
    (52663, 62129, 0.0204, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52663, 55720, 0.0201, 1, 0, 1, 1), -- 5Bluefen Robe
    (52663, 55738, 0.0194, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52663, 55763, 0.0190, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52663, 55485, 0.0183, 1, 0, 1, 1), -- 5Thondroril Wand
    (52663, 55367, 0.0179, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52663, 55709, 0.0176, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52663, 55404, 0.0176, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52663, 55737, 0.0176, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52663, 62114, 0.0176, 1, 0, 1, 1), -- 7Singed Bracers
    (52663, 55655, 0.0168, 1, 0, 1, 1), -- 5Dandred Boots
    (52663, 55718, 0.0168, 1, 0, 1, 1), -- 5Everstill Robe
    (52663, 55755, 0.0168, 1, 0, 1, 1), -- 5Mystral Leggings
    (52663, 55486, 0.0168, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52663, 55565, 0.0165, 1, 0, 1, 1), -- 5Highperch Bracers
    (52663, 55728, 0.0165, 1, 0, 1, 1), -- 5Mystral Sandals
    (52663, 55648, 0.0165, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52663, 55666, 0.0165, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52663, 55772, 0.0161, 1, 0, 1, 1), -- 5Everstill Cord
    (52663, 55747, 0.0161, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52663, 55538, 0.0158, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52663, 55405, 0.0158, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52663, 55494, 0.0154, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52663, 55756, 0.0154, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52663, 67539, 0.0154, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52663, 55503, 0.0151, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52663, 55773, 0.0151, 1, 0, 1, 1), -- 5Mystral Cord
    (52663, 55612, 0.0151, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52663, 55547, 0.0147, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52663, 55584, 0.0147, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52663, 55774, 0.0147, 1, 0, 1, 1), -- 5Bluefen Cord
    (52663, 55548, 0.0143, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52663, 55520, 0.0140, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52663, 55745, 0.0140, 1, 0, 1, 1), -- 5Everstill Cowl
    (52663, 55592, 0.0136, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52663, 55673, 0.0136, 1, 0, 1, 1), -- 5Dandred Hood
    (52663, 55736, 0.0136, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52663, 55530, 0.0136, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52663, 55665, 0.0136, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52663, 55710, 0.0136, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52663, 55403, 0.0133, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52663, 55628, 0.0133, 1, 0, 1, 1), -- 5Highperch Belt
    (52663, 55369, 0.0133, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52663, 55664, 0.0129, 1, 0, 1, 1), -- 5Dandred Gloves
    (52663, 55683, 0.0129, 1, 0, 1, 1), -- 5Haldarr Britches
    (52663, 55495, 0.0129, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52663, 55502, 0.0125, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52663, 55674, 0.0125, 1, 0, 1, 1), -- 5Haldarr Hood
    (52663, 55764, 0.0125, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52663, 55691, 0.0122, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52663, 55719, 0.0122, 1, 0, 1, 1), -- 5Mystral Robe
    (52663, 55504, 0.0122, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52663, 55540, 0.0122, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52663, 55549, 0.0122, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52663, 55558, 0.0122, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52663, 55594, 0.0122, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52663, 55619, 0.0115, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52663, 55611, 0.0115, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52663, 55567, 0.0115, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52663, 55583, 0.0111, 1, 0, 1, 1), -- 5Highperch Greaves
    (52663, 55700, 0.0111, 1, 0, 1, 1), -- 5Dandred Waistband
    (52663, 55539, 0.0111, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52663, 55638, 0.0111, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52663, 55692, 0.0111, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52663, 55585, 0.0108, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52663, 55693, 0.0108, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52663, 55368, 0.0104, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52663, 55512, 0.0104, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52663, 55701, 0.0104, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52663, 55529, 0.0100, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52663, 55574, 0.0100, 1, 0, 1, 1), -- 5Highperch Vest
    (52663, 55521, 0.0100, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52663, 55602, 0.0100, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52663, 55647, 0.0100, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52663, 55675, 0.0100, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52663, 55702, 0.0100, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52663, 55511, 0.0097, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52663, 55601, 0.0097, 1, 0, 1, 1), -- 5Highperch Helm
    (52663, 55332, 0.0097, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52663, 55603, 0.0097, 1, 0, 1, 1), -- 5Talondeep Helm
    (52663, 55376, 0.0093, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52663, 55412, 0.0093, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52663, 55646, 0.0093, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52663, 55431, 0.0093, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52663, 55575, 0.0093, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52663, 55522, 0.0093, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52663, 55684, 0.0093, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52663, 55682, 0.0090, 1, 0, 1, 1), -- 5Dandred Britches
    (52663, 55313, 0.0086, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52663, 55349, 0.0086, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52663, 55377, 0.0086, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52663, 55396, 0.0086, 1, 0, 1, 1), -- 5Irontree Hammer
    (52663, 55621, 0.0086, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52663, 55493, 0.0082, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52663, 55610, 0.0082, 1, 0, 1, 1), -- 5Highperch Legguards
    (52663, 55386, 0.0082, 1, 0, 1, 1), -- 5Bladefist Mace
    (52663, 55639, 0.0082, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52663, 55350, 0.0079, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52663, 55557, 0.0079, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52663, 55566, 0.0079, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52663, 55457, 0.0075, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52663, 55620, 0.0075, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52663, 55656, 0.0075, 1, 0, 1, 1), -- 5Haldarr Boots
    (52663, 55351, 0.0075, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52663, 55286, 0.0072, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52663, 55331, 0.0072, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52663, 55593, 0.0072, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52663, 55315, 0.0072, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52663, 55513, 0.0072, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52663, 55531, 0.0072, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52663, 55630, 0.0072, 1, 0, 1, 1), -- 5Talondeep Belt
    (52663, 55657, 0.0072, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52663, 55556, 0.0068, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52663, 55637, 0.0068, 1, 0, 1, 1), -- 5Dandred Bindings
    (52663, 55387, 0.0068, 1, 0, 1, 1), -- 5Irontree Mace
    (52663, 55458, 0.0065, 1, 0, 1, 1), -- 5Bladefist Sword
    (52663, 55295, 0.0061, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52663, 55385, 0.0061, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52663, 55629, 0.0061, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52663, 55333, 0.0061, 1, 0, 1, 1), -- 5Irontree Dagger
    (52663, 55378, 0.0061, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52663, 52197, 0.0057, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52663, 65894, 0.0057, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52663, 55466, 0.0057, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52663, 55287, 0.0057, 1, 0, 1, 1), -- 5Bladefist Axe
    (52663, 55395, 0.0054, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52663, 55413, 0.0054, 1, 0, 1, 1), -- 5Bladefist Spear
    (52663, 55432, 0.0054, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52663, 55314, 0.0050, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52663, 55360, 0.0050, 1, 0, 1, 1), -- 5Irontree Gun
    (52663, 55340, 0.0047, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52663, 55296, 0.0047, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52663, 55449, 0.0047, 1, 0, 1, 1), -- 5Bladefist Staff
    (52663, 55467, 0.0047, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52663, 55288, 0.0047, 1, 0, 1, 1), -- 5Irontree Axe
    (52663, 65895, 0.0043, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52663, 65896, 0.0043, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52663, 55430, 0.0043, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52663, 55576, 0.0043, 1, 0, 1, 1), -- 5Talondeep Vest
    (52663, 68782, 0.0039, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (52663, 55414, 0.0039, 1, 0, 1, 1), -- 5Irontree Spear
    (52663, 55459, 0.0039, 1, 0, 1, 1), -- 5Irontree Sword
    (52663, 67121, 0.0036, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (52663, 55448, 0.0036, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52663, 55342, 0.0036, 1, 0, 1, 1), -- 5Irontree Staff
    (52663, 65897, 0.0032, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52663, 52374, 0.0032, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (52663, 52386, 0.0032, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52663, 55297, 0.0032, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52663, 55450, 0.0032, 1, 0, 1, 1), -- 5Irontree Staff
    (52663, 52369, 0.0029, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (52663, 68787, 0.0025, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (52663, 67119, 0.0025, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (52663, 52364, 0.0025, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (52663, 52379, 0.0025, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52663, 55394, 0.0025, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (52663, 55341, 0.0025, 1, 0, 1, 1), -- 5Bladefist Staff
    (52663, 66940, 0.0022, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (52663, 66990, 0.0022, 1, 0, 1, 1), -- 4Downfall Hammer
    (52663, 67122, 0.0022, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (52663, 67124, 0.0022, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52663, 55359, 0.0022, 1, 0, 1, 1), -- 5Bladefist Gun
    (52663, 55468, 0.0022, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52663, 66941, 0.0018, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (52663, 66973, 0.0018, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52663, 67127, 0.0018, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (52663, 52363, 0.0018, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52663, 52368, 0.0018, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (52663, 52373, 0.0018, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (52663, 52378, 0.0018, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52663, 52382, 0.0018, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52663, 52383, 0.0018, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (52663, 52385, 0.0018, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52663, 55322, 0.0018, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (52663, 55305, 0.0018, 1, 0, 1, 1), -- 5Bladefist Bow
    (52663, 67138, 0.0014, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (52663, 66970, 0.0014, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (52663, 66972, 0.0014, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52663, 52370, 0.0014, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52663, 52372, 0.0014, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52663, 55358, 0.0014, 1, 0, 1, 1), -- 5Mardenholde Gun
    (52663, 55324, 0.0014, 1, 0, 1, 1), -- 5Irontree Crossbow
    (52663, 67139, 0.0011, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (52663, 67142, 0.0011, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (52663, 68781, 0.0011, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52663, 68783, 0.0011, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52663, 66931, 0.0011, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52663, 67061, 0.0011, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (52663, 66942, 0.0011, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (52663, 66992, 0.0011, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (52663, 67067, 0.0011, 1, 0, 1, 1), -- 4Belt of Guardianship
    (52663, 67069, 0.0011, 1, 0, 1, 1), -- 4Shade of Death
    (52663, 67071, 0.0011, 1, 0, 1, 1), -- 4Staff of Old Woes
    (52663, 67123, 0.0011, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (52663, 67126, 0.0011, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (52663, 52366, 0.0011, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52663, 52367, 0.0011, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52663, 52371, 0.0011, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52663, 55304, 0.0011, 1, 0, 1, 1), -- 5Mardenholde Bow
    (52663, 67130, 0.0007, 1, 0, 1, 1), -- 3Dorian's Lost Necklace
    (52663, 67135, 0.0007, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (52663, 67140, 0.0007, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (52663, 67143, 0.0007, 1, 0, 1, 1), -- 3Icebone Hauberk
    (52663, 68789, 0.0007, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (52663, 66932, 0.0007, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (52663, 66971, 0.0007, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (52663, 66991, 0.0007, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (52663, 67120, 0.0007, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (52663, 66974, 0.0007, 1, 0, 1, 1), -- 4Nightrend Choker
    (52663, 66975, 0.0007, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (52663, 66993, 0.0007, 1, 0, 1, 1), -- 4Sorrow's End
    (52663, 66994, 0.0007, 1, 0, 1, 1), -- 4Soul's Anguish
    (52663, 52375, 0.0007, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52663, 52376, 0.0007, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52663, 52377, 0.0007, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (52663, 69820, 0.0007, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52663, 55323, 0.0007, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (52663, 55306, 0.0007, 1, 0, 1, 1), -- 5Irontree Bow
    (52663, 67129, 0.0004, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (52663, 67132, 0.0004, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (52663, 67133, 0.0004, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (52663, 67146, 0.0004, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (52663, 67148, 0.0004, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (52663, 67149, 0.0004, 1, 0, 1, 1), -- 3Heartbound Tome
    (52663, 67150, 0.0004, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (52663, 68788, 0.0004, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52663, 66968, 0.0004, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (52663, 66969, 0.0004, 1, 0, 1, 1), -- 4Heart of the Vile
    (52663, 66989, 0.0004, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (52663, 67057, 0.0004, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (52663, 52365, 0.0004, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52663, 52388, 0.0004, 1, 0, 1, 1); -- 5Design: Zen Jasper
    UPDATE `creature_template` SET `lootid` = 52663 WHERE `entry` = 52663;
    
    
        --  http://www.wowhead.com/npc=52680
    DELETE FROM `creature_loot_template` WHERE `entry` = 52680;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52680, 56234, 89.0656, 1, 0, 1, 1), -- 7Smooth Scale
    (52680, 56236, 9.3439, 1, 0, 1, 1), -- 7Cloudy Brille
    (52680, 62271, 0.9940, 1, 0, 1, 1), -- 7Battered Scale
    (52680, 62784, 0.5964, 1, 0, 1, 1), -- 6Crocolisk Tail
    (52680, 65894, 0.3976, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52680, 62270, 0.1988, 1, 0, 1, 1); -- 7Grooved Fang
    UPDATE `creature_template` SET `lootid` = 52680 WHERE `entry` = 52680;
    
        --  http://www.wowhead.com/npc=52771
    DELETE FROM `creature_loot_template` WHERE `entry` = 52771;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52771, 71375, 95.5068, 1, 0, 1, 1), -- 7Red Ash
    (52771, 71376, 4.4504, 1, 0, 1, 1), -- 7Lava Ruby
    (52771, 68729, 0.1817, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52771, 62067, 0.0898, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52771, 62064, 0.0882, 1, 0, 1, 1), -- 7Warped Greatsword
    (52771, 62071, 0.0876, 1, 0, 1, 1), -- 7Corroded Blade
    (52771, 62066, 0.0869, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52771, 62072, 0.0869, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52771, 62069, 0.0849, 1, 0, 1, 1), -- 7Plugged Rifle
    (52771, 62063, 0.0839, 1, 0, 1, 1), -- 7Shattered War Mace
    (52771, 62065, 0.0828, 1, 0, 1, 1), -- 7Melted Cleaver
    (52771, 62068, 0.0826, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52771, 62070, 0.0810, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52771, 62098, 0.0450, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52771, 62075, 0.0437, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52771, 62073, 0.0415, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52771, 62087, 0.0410, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52771, 62090, 0.0397, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52771, 62085, 0.0389, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52771, 62113, 0.0386, 1, 0, 1, 1), -- 7Singed Gloves
    (52771, 62100, 0.0380, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52771, 62080, 0.0378, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52771, 62083, 0.0376, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52771, 62096, 0.0373, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52771, 62088, 0.0369, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52771, 55422, 0.0365, 1, 0, 1, 1), -- 5Thondroril Ring
    (52771, 62077, 0.0365, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52771, 62084, 0.0365, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52771, 62074, 0.0363, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52771, 62079, 0.0360, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52771, 62099, 0.0360, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52771, 62103, 0.0360, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52771, 62082, 0.0354, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52771, 62089, 0.0354, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52771, 62102, 0.0354, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52771, 62092, 0.0352, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52771, 62104, 0.0339, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52771, 55421, 0.0338, 1, 0, 1, 1), -- 5Mereldar Ring
    (52771, 62076, 0.0332, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52771, 62101, 0.0332, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52771, 62078, 0.0327, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52771, 62095, 0.0323, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52771, 62123, 0.0315, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52771, 62081, 0.0314, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52771, 62093, 0.0314, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52771, 62094, 0.0314, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52771, 62121, 0.0310, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52771, 62086, 0.0308, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52771, 62109, 0.0304, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52771, 62115, 0.0304, 1, 0, 1, 1), -- 7Singed Boots
    (52771, 55423, 0.0303, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52771, 62091, 0.0299, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52771, 62116, 0.0299, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52771, 62130, 0.0295, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52771, 62112, 0.0293, 1, 0, 1, 1), -- 7Singed Pants
    (52771, 62108, 0.0290, 1, 0, 1, 1), -- 7Singed Armor
    (52771, 62111, 0.0290, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52771, 62122, 0.0290, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52771, 62127, 0.0286, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52771, 62097, 0.0284, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52771, 62117, 0.0282, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52771, 62106, 0.0280, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52771, 62131, 0.0277, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52771, 62114, 0.0275, 1, 0, 1, 1), -- 7Singed Bracers
    (52771, 62136, 0.0275, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52771, 62124, 0.0273, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52771, 55441, 0.0271, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52771, 62110, 0.0271, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52771, 62132, 0.0266, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52771, 62118, 0.0260, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52771, 55439, 0.0255, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52771, 62125, 0.0255, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52771, 62129, 0.0255, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52771, 62105, 0.0251, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52771, 62126, 0.0245, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52771, 62119, 0.0242, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52771, 62128, 0.0240, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52771, 55494, 0.0238, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52771, 62107, 0.0236, 1, 0, 1, 1), -- 7Singed Belt
    (52771, 62135, 0.0234, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52771, 62133, 0.0229, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52771, 62134, 0.0227, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52771, 55440, 0.0225, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52771, 62120, 0.0212, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52771, 55486, 0.0210, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52771, 55710, 0.0205, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52771, 55745, 0.0197, 1, 0, 1, 1), -- 5Everstill Cowl
    (52771, 55772, 0.0197, 1, 0, 1, 1), -- 5Everstill Cord
    (52771, 55736, 0.0196, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52771, 55763, 0.0188, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52771, 55711, 0.0186, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52771, 55764, 0.0181, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52771, 55718, 0.0179, 1, 0, 1, 1), -- 5Everstill Robe
    (52771, 67539, 0.0179, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52771, 55665, 0.0175, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52771, 55403, 0.0170, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52771, 55737, 0.0170, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52771, 55709, 0.0166, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52771, 55719, 0.0164, 1, 0, 1, 1), -- 5Mystral Robe
    (52771, 55727, 0.0160, 1, 0, 1, 1), -- 5Everstill Sandals
    (52771, 55404, 0.0159, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52771, 55629, 0.0157, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52771, 55367, 0.0155, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52771, 55646, 0.0155, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52771, 55773, 0.0153, 1, 0, 1, 1), -- 5Mystral Cord
    (52771, 55656, 0.0149, 1, 0, 1, 1), -- 5Haldarr Boots
    (52771, 55728, 0.0149, 1, 0, 1, 1), -- 5Mystral Sandals
    (52771, 55746, 0.0149, 1, 0, 1, 1), -- 5Mystral Cowl
    (52771, 55756, 0.0149, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52771, 55720, 0.0146, 1, 0, 1, 1), -- 5Bluefen Robe
    (52771, 55729, 0.0146, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52771, 55774, 0.0146, 1, 0, 1, 1), -- 5Bluefen Cord
    (52771, 55484, 0.0144, 1, 0, 1, 1), -- 5Mereldar Wand
    (52771, 55754, 0.0144, 1, 0, 1, 1), -- 5Everstill Leggings
    (52771, 55529, 0.0142, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52771, 55520, 0.0140, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52771, 55583, 0.0140, 1, 0, 1, 1), -- 5Highperch Greaves
    (52771, 55637, 0.0140, 1, 0, 1, 1), -- 5Dandred Bindings
    (52771, 55593, 0.0140, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52771, 55675, 0.0138, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52771, 55738, 0.0137, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52771, 55682, 0.0135, 1, 0, 1, 1), -- 5Dandred Britches
    (52771, 55765, 0.0135, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52771, 55485, 0.0133, 1, 0, 1, 1), -- 5Thondroril Wand
    (52771, 55503, 0.0133, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52771, 55647, 0.0133, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52771, 55683, 0.0133, 1, 0, 1, 1), -- 5Haldarr Britches
    (52771, 55539, 0.0131, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52771, 55673, 0.0129, 1, 0, 1, 1), -- 5Dandred Hood
    (52771, 55314, 0.0129, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52771, 55691, 0.0127, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52771, 55512, 0.0127, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52771, 55585, 0.0127, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52771, 55538, 0.0125, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52771, 55648, 0.0125, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52771, 55747, 0.0125, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52771, 55592, 0.0124, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52771, 55755, 0.0124, 1, 0, 1, 1), -- 5Mystral Leggings
    (52771, 55666, 0.0124, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52771, 55684, 0.0122, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52771, 55556, 0.0120, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52771, 55619, 0.0120, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52771, 55602, 0.0120, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52771, 55638, 0.0120, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52771, 55549, 0.0120, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52771, 55702, 0.0120, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52771, 55521, 0.0118, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52771, 55611, 0.0118, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52771, 55558, 0.0118, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52771, 55630, 0.0118, 1, 0, 1, 1), -- 5Talondeep Belt
    (52771, 55628, 0.0116, 1, 0, 1, 1), -- 5Highperch Belt
    (52771, 55700, 0.0116, 1, 0, 1, 1), -- 5Dandred Waistband
    (52771, 55368, 0.0116, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52771, 55431, 0.0116, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52771, 55620, 0.0116, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52771, 55693, 0.0116, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52771, 55639, 0.0114, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52771, 55530, 0.0113, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52771, 55405, 0.0113, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52771, 55511, 0.0111, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52771, 55504, 0.0111, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52771, 55513, 0.0111, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52771, 55531, 0.0111, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52771, 55610, 0.0109, 1, 0, 1, 1), -- 5Highperch Legguards
    (52771, 55692, 0.0109, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52771, 55522, 0.0109, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52771, 55576, 0.0109, 1, 0, 1, 1), -- 5Talondeep Vest
    (52771, 55584, 0.0107, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52771, 55594, 0.0107, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52771, 55565, 0.0105, 1, 0, 1, 1), -- 5Highperch Bracers
    (52771, 55566, 0.0105, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52771, 55575, 0.0105, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52771, 55493, 0.0103, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52771, 55601, 0.0103, 1, 0, 1, 1), -- 5Highperch Helm
    (52771, 55701, 0.0103, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52771, 55612, 0.0100, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52771, 55655, 0.0098, 1, 0, 1, 1), -- 5Dandred Boots
    (52771, 55369, 0.0098, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52771, 55567, 0.0098, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52771, 55674, 0.0096, 1, 0, 1, 1), -- 5Haldarr Hood
    (52771, 55574, 0.0094, 1, 0, 1, 1), -- 5Highperch Vest
    (52771, 55548, 0.0094, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52771, 55557, 0.0094, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52771, 55621, 0.0094, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52771, 55502, 0.0092, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52771, 55547, 0.0089, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52771, 55315, 0.0089, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52771, 55432, 0.0089, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52771, 55495, 0.0089, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52771, 55385, 0.0087, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52771, 55540, 0.0085, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52771, 55430, 0.0083, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52771, 55458, 0.0083, 1, 0, 1, 1), -- 5Bladefist Sword
    (52771, 55664, 0.0081, 1, 0, 1, 1), -- 5Dandred Gloves
    (52771, 55377, 0.0081, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52771, 55386, 0.0079, 1, 0, 1, 1), -- 5Bladefist Mace
    (52771, 55457, 0.0077, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52771, 55603, 0.0077, 1, 0, 1, 1), -- 5Talondeep Helm
    (52771, 55313, 0.0076, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52771, 55349, 0.0076, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52771, 55376, 0.0076, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52771, 55332, 0.0074, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52771, 55351, 0.0074, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52771, 55657, 0.0074, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52771, 55350, 0.0072, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52771, 55378, 0.0072, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52771, 55295, 0.0070, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52771, 55396, 0.0070, 1, 0, 1, 1), -- 5Irontree Hammer
    (52771, 55450, 0.0066, 1, 0, 1, 1), -- 5Irontree Staff
    (52771, 55297, 0.0065, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52771, 55387, 0.0065, 1, 0, 1, 1), -- 5Irontree Mace
    (52771, 55287, 0.0063, 1, 0, 1, 1), -- 5Bladefist Axe
    (52771, 55341, 0.0063, 1, 0, 1, 1), -- 5Bladefist Staff
    (52771, 55296, 0.0061, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52771, 65894, 0.0057, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52771, 65897, 0.0055, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52771, 55304, 0.0055, 1, 0, 1, 1), -- 5Mardenholde Bow
    (52771, 55459, 0.0055, 1, 0, 1, 1), -- 5Irontree Sword
    (52771, 55331, 0.0053, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52771, 55286, 0.0050, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52771, 55333, 0.0050, 1, 0, 1, 1), -- 5Irontree Dagger
    (52771, 65896, 0.0048, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52771, 55340, 0.0048, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52771, 55342, 0.0048, 1, 0, 1, 1), -- 5Irontree Staff
    (52771, 55467, 0.0046, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52771, 55412, 0.0044, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52771, 55288, 0.0042, 1, 0, 1, 1), -- 5Irontree Axe
    (52771, 55395, 0.0041, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52771, 55413, 0.0041, 1, 0, 1, 1), -- 5Bladefist Spear
    (52771, 55466, 0.0039, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52771, 55449, 0.0039, 1, 0, 1, 1), -- 5Bladefist Staff
    (52771, 66932, 0.0037, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (52771, 55394, 0.0035, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (52771, 65895, 0.0033, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52771, 52372, 0.0033, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52771, 52197, 0.0031, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52771, 52370, 0.0031, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52771, 55468, 0.0030, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52771, 66931, 0.0028, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52771, 66971, 0.0028, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (52771, 66973, 0.0028, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52771, 52369, 0.0028, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (52771, 66975, 0.0026, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (52771, 52365, 0.0026, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52771, 67120, 0.0024, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (52771, 52378, 0.0024, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52771, 55448, 0.0024, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52771, 67071, 0.0022, 1, 0, 1, 1), -- 4Staff of Old Woes
    (52771, 52377, 0.0022, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (52771, 67131, 0.0020, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (52771, 67119, 0.0020, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (52771, 67121, 0.0020, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (52771, 66942, 0.0020, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (52771, 52382, 0.0020, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52771, 55305, 0.0020, 1, 0, 1, 1), -- 5Bladefist Bow
    (52771, 55359, 0.0020, 1, 0, 1, 1), -- 5Bladefist Gun
    (52771, 68783, 0.0018, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52771, 66969, 0.0018, 1, 0, 1, 1), -- 4Heart of the Vile
    (52771, 67067, 0.0018, 1, 0, 1, 1), -- 4Belt of Guardianship
    (52771, 67127, 0.0018, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (52771, 52363, 0.0018, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52771, 52388, 0.0018, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52771, 55323, 0.0018, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (52771, 68789, 0.0017, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (52771, 66972, 0.0017, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52771, 66976, 0.0017, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (52771, 52371, 0.0017, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52771, 52375, 0.0017, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52771, 55414, 0.0017, 1, 0, 1, 1), -- 5Irontree Spear
    (52771, 68787, 0.0015, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (52771, 66989, 0.0015, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (52771, 66990, 0.0015, 1, 0, 1, 1), -- 4Downfall Hammer
    (52771, 66941, 0.0015, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (52771, 52366, 0.0015, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52771, 69820, 0.0015, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52771, 67133, 0.0013, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (52771, 67143, 0.0013, 1, 0, 1, 1), -- 3Icebone Hauberk
    (52771, 66940, 0.0013, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (52771, 66970, 0.0013, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (52771, 66991, 0.0013, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (52771, 66992, 0.0013, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (52771, 66993, 0.0013, 1, 0, 1, 1), -- 4Sorrow's End
    (52771, 52373, 0.0013, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (52771, 52379, 0.0013, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52771, 55322, 0.0013, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (52771, 68781, 0.0011, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52771, 68782, 0.0011, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (52771, 68788, 0.0011, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52771, 67061, 0.0011, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (52771, 52368, 0.0011, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (52771, 52376, 0.0011, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52771, 52385, 0.0011, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52771, 55324, 0.0011, 1, 0, 1, 1), -- 5Irontree Crossbow
    (52771, 67136, 0.0009, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (52771, 66968, 0.0009, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (52771, 67057, 0.0009, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (52771, 66974, 0.0009, 1, 0, 1, 1), -- 4Nightrend Choker
    (52771, 67126, 0.0009, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (52771, 52386, 0.0009, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52771, 67150, 0.0007, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (52771, 67122, 0.0007, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (52771, 66994, 0.0007, 1, 0, 1, 1), -- 4Soul's Anguish
    (52771, 67123, 0.0007, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (52771, 67124, 0.0007, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52771, 52364, 0.0007, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (52771, 52367, 0.0007, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52771, 55360, 0.0007, 1, 0, 1, 1), -- 5Irontree Gun
    (52771, 67144, 0.0006, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (52771, 67148, 0.0006, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (52771, 67149, 0.0006, 1, 0, 1, 1), -- 3Heartbound Tome
    (52771, 67125, 0.0006, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (52771, 52383, 0.0006, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (52771, 55358, 0.0006, 1, 0, 1, 1), -- 5Mardenholde Gun
    (52771, 55306, 0.0006, 1, 0, 1, 1), -- 5Irontree Bow
    (52771, 67129, 0.0004, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (52771, 67130, 0.0004, 1, 0, 1, 1), -- 3Dorian's Lost Necklace
    (52771, 67132, 0.0004, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (52771, 67137, 0.0004, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (52771, 67138, 0.0004, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (52771, 67139, 0.0004, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (52771, 67140, 0.0004, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (52771, 67142, 0.0004, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (52771, 67146, 0.0004, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (52771, 52374, 0.0004, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (52771, 67134, 0.0002, 1, 0, 1, 1), -- 3Dory's Finery
    (52771, 67135, 0.0002, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (52771, 67141, 0.0002, 1, 0, 1, 1), -- 3Corefire Legplates
    (52771, 67069, 0.0002, 1, 0, 1, 1); -- 4Shade of Death
    UPDATE `creature_template` SET `lootid` = 52771 WHERE `entry` = 52771;
    
        --  http://www.wowhead.com/npc=52871
    DELETE FROM `creature_loot_template` WHERE `entry` = 52871;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52871, 53010, 32.8112, 1, 0, 1, 1), -- 6Embersilk Cloth
    (52871, 58264, 14.8129, 1, 0, 1, 1), -- 6Sour Green Apple
    (52871, 68198, 12.9764, 1, 0, 1, 1), -- 7Ruined Embersilk Scraps
    (52871, 58256, 7.7616, 1, 0, 1, 1), -- 6Sparkling Oasis Water
    (52871, 68197, 4.3229, 1, 0, 1, 1), -- 7Scavenged Animal Parts
    (52871, 68729, 0.2570, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52871, 62069, 0.2192, 1, 0, 1, 1), -- 7Plugged Rifle
    (52871, 62079, 0.1606, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52871, 62107, 0.1512, 1, 0, 1, 1), -- 7Singed Belt
    (52871, 62068, 0.1474, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52871, 62072, 0.1455, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52871, 62070, 0.1417, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52871, 62066, 0.1398, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52871, 62064, 0.1360, 1, 0, 1, 1), -- 7Warped Greatsword
    (52871, 62067, 0.1304, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52871, 62071, 0.1266, 1, 0, 1, 1), -- 7Corroded Blade
    (52871, 62063, 0.1228, 1, 0, 1, 1), -- 7Shattered War Mace
    (52871, 62094, 0.1209, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52871, 62065, 0.1077, 1, 0, 1, 1), -- 7Melted Cleaver
    (52871, 62077, 0.0888, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52871, 62081, 0.0831, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52871, 62098, 0.0756, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52871, 55422, 0.0737, 1, 0, 1, 1), -- 5Thondroril Ring
    (52871, 62087, 0.0680, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52871, 62101, 0.0680, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52871, 62117, 0.0680, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52871, 62123, 0.0680, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52871, 62088, 0.0661, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52871, 62108, 0.0661, 1, 0, 1, 1), -- 7Singed Armor
    (52871, 62076, 0.0642, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52871, 62085, 0.0642, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52871, 62099, 0.0642, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52871, 62113, 0.0642, 1, 0, 1, 1), -- 7Singed Gloves
    (52871, 62118, 0.0642, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52871, 62136, 0.0642, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52871, 62075, 0.0624, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52871, 62096, 0.0624, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52871, 55421, 0.0605, 1, 0, 1, 1), -- 5Mereldar Ring
    (52871, 62073, 0.0605, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52871, 62074, 0.0586, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52871, 62104, 0.0586, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52871, 62125, 0.0586, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52871, 55369, 0.0548, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52871, 62078, 0.0548, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52871, 62119, 0.0548, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52871, 62131, 0.0548, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52871, 62084, 0.0529, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52871, 62097, 0.0529, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52871, 62103, 0.0529, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52871, 62080, 0.0510, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52871, 62086, 0.0510, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52871, 62126, 0.0510, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52871, 62082, 0.0491, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52871, 62093, 0.0491, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52871, 62130, 0.0491, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52871, 55493, 0.0472, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52871, 62116, 0.0472, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52871, 62121, 0.0472, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52871, 62089, 0.0453, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52871, 62095, 0.0453, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52871, 62135, 0.0453, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52871, 55368, 0.0435, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52871, 55440, 0.0435, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52871, 55755, 0.0435, 1, 0, 1, 1), -- 5Mystral Leggings
    (52871, 62083, 0.0435, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52871, 62110, 0.0435, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52871, 55664, 0.0416, 1, 0, 1, 1), -- 5Dandred Gloves
    (52871, 55710, 0.0416, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52871, 55738, 0.0416, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52871, 62091, 0.0416, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52871, 62102, 0.0416, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52871, 62106, 0.0416, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52871, 62114, 0.0416, 1, 0, 1, 1), -- 7Singed Bracers
    (52871, 55565, 0.0397, 1, 0, 1, 1), -- 5Highperch Bracers
    (52871, 55737, 0.0397, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52871, 55747, 0.0397, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52871, 62128, 0.0397, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52871, 55547, 0.0378, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52871, 55736, 0.0378, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52871, 55638, 0.0378, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52871, 62112, 0.0378, 1, 0, 1, 1), -- 7Singed Pants
    (52871, 62122, 0.0378, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52871, 62132, 0.0378, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52871, 55548, 0.0359, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52871, 55719, 0.0359, 1, 0, 1, 1), -- 5Mystral Robe
    (52871, 55709, 0.0340, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52871, 55423, 0.0340, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52871, 55756, 0.0340, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52871, 62092, 0.0340, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52871, 62109, 0.0340, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52871, 62111, 0.0340, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52871, 62120, 0.0340, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52871, 62124, 0.0340, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52871, 62129, 0.0340, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52871, 55439, 0.0302, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52871, 55484, 0.0302, 1, 0, 1, 1), -- 5Mereldar Wand
    (52871, 55727, 0.0302, 1, 0, 1, 1), -- 5Everstill Sandals
    (52871, 55772, 0.0302, 1, 0, 1, 1), -- 5Everstill Cord
    (52871, 55378, 0.0302, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52871, 55441, 0.0302, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52871, 62133, 0.0302, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52871, 55718, 0.0283, 1, 0, 1, 1), -- 5Everstill Robe
    (52871, 55754, 0.0283, 1, 0, 1, 1), -- 5Everstill Leggings
    (52871, 55557, 0.0283, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52871, 55764, 0.0283, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52871, 55711, 0.0283, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52871, 55720, 0.0283, 1, 0, 1, 1), -- 5Bluefen Robe
    (52871, 62100, 0.0283, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52871, 62115, 0.0283, 1, 0, 1, 1), -- 7Singed Boots
    (52871, 62134, 0.0283, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52871, 55404, 0.0265, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52871, 55566, 0.0265, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52871, 55746, 0.0265, 1, 0, 1, 1), -- 5Mystral Cowl
    (52871, 55773, 0.0265, 1, 0, 1, 1), -- 5Mystral Cord
    (52871, 55531, 0.0265, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52871, 67539, 0.0265, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52871, 62090, 0.0265, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52871, 62127, 0.0265, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52871, 55376, 0.0246, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52871, 55745, 0.0246, 1, 0, 1, 1), -- 5Everstill Cowl
    (52871, 55530, 0.0246, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52871, 55539, 0.0246, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52871, 55728, 0.0246, 1, 0, 1, 1), -- 5Mystral Sandals
    (52871, 55540, 0.0246, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52871, 55765, 0.0246, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52871, 55774, 0.0246, 1, 0, 1, 1), -- 5Bluefen Cord
    (52871, 55574, 0.0227, 1, 0, 1, 1), -- 5Highperch Vest
    (52871, 55619, 0.0227, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52871, 55682, 0.0227, 1, 0, 1, 1), -- 5Dandred Britches
    (52871, 55314, 0.0227, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52871, 55611, 0.0227, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52871, 55412, 0.0208, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52871, 55556, 0.0208, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52871, 55601, 0.0208, 1, 0, 1, 1), -- 5Highperch Helm
    (52871, 55628, 0.0208, 1, 0, 1, 1), -- 5Highperch Belt
    (52871, 55503, 0.0208, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52871, 55512, 0.0208, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52871, 55584, 0.0208, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52871, 55692, 0.0208, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52871, 55576, 0.0208, 1, 0, 1, 1), -- 5Talondeep Vest
    (52871, 55729, 0.0208, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52871, 62105, 0.0208, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52871, 55295, 0.0189, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52871, 55403, 0.0189, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52871, 55610, 0.0189, 1, 0, 1, 1), -- 5Highperch Legguards
    (52871, 55655, 0.0189, 1, 0, 1, 1), -- 5Dandred Boots
    (52871, 55763, 0.0189, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52871, 55629, 0.0189, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52871, 55288, 0.0189, 1, 0, 1, 1), -- 5Irontree Axe
    (52871, 55405, 0.0189, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52871, 55558, 0.0189, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52871, 55603, 0.0189, 1, 0, 1, 1), -- 5Talondeep Helm
    (52871, 55639, 0.0189, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52871, 55520, 0.0170, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52871, 55673, 0.0170, 1, 0, 1, 1), -- 5Dandred Hood
    (52871, 55691, 0.0170, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52871, 55377, 0.0170, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52871, 55647, 0.0170, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52871, 55683, 0.0170, 1, 0, 1, 1), -- 5Haldarr Britches
    (52871, 55351, 0.0170, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52871, 55387, 0.0170, 1, 0, 1, 1), -- 5Irontree Mace
    (52871, 55486, 0.0170, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52871, 55504, 0.0170, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52871, 55666, 0.0170, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52871, 55485, 0.0151, 1, 0, 1, 1), -- 5Thondroril Wand
    (52871, 55494, 0.0151, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52871, 55315, 0.0151, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52871, 55549, 0.0151, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52871, 55675, 0.0151, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52871, 65896, 0.0132, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52871, 55313, 0.0132, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52871, 55502, 0.0132, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52871, 55529, 0.0132, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52871, 55538, 0.0132, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52871, 55583, 0.0132, 1, 0, 1, 1), -- 5Highperch Greaves
    (52871, 55646, 0.0132, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52871, 55700, 0.0132, 1, 0, 1, 1), -- 5Dandred Waistband
    (52871, 55341, 0.0132, 1, 0, 1, 1), -- 5Bladefist Staff
    (52871, 55350, 0.0132, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52871, 55674, 0.0132, 1, 0, 1, 1), -- 5Haldarr Hood
    (52871, 55396, 0.0132, 1, 0, 1, 1), -- 5Irontree Hammer
    (52871, 55513, 0.0132, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52871, 55567, 0.0132, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52871, 55594, 0.0132, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52871, 55612, 0.0132, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52871, 55621, 0.0132, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52871, 55630, 0.0132, 1, 0, 1, 1), -- 5Talondeep Belt
    (52871, 55693, 0.0132, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52871, 65897, 0.0113, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52871, 55367, 0.0113, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52871, 55511, 0.0113, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52871, 55637, 0.0113, 1, 0, 1, 1), -- 5Dandred Bindings
    (52871, 55575, 0.0113, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52871, 55656, 0.0113, 1, 0, 1, 1), -- 5Haldarr Boots
    (52871, 55701, 0.0113, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52871, 55333, 0.0113, 1, 0, 1, 1), -- 5Irontree Dagger
    (52871, 55522, 0.0113, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52871, 55657, 0.0113, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52871, 52383, 0.0094, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (52871, 55340, 0.0094, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52871, 55592, 0.0094, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52871, 55431, 0.0094, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52871, 55521, 0.0094, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52871, 55593, 0.0094, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52871, 55602, 0.0094, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52871, 55620, 0.0094, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52871, 55665, 0.0094, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52871, 55342, 0.0094, 1, 0, 1, 1), -- 5Irontree Staff
    (52871, 55468, 0.0094, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52871, 55495, 0.0094, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52871, 55648, 0.0094, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52871, 55684, 0.0094, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52871, 66968, 0.0076, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (52871, 65894, 0.0076, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52871, 52372, 0.0076, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52871, 52379, 0.0076, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52871, 55331, 0.0076, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52871, 55466, 0.0076, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52871, 55449, 0.0076, 1, 0, 1, 1), -- 5Bladefist Staff
    (52871, 55467, 0.0076, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52871, 55297, 0.0076, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52871, 55414, 0.0076, 1, 0, 1, 1), -- 5Irontree Spear
    (52871, 55459, 0.0076, 1, 0, 1, 1), -- 5Irontree Sword
    (52871, 55585, 0.0076, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52871, 68783, 0.0057, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52871, 68788, 0.0057, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52871, 68789, 0.0057, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (52871, 67057, 0.0057, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (52871, 67122, 0.0057, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (52871, 52375, 0.0057, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52871, 52376, 0.0057, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52871, 69820, 0.0057, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52871, 55322, 0.0057, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (52871, 55385, 0.0057, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52871, 55448, 0.0057, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52871, 55323, 0.0057, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (52871, 55386, 0.0057, 1, 0, 1, 1), -- 5Bladefist Mace
    (52871, 55458, 0.0057, 1, 0, 1, 1), -- 5Bladefist Sword
    (52871, 55306, 0.0057, 1, 0, 1, 1), -- 5Irontree Bow
    (52871, 68787, 0.0038, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (52871, 66976, 0.0038, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (52871, 66993, 0.0038, 1, 0, 1, 1), -- 4Sorrow's End
    (52871, 66994, 0.0038, 1, 0, 1, 1), -- 4Soul's Anguish
    (52871, 67067, 0.0038, 1, 0, 1, 1), -- 4Belt of Guardianship
    (52871, 52364, 0.0038, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (52871, 52366, 0.0038, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52871, 52369, 0.0038, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (52871, 52386, 0.0038, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52871, 55358, 0.0038, 1, 0, 1, 1), -- 5Mardenholde Gun
    (52871, 55430, 0.0038, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52871, 55457, 0.0038, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52871, 55296, 0.0038, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52871, 55332, 0.0038, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52871, 55359, 0.0038, 1, 0, 1, 1), -- 5Bladefist Gun
    (52871, 55324, 0.0038, 1, 0, 1, 1), -- 5Irontree Crossbow
    (52871, 55432, 0.0038, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52871, 55702, 0.0038, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52871, 67135, 0.0019, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (52871, 67147, 0.0019, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (52871, 68781, 0.0019, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52871, 66931, 0.0019, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52871, 66940, 0.0019, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (52871, 66989, 0.0019, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (52871, 66990, 0.0019, 1, 0, 1, 1), -- 4Downfall Hammer
    (52871, 67061, 0.0019, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (52871, 67119, 0.0019, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (52871, 67120, 0.0019, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (52871, 67121, 0.0019, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (52871, 66941, 0.0019, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (52871, 66992, 0.0019, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (52871, 67124, 0.0019, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52871, 65895, 0.0019, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52871, 20400, 0.0019, 1, 0, 1, 1), -- 5Pumpkin Bag
    (52871, 52365, 0.0019, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52871, 52367, 0.0019, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52871, 52368, 0.0019, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (52871, 52377, 0.0019, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (52871, 52378, 0.0019, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52871, 52382, 0.0019, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52871, 52385, 0.0019, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52871, 52388, 0.0019, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52871, 55286, 0.0019, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52871, 55394, 0.0019, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (52871, 55287, 0.0019, 1, 0, 1, 1), -- 5Bladefist Axe
    (52871, 55395, 0.0019, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52871, 55360, 0.0019, 1, 0, 1, 1); -- 5Irontree Gun
    UPDATE `creature_template` SET `lootid` = 52871 WHERE `entry` = 52871;
    
        --  http://www.wowhead.com/npc=52872
    DELETE FROM `creature_loot_template` WHERE `entry` = 52872;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52872, 53010, 29.5508, 1, 0, 1, 1), -- 6Embersilk Cloth
    (52872, 58264, 14.3424, 1, 0, 1, 1), -- 6Sour Green Apple
    (52872, 68198, 12.4739, 1, 0, 1, 1), -- 7Ruined Embersilk Scraps
    (52872, 58256, 7.0389, 1, 0, 1, 1), -- 6Sparkling Oasis Water
    (52872, 68197, 3.9845, 1, 0, 1, 1), -- 7Scavenged Animal Parts
    (52872, 62126, 0.2730, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52872, 68729, 0.2389, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52872, 62070, 0.2005, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52872, 62067, 0.1408, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52872, 62066, 0.1322, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52872, 62065, 0.1194, 1, 0, 1, 1), -- 7Melted Cleaver
    (52872, 62063, 0.1067, 1, 0, 1, 1), -- 7Shattered War Mace
    (52872, 62071, 0.1024, 1, 0, 1, 1), -- 7Corroded Blade
    (52872, 62082, 0.0981, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52872, 62068, 0.0981, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52872, 62069, 0.0981, 1, 0, 1, 1), -- 7Plugged Rifle
    (52872, 62072, 0.0981, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52872, 62127, 0.0939, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52872, 55629, 0.0896, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52872, 67539, 0.0896, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52872, 62064, 0.0896, 1, 0, 1, 1), -- 7Warped Greatsword
    (52872, 55486, 0.0853, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52872, 55440, 0.0811, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52872, 62089, 0.0811, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52872, 62103, 0.0768, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52872, 62108, 0.0768, 1, 0, 1, 1), -- 7Singed Armor
    (52872, 62074, 0.0725, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52872, 62079, 0.0683, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52872, 62093, 0.0683, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52872, 62101, 0.0683, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52872, 55421, 0.0640, 1, 0, 1, 1), -- 5Mereldar Ring
    (52872, 62076, 0.0640, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52872, 62111, 0.0640, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52872, 62125, 0.0640, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52872, 55422, 0.0597, 1, 0, 1, 1), -- 5Thondroril Ring
    (52872, 55719, 0.0597, 1, 0, 1, 1), -- 5Mystral Robe
    (52872, 62080, 0.0597, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52872, 62081, 0.0597, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52872, 62097, 0.0597, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52872, 62128, 0.0597, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52872, 55520, 0.0555, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52872, 62073, 0.0555, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52872, 62085, 0.0555, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52872, 62098, 0.0555, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52872, 62104, 0.0555, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52872, 62105, 0.0555, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52872, 62113, 0.0555, 1, 0, 1, 1), -- 7Singed Gloves
    (52872, 62086, 0.0512, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52872, 62088, 0.0512, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52872, 62090, 0.0512, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52872, 62109, 0.0512, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52872, 62124, 0.0512, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52872, 55665, 0.0469, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52872, 62075, 0.0469, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52872, 62077, 0.0469, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52872, 62084, 0.0469, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52872, 62095, 0.0469, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52872, 62099, 0.0469, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52872, 55619, 0.0427, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52872, 55736, 0.0427, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52872, 55441, 0.0427, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52872, 62083, 0.0427, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52872, 62087, 0.0427, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52872, 62094, 0.0427, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52872, 62096, 0.0427, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52872, 62100, 0.0427, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52872, 62107, 0.0427, 1, 0, 1, 1), -- 7Singed Belt
    (52872, 62112, 0.0427, 1, 0, 1, 1), -- 7Singed Pants
    (52872, 62123, 0.0427, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52872, 55403, 0.0384, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52872, 55583, 0.0384, 1, 0, 1, 1), -- 5Highperch Greaves
    (52872, 55593, 0.0384, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52872, 55423, 0.0384, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52872, 62129, 0.0384, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52872, 55368, 0.0341, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52872, 55611, 0.0341, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52872, 55674, 0.0341, 1, 0, 1, 1), -- 5Haldarr Hood
    (52872, 55701, 0.0341, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52872, 55755, 0.0341, 1, 0, 1, 1), -- 5Mystral Leggings
    (52872, 62092, 0.0341, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52872, 62115, 0.0341, 1, 0, 1, 1), -- 7Singed Boots
    (52872, 62117, 0.0341, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52872, 62121, 0.0341, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52872, 62134, 0.0341, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52872, 55439, 0.0299, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52872, 55610, 0.0299, 1, 0, 1, 1), -- 5Highperch Legguards
    (52872, 55718, 0.0299, 1, 0, 1, 1), -- 5Everstill Robe
    (52872, 55566, 0.0299, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52872, 55737, 0.0299, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52872, 55764, 0.0299, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52872, 55369, 0.0299, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52872, 55585, 0.0299, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52872, 55603, 0.0299, 1, 0, 1, 1), -- 5Talondeep Helm
    (52872, 62110, 0.0299, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52872, 62118, 0.0299, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52872, 62119, 0.0299, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52872, 62120, 0.0299, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52872, 62130, 0.0299, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52872, 55574, 0.0256, 1, 0, 1, 1), -- 5Highperch Vest
    (52872, 55763, 0.0256, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52872, 55350, 0.0256, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52872, 55485, 0.0256, 1, 0, 1, 1), -- 5Thondroril Wand
    (52872, 55521, 0.0256, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52872, 55773, 0.0256, 1, 0, 1, 1), -- 5Mystral Cord
    (52872, 55540, 0.0256, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52872, 55567, 0.0256, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52872, 55639, 0.0256, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52872, 55693, 0.0256, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52872, 55765, 0.0256, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52872, 62091, 0.0256, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52872, 62122, 0.0256, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52872, 62132, 0.0256, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52872, 62135, 0.0256, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52872, 67123, 0.0213, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (52872, 55484, 0.0213, 1, 0, 1, 1), -- 5Mereldar Wand
    (52872, 55691, 0.0213, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52872, 55754, 0.0213, 1, 0, 1, 1), -- 5Everstill Leggings
    (52872, 55772, 0.0213, 1, 0, 1, 1), -- 5Everstill Cord
    (52872, 55539, 0.0213, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52872, 55647, 0.0213, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52872, 55692, 0.0213, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52872, 55710, 0.0213, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52872, 55746, 0.0213, 1, 0, 1, 1), -- 5Mystral Cowl
    (52872, 55351, 0.0213, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52872, 55522, 0.0213, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52872, 55549, 0.0213, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52872, 55720, 0.0213, 1, 0, 1, 1), -- 5Bluefen Robe
    (52872, 55747, 0.0213, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52872, 62078, 0.0213, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52872, 65896, 0.0171, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52872, 55367, 0.0171, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52872, 55511, 0.0171, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52872, 55529, 0.0171, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52872, 55601, 0.0171, 1, 0, 1, 1), -- 5Highperch Helm
    (52872, 55628, 0.0171, 1, 0, 1, 1), -- 5Highperch Belt
    (52872, 55664, 0.0171, 1, 0, 1, 1), -- 5Dandred Gloves
    (52872, 55700, 0.0171, 1, 0, 1, 1), -- 5Dandred Waistband
    (52872, 55709, 0.0171, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52872, 55404, 0.0171, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52872, 55602, 0.0171, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52872, 55638, 0.0171, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52872, 55683, 0.0171, 1, 0, 1, 1), -- 5Haldarr Britches
    (52872, 55387, 0.0171, 1, 0, 1, 1), -- 5Irontree Mace
    (52872, 55459, 0.0171, 1, 0, 1, 1), -- 5Irontree Sword
    (52872, 55495, 0.0171, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52872, 55657, 0.0171, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52872, 62106, 0.0171, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52872, 62116, 0.0171, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52872, 65894, 0.0128, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52872, 55385, 0.0128, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52872, 55412, 0.0128, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52872, 55493, 0.0128, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52872, 55502, 0.0128, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52872, 55565, 0.0128, 1, 0, 1, 1), -- 5Highperch Bracers
    (52872, 55592, 0.0128, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52872, 55673, 0.0128, 1, 0, 1, 1), -- 5Dandred Hood
    (52872, 55745, 0.0128, 1, 0, 1, 1), -- 5Everstill Cowl
    (52872, 55314, 0.0128, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52872, 55341, 0.0128, 1, 0, 1, 1), -- 5Bladefist Staff
    (52872, 55377, 0.0128, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52872, 55458, 0.0128, 1, 0, 1, 1), -- 5Bladefist Sword
    (52872, 55530, 0.0128, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52872, 55575, 0.0128, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52872, 55584, 0.0128, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52872, 55728, 0.0128, 1, 0, 1, 1), -- 5Mystral Sandals
    (52872, 55315, 0.0128, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52872, 55378, 0.0128, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52872, 55396, 0.0128, 1, 0, 1, 1), -- 5Irontree Hammer
    (52872, 55405, 0.0128, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52872, 55468, 0.0128, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52872, 55558, 0.0128, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52872, 55576, 0.0128, 1, 0, 1, 1), -- 5Talondeep Vest
    (52872, 55612, 0.0128, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52872, 62102, 0.0128, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52872, 62114, 0.0128, 1, 0, 1, 1), -- 7Singed Bracers
    (52872, 62131, 0.0128, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52872, 62133, 0.0128, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52872, 62136, 0.0128, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52872, 67140, 0.0085, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (52872, 66969, 0.0085, 1, 0, 1, 1), -- 4Heart of the Vile
    (52872, 66973, 0.0085, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52872, 67071, 0.0085, 1, 0, 1, 1), -- 4Staff of Old Woes
    (52872, 52378, 0.0085, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52872, 52382, 0.0085, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52872, 69820, 0.0085, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52872, 55349, 0.0085, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52872, 55376, 0.0085, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52872, 55448, 0.0085, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52872, 55457, 0.0085, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52872, 55538, 0.0085, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52872, 55556, 0.0085, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52872, 55727, 0.0085, 1, 0, 1, 1), -- 5Everstill Sandals
    (52872, 55287, 0.0085, 1, 0, 1, 1), -- 5Bladefist Axe
    (52872, 55296, 0.0085, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52872, 55305, 0.0085, 1, 0, 1, 1), -- 5Bladefist Bow
    (52872, 55332, 0.0085, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52872, 55386, 0.0085, 1, 0, 1, 1), -- 5Bladefist Mace
    (52872, 55395, 0.0085, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52872, 55431, 0.0085, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52872, 55449, 0.0085, 1, 0, 1, 1), -- 5Bladefist Staff
    (52872, 55494, 0.0085, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52872, 55503, 0.0085, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52872, 55548, 0.0085, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52872, 55432, 0.0085, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52872, 55504, 0.0085, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52872, 55621, 0.0085, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52872, 55666, 0.0085, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52872, 55684, 0.0085, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52872, 55702, 0.0085, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52872, 55729, 0.0085, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52872, 55738, 0.0085, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52872, 55756, 0.0085, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52872, 55774, 0.0085, 1, 0, 1, 1), -- 5Bluefen Cord
    (52872, 67135, 0.0043, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (52872, 66990, 0.0043, 1, 0, 1, 1), -- 4Downfall Hammer
    (52872, 67119, 0.0043, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (52872, 67122, 0.0043, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (52872, 66972, 0.0043, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52872, 66974, 0.0043, 1, 0, 1, 1), -- 4Nightrend Choker
    (52872, 67067, 0.0043, 1, 0, 1, 1), -- 4Belt of Guardianship
    (52872, 67069, 0.0043, 1, 0, 1, 1), -- 4Shade of Death
    (52872, 52363, 0.0043, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52872, 52370, 0.0043, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52872, 52371, 0.0043, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52872, 52385, 0.0043, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52872, 52386, 0.0043, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52872, 55286, 0.0043, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52872, 55295, 0.0043, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52872, 55313, 0.0043, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52872, 55331, 0.0043, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52872, 55637, 0.0043, 1, 0, 1, 1), -- 5Dandred Bindings
    (52872, 55655, 0.0043, 1, 0, 1, 1), -- 5Dandred Boots
    (52872, 55682, 0.0043, 1, 0, 1, 1), -- 5Dandred Britches
    (52872, 55557, 0.0043, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52872, 55620, 0.0043, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52872, 55656, 0.0043, 1, 0, 1, 1), -- 5Haldarr Boots
    (52872, 55450, 0.0043, 1, 0, 1, 1), -- 5Irontree Staff
    (52872, 55513, 0.0043, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52872, 55531, 0.0043, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52872, 55594, 0.0043, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52872, 55648, 0.0043, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52872, 55675, 0.0043, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52872, 55711, 0.0043, 1, 0, 1, 1); -- 5Bluefen Wristwraps
    UPDATE `creature_template` SET `lootid` = 52872 WHERE `entry` = 52872;
    
        --  http://www.wowhead.com/npc=52981
    DELETE FROM `creature_loot_template` WHERE `entry` = 52981;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52981, 71375, 94.3414, 1, 0, 1, 1), -- 7Red Ash
    (52981, 69809, -36.1961, 1, 0, 1, 1), -- 6Searing Web Fluid
    (52981, 71376, 4.4111, 1, 0, 1, 1), -- 7Lava Ruby
    (52981, 68729, 0.2149, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52981, 62066, 0.0923, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52981, 62072, 0.0904, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52981, 62067, 0.0895, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52981, 62070, 0.0892, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52981, 62068, 0.0856, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52981, 62064, 0.0852, 1, 0, 1, 1), -- 7Warped Greatsword
    (52981, 62063, 0.0811, 1, 0, 1, 1), -- 7Shattered War Mace
    (52981, 62065, 0.0782, 1, 0, 1, 1), -- 7Melted Cleaver
    (52981, 62069, 0.0772, 1, 0, 1, 1), -- 7Plugged Rifle
    (52981, 62071, 0.0672, 1, 0, 1, 1), -- 7Corroded Blade
    (52981, 62073, 0.0559, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52981, 62092, 0.0441, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52981, 62088, 0.0434, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52981, 62094, 0.0432, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52981, 62077, 0.0425, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52981, 62103, 0.0408, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52981, 62096, 0.0403, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52981, 62104, 0.0393, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52981, 62090, 0.0369, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52981, 62099, 0.0367, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52981, 55422, 0.0362, 1, 0, 1, 1), -- 5Thondroril Ring
    (52981, 55423, 0.0362, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52981, 62098, 0.0357, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52981, 62100, 0.0357, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52981, 62087, 0.0355, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52981, 62082, 0.0348, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52981, 62089, 0.0348, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52981, 62078, 0.0345, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52981, 62079, 0.0343, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52981, 62085, 0.0341, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52981, 62102, 0.0336, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52981, 55440, 0.0333, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52981, 62075, 0.0329, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52981, 62086, 0.0329, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52981, 62124, 0.0329, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52981, 62101, 0.0326, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52981, 62113, 0.0321, 1, 0, 1, 1), -- 7Singed Gloves
    (52981, 62081, 0.0314, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52981, 62076, 0.0312, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52981, 62084, 0.0312, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52981, 55421, 0.0307, 1, 0, 1, 1), -- 5Mereldar Ring
    (52981, 62083, 0.0307, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52981, 62093, 0.0305, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52981, 55729, 0.0302, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52981, 62074, 0.0300, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52981, 62091, 0.0297, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52981, 62112, 0.0297, 1, 0, 1, 1), -- 7Singed Pants
    (52981, 62127, 0.0297, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52981, 62110, 0.0290, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52981, 62132, 0.0290, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52981, 62122, 0.0288, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52981, 62095, 0.0285, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52981, 62108, 0.0276, 1, 0, 1, 1), -- 7Singed Armor
    (52981, 62080, 0.0271, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52981, 62120, 0.0269, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52981, 62130, 0.0269, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52981, 62116, 0.0266, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52981, 62097, 0.0261, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52981, 62111, 0.0259, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52981, 62117, 0.0259, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52981, 62125, 0.0259, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52981, 62123, 0.0257, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52981, 55441, 0.0254, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52981, 62136, 0.0254, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52981, 62115, 0.0252, 1, 0, 1, 1), -- 7Singed Boots
    (52981, 62128, 0.0249, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52981, 62135, 0.0249, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52981, 62121, 0.0247, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52981, 62129, 0.0245, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52981, 55521, 0.0242, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52981, 62126, 0.0242, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52981, 62131, 0.0242, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52981, 62107, 0.0237, 1, 0, 1, 1), -- 7Singed Belt
    (52981, 62118, 0.0228, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52981, 62106, 0.0221, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52981, 62105, 0.0218, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52981, 62109, 0.0218, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52981, 55439, 0.0216, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52981, 55404, 0.0216, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52981, 67539, 0.0216, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52981, 62133, 0.0216, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52981, 55772, 0.0213, 1, 0, 1, 1), -- 5Everstill Cord
    (52981, 62119, 0.0213, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52981, 55727, 0.0197, 1, 0, 1, 1), -- 5Everstill Sandals
    (52981, 62114, 0.0189, 1, 0, 1, 1), -- 7Singed Bracers
    (52981, 55745, 0.0187, 1, 0, 1, 1), -- 5Everstill Cowl
    (52981, 55773, 0.0185, 1, 0, 1, 1), -- 5Mystral Cord
    (52981, 55719, 0.0182, 1, 0, 1, 1), -- 5Mystral Robe
    (52981, 55728, 0.0182, 1, 0, 1, 1), -- 5Mystral Sandals
    (52981, 55755, 0.0177, 1, 0, 1, 1), -- 5Mystral Leggings
    (52981, 55486, 0.0177, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52981, 55655, 0.0175, 1, 0, 1, 1), -- 5Dandred Boots
    (52981, 55665, 0.0173, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52981, 55764, 0.0173, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52981, 55736, 0.0170, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52981, 55485, 0.0170, 1, 0, 1, 1), -- 5Thondroril Wand
    (52981, 55737, 0.0170, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52981, 55738, 0.0170, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52981, 55765, 0.0170, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52981, 55710, 0.0168, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52981, 55746, 0.0168, 1, 0, 1, 1), -- 5Mystral Cowl
    (52981, 55403, 0.0166, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52981, 55711, 0.0163, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52981, 55718, 0.0161, 1, 0, 1, 1), -- 5Everstill Robe
    (52981, 55674, 0.0161, 1, 0, 1, 1), -- 5Haldarr Hood
    (52981, 55754, 0.0158, 1, 0, 1, 1), -- 5Everstill Leggings
    (52981, 55405, 0.0158, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52981, 55774, 0.0158, 1, 0, 1, 1), -- 5Bluefen Cord
    (52981, 62134, 0.0158, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52981, 55709, 0.0156, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52981, 55701, 0.0156, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52981, 55763, 0.0154, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52981, 55522, 0.0151, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52981, 55502, 0.0149, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52981, 55367, 0.0146, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52981, 55556, 0.0144, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52981, 55628, 0.0144, 1, 0, 1, 1), -- 5Highperch Belt
    (52981, 55549, 0.0144, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52981, 55619, 0.0142, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52981, 55673, 0.0142, 1, 0, 1, 1), -- 5Dandred Hood
    (52981, 55547, 0.0139, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52981, 55592, 0.0139, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52981, 55756, 0.0139, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52981, 55692, 0.0137, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52981, 55720, 0.0134, 1, 0, 1, 1), -- 5Bluefen Robe
    (52981, 55511, 0.0132, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52981, 55575, 0.0132, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52981, 55747, 0.0132, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52981, 55637, 0.0130, 1, 0, 1, 1), -- 5Dandred Bindings
    (52981, 55458, 0.0130, 1, 0, 1, 1), -- 5Bladefist Sword
    (52981, 55520, 0.0127, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52981, 55565, 0.0127, 1, 0, 1, 1), -- 5Highperch Bracers
    (52981, 55494, 0.0127, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52981, 55484, 0.0122, 1, 0, 1, 1), -- 5Mereldar Wand
    (52981, 55548, 0.0122, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52981, 55557, 0.0122, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52981, 55593, 0.0122, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52981, 55666, 0.0122, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52981, 55512, 0.0120, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52981, 55288, 0.0120, 1, 0, 1, 1), -- 5Irontree Axe
    (52981, 55603, 0.0118, 1, 0, 1, 1), -- 5Talondeep Helm
    (52981, 55538, 0.0115, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52981, 55700, 0.0115, 1, 0, 1, 1), -- 5Dandred Waistband
    (52981, 55611, 0.0115, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52981, 55540, 0.0115, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52981, 55693, 0.0115, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52981, 55682, 0.0113, 1, 0, 1, 1), -- 5Dandred Britches
    (52981, 55620, 0.0113, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52981, 55664, 0.0110, 1, 0, 1, 1), -- 5Dandred Gloves
    (52981, 55629, 0.0110, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52981, 55504, 0.0110, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52981, 55531, 0.0110, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52981, 55602, 0.0108, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52981, 55594, 0.0108, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52981, 55639, 0.0108, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52981, 55583, 0.0106, 1, 0, 1, 1), -- 5Highperch Greaves
    (52981, 55610, 0.0106, 1, 0, 1, 1), -- 5Highperch Legguards
    (52981, 55530, 0.0106, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52981, 55638, 0.0106, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52981, 55558, 0.0106, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52981, 55646, 0.0103, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52981, 55684, 0.0103, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52981, 55493, 0.0101, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52981, 55648, 0.0101, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52981, 55657, 0.0101, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52981, 55574, 0.0098, 1, 0, 1, 1), -- 5Highperch Vest
    (52981, 55630, 0.0098, 1, 0, 1, 1), -- 5Talondeep Belt
    (52981, 55702, 0.0098, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52981, 55691, 0.0096, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52981, 55368, 0.0096, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52981, 55584, 0.0096, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52981, 55612, 0.0096, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52981, 55314, 0.0094, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52981, 55539, 0.0094, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52981, 55647, 0.0094, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52981, 55495, 0.0094, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52981, 55503, 0.0091, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52981, 55576, 0.0091, 1, 0, 1, 1), -- 5Talondeep Vest
    (52981, 55377, 0.0089, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52981, 55675, 0.0089, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52981, 55430, 0.0086, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52981, 55566, 0.0086, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52981, 55331, 0.0084, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52981, 55387, 0.0084, 1, 0, 1, 1), -- 5Irontree Mace
    (52981, 55513, 0.0084, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52981, 55621, 0.0084, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52981, 55385, 0.0082, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52981, 55683, 0.0082, 1, 0, 1, 1), -- 5Haldarr Britches
    (52981, 55457, 0.0079, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52981, 55529, 0.0079, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52981, 55567, 0.0079, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52981, 55386, 0.0077, 1, 0, 1, 1), -- 5Bladefist Mace
    (52981, 55315, 0.0074, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52981, 55585, 0.0074, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52981, 55431, 0.0072, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52981, 55369, 0.0072, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52981, 55286, 0.0070, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52981, 55332, 0.0070, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52981, 55396, 0.0070, 1, 0, 1, 1), -- 5Irontree Hammer
    (52981, 55432, 0.0070, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52981, 65895, 0.0067, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52981, 55349, 0.0067, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52981, 55601, 0.0067, 1, 0, 1, 1), -- 5Highperch Helm
    (52981, 55378, 0.0067, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52981, 55412, 0.0065, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52981, 55656, 0.0062, 1, 0, 1, 1), -- 5Haldarr Boots
    (52981, 55394, 0.0060, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (52981, 55351, 0.0060, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52981, 55342, 0.0058, 1, 0, 1, 1), -- 5Irontree Staff
    (52981, 55459, 0.0058, 1, 0, 1, 1), -- 5Irontree Sword
    (52981, 55376, 0.0055, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52981, 55466, 0.0055, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52981, 55350, 0.0053, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52981, 55313, 0.0050, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52981, 65896, 0.0048, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52981, 66990, 0.0046, 1, 0, 1, 1), -- 4Downfall Hammer
    (52981, 55413, 0.0046, 1, 0, 1, 1), -- 5Bladefist Spear
    (52981, 55295, 0.0043, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52981, 55467, 0.0043, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52981, 66942, 0.0041, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (52981, 52197, 0.0036, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52981, 55287, 0.0036, 1, 0, 1, 1), -- 5Bladefist Axe
    (52981, 52373, 0.0034, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (52981, 55296, 0.0034, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52981, 55297, 0.0034, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52981, 55333, 0.0034, 1, 0, 1, 1), -- 5Irontree Dagger
    (52981, 55450, 0.0034, 1, 0, 1, 1), -- 5Irontree Staff
    (52981, 65894, 0.0031, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52981, 55341, 0.0031, 1, 0, 1, 1), -- 5Bladefist Staff
    (52981, 55395, 0.0031, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52981, 55468, 0.0031, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52981, 68788, 0.0029, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52981, 66972, 0.0029, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52981, 67120, 0.0026, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (52981, 52371, 0.0026, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52981, 52377, 0.0026, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (52981, 67147, 0.0024, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (52981, 68781, 0.0024, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52981, 68789, 0.0024, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (52981, 67126, 0.0024, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (52981, 52382, 0.0024, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52981, 52385, 0.0024, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52981, 55304, 0.0024, 1, 0, 1, 1), -- 5Mardenholde Bow
    (52981, 55340, 0.0024, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52981, 55414, 0.0024, 1, 0, 1, 1), -- 5Irontree Spear
    (52981, 66975, 0.0022, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (52981, 66992, 0.0022, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (52981, 67124, 0.0022, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52981, 52363, 0.0022, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52981, 55449, 0.0022, 1, 0, 1, 1), -- 5Bladefist Staff
    (52981, 68782, 0.0019, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (52981, 66932, 0.0019, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (52981, 66989, 0.0019, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (52981, 65897, 0.0019, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52981, 55448, 0.0019, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52981, 66971, 0.0017, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (52981, 66976, 0.0017, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (52981, 52364, 0.0017, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (52981, 52366, 0.0017, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52981, 52368, 0.0017, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (52981, 52372, 0.0017, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52981, 52374, 0.0017, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (52981, 52375, 0.0017, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52981, 55360, 0.0017, 1, 0, 1, 1), -- 5Irontree Gun
    (52981, 67057, 0.0014, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (52981, 67069, 0.0014, 1, 0, 1, 1), -- 4Shade of Death
    (52981, 67125, 0.0014, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (52981, 52379, 0.0014, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52981, 69820, 0.0014, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52981, 67137, 0.0012, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (52981, 66940, 0.0012, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (52981, 66969, 0.0012, 1, 0, 1, 1), -- 4Heart of the Vile
    (52981, 67119, 0.0012, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (52981, 67071, 0.0012, 1, 0, 1, 1), -- 4Staff of Old Woes
    (52981, 52365, 0.0012, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52981, 52388, 0.0012, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52981, 55322, 0.0012, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (52981, 55305, 0.0012, 1, 0, 1, 1), -- 5Bladefist Bow
    (52981, 55324, 0.0012, 1, 0, 1, 1), -- 5Irontree Crossbow
    (52981, 67135, 0.0010, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (52981, 66931, 0.0010, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52981, 66970, 0.0010, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (52981, 67121, 0.0010, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (52981, 66994, 0.0010, 1, 0, 1, 1), -- 4Soul's Anguish
    (52981, 52367, 0.0010, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52981, 52369, 0.0010, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (52981, 52383, 0.0010, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (52981, 52386, 0.0010, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52981, 55359, 0.0010, 1, 0, 1, 1), -- 5Bladefist Gun
    (52981, 67133, 0.0007, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (52981, 67138, 0.0007, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (52981, 67142, 0.0007, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (52981, 67150, 0.0007, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (52981, 68787, 0.0007, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (52981, 67061, 0.0007, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (52981, 66941, 0.0007, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (52981, 67067, 0.0007, 1, 0, 1, 1), -- 4Belt of Guardianship
    (52981, 67127, 0.0007, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (52981, 52370, 0.0007, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52981, 52378, 0.0007, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52981, 55358, 0.0007, 1, 0, 1, 1), -- 5Mardenholde Gun
    (52981, 55323, 0.0007, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (52981, 67129, 0.0005, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (52981, 67132, 0.0005, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (52981, 68783, 0.0005, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52981, 66968, 0.0005, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (52981, 66991, 0.0005, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (52981, 67122, 0.0005, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (52981, 66973, 0.0005, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52981, 52376, 0.0005, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52981, 67131, 0.0002, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (52981, 67134, 0.0002, 1, 0, 1, 1), -- 3Dory's Finery
    (52981, 67136, 0.0002, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (52981, 67141, 0.0002, 1, 0, 1, 1), -- 3Corefire Legplates
    (52981, 67145, 0.0002, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (52981, 67148, 0.0002, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (52981, 66974, 0.0002, 1, 0, 1, 1), -- 4Nightrend Choker
    (52981, 66993, 0.0002, 1, 0, 1, 1), -- 4Sorrow's End
    (52981, 67123, 0.0002, 1, 0, 1, 1); -- 4Sinman's Helm of Succor
    UPDATE `creature_template` SET `lootid` = 52981 WHERE `entry` = 52981;
    
        --  http://www.wowhead.com/npc=52998
    DELETE FROM `creature_loot_template` WHERE `entry` = 52998;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52998, 68729, 100.0000, 1, 0, 1, 1); -- 5Elementium Lockbox
    UPDATE `creature_template` SET `lootid` = 52998 WHERE `entry` = 52998;
    
    
        --  http://www.wowhead.com/npc=53085
    DELETE FROM `creature_loot_template` WHERE `entry` = 53085;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53085, 53010, 50.0921, 1, 0, 1, 1), -- 6Embersilk Cloth
    (53085, 68198, 19.6176, 1, 0, 1, 1), -- 7Ruined Embersilk Scraps
    (53085, 58268, 10.9382, 1, 0, 1, 1), -- 6Roasted Beef
    (53085, 68197, 6.9359, 1, 0, 1, 1), -- 7Scavenged Animal Parts
    (53085, 58256, 5.5520, 1, 0, 1, 1), -- 6Sparkling Oasis Water
    (53085, 68729, 0.4614, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53085, 62067, 0.2251, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53085, 62066, 0.2192, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53085, 62070, 0.2166, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53085, 62069, 0.2140, 1, 0, 1, 1), -- 7Plugged Rifle
    (53085, 62064, 0.2021, 1, 0, 1, 1), -- 7Warped Greatsword
    (53085, 62065, 0.2021, 1, 0, 1, 1), -- 7Melted Cleaver
    (53085, 62068, 0.1947, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53085, 62063, 0.1913, 1, 0, 1, 1), -- 7Shattered War Mace
    (53085, 62072, 0.1913, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53085, 62071, 0.1861, 1, 0, 1, 1), -- 7Corroded Blade
    (53085, 62081, 0.1077, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53085, 62089, 0.0999, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53085, 62078, 0.0985, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53085, 62136, 0.0973, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53085, 55423, 0.0962, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53085, 62082, 0.0947, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53085, 62090, 0.0944, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53085, 62086, 0.0936, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53085, 62087, 0.0936, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53085, 62084, 0.0929, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53085, 62097, 0.0918, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53085, 62096, 0.0914, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53085, 62091, 0.0910, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53085, 62099, 0.0910, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53085, 62079, 0.0907, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53085, 62076, 0.0895, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53085, 62073, 0.0888, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53085, 62075, 0.0884, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53085, 62077, 0.0884, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53085, 55422, 0.0873, 1, 0, 1, 1), -- 5Thondroril Ring
    (53085, 62083, 0.0869, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53085, 62135, 0.0866, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53085, 62093, 0.0851, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53085, 62095, 0.0851, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53085, 55421, 0.0847, 1, 0, 1, 1), -- 5Mereldar Ring
    (53085, 62088, 0.0843, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53085, 62080, 0.0840, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53085, 62098, 0.0836, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53085, 62128, 0.0802, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53085, 62101, 0.0799, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53085, 62112, 0.0799, 1, 0, 1, 1), -- 7Singed Pants
    (53085, 62085, 0.0795, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53085, 55441, 0.0791, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53085, 62074, 0.0791, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53085, 67539, 0.0784, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53085, 62131, 0.0776, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53085, 62092, 0.0765, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53085, 62123, 0.0750, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53085, 62100, 0.0747, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53085, 62094, 0.0736, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53085, 62102, 0.0736, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53085, 62109, 0.0732, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53085, 62119, 0.0728, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53085, 62124, 0.0728, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53085, 62104, 0.0724, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53085, 62103, 0.0717, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53085, 62108, 0.0717, 1, 0, 1, 1), -- 7Singed Armor
    (53085, 62116, 0.0702, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53085, 62113, 0.0691, 1, 0, 1, 1), -- 7Singed Gloves
    (53085, 62114, 0.0691, 1, 0, 1, 1), -- 7Singed Bracers
    (53085, 62121, 0.0676, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53085, 62133, 0.0672, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53085, 62106, 0.0669, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53085, 62127, 0.0669, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53085, 62134, 0.0665, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53085, 62107, 0.0654, 1, 0, 1, 1), -- 7Singed Belt
    (53085, 62126, 0.0650, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53085, 62111, 0.0643, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53085, 62130, 0.0639, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53085, 62129, 0.0635, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53085, 62122, 0.0632, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53085, 62110, 0.0624, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53085, 62125, 0.0624, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53085, 62118, 0.0609, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53085, 55439, 0.0594, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53085, 62120, 0.0594, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53085, 62105, 0.0591, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53085, 62117, 0.0591, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53085, 62115, 0.0580, 1, 0, 1, 1), -- 7Singed Boots
    (53085, 62132, 0.0580, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53085, 55486, 0.0565, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53085, 55728, 0.0528, 1, 0, 1, 1), -- 5Mystral Sandals
    (53085, 55557, 0.0520, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53085, 55754, 0.0513, 1, 0, 1, 1), -- 5Everstill Leggings
    (53085, 55484, 0.0509, 1, 0, 1, 1), -- 5Mereldar Wand
    (53085, 55709, 0.0509, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53085, 55440, 0.0509, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53085, 55485, 0.0505, 1, 0, 1, 1), -- 5Thondroril Wand
    (53085, 55745, 0.0502, 1, 0, 1, 1), -- 5Everstill Cowl
    (53085, 55747, 0.0494, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53085, 55764, 0.0487, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53085, 55736, 0.0479, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53085, 55773, 0.0464, 1, 0, 1, 1), -- 5Mystral Cord
    (53085, 55729, 0.0461, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53085, 55638, 0.0457, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53085, 55711, 0.0457, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53085, 55756, 0.0453, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53085, 55405, 0.0442, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53085, 55404, 0.0435, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53085, 55727, 0.0431, 1, 0, 1, 1), -- 5Everstill Sandals
    (53085, 55403, 0.0424, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53085, 55628, 0.0420, 1, 0, 1, 1), -- 5Highperch Belt
    (53085, 55565, 0.0416, 1, 0, 1, 1), -- 5Highperch Bracers
    (53085, 55629, 0.0412, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53085, 55710, 0.0409, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53085, 55719, 0.0401, 1, 0, 1, 1), -- 5Mystral Robe
    (53085, 55763, 0.0390, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53085, 55494, 0.0390, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53085, 55720, 0.0390, 1, 0, 1, 1), -- 5Bluefen Robe
    (53085, 55755, 0.0383, 1, 0, 1, 1), -- 5Mystral Leggings
    (53085, 55574, 0.0375, 1, 0, 1, 1), -- 5Highperch Vest
    (53085, 55737, 0.0375, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53085, 55718, 0.0368, 1, 0, 1, 1), -- 5Everstill Robe
    (53085, 55540, 0.0368, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53085, 55504, 0.0364, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53085, 55583, 0.0360, 1, 0, 1, 1), -- 5Highperch Greaves
    (53085, 55549, 0.0357, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53085, 55765, 0.0357, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53085, 55772, 0.0353, 1, 0, 1, 1), -- 5Everstill Cord
    (53085, 55665, 0.0353, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53085, 55567, 0.0349, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53085, 55657, 0.0349, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53085, 55666, 0.0349, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53085, 55746, 0.0346, 1, 0, 1, 1), -- 5Mystral Cowl
    (53085, 55774, 0.0346, 1, 0, 1, 1), -- 5Bluefen Cord
    (53085, 55367, 0.0342, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53085, 55530, 0.0342, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53085, 55493, 0.0338, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53085, 55684, 0.0338, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53085, 55702, 0.0338, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53085, 55738, 0.0338, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53085, 55522, 0.0334, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53085, 55648, 0.0334, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53085, 55584, 0.0331, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53085, 55630, 0.0331, 1, 0, 1, 1), -- 5Talondeep Belt
    (53085, 55566, 0.0323, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53085, 55647, 0.0323, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53085, 55700, 0.0316, 1, 0, 1, 1), -- 5Dandred Waistband
    (53085, 55539, 0.0312, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53085, 55513, 0.0312, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53085, 55655, 0.0308, 1, 0, 1, 1), -- 5Dandred Boots
    (53085, 55547, 0.0305, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53085, 55556, 0.0305, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53085, 55664, 0.0305, 1, 0, 1, 1), -- 5Dandred Gloves
    (53085, 55682, 0.0305, 1, 0, 1, 1), -- 5Dandred Britches
    (53085, 55512, 0.0305, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53085, 55521, 0.0305, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53085, 55603, 0.0305, 1, 0, 1, 1), -- 5Talondeep Helm
    (53085, 55692, 0.0301, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53085, 55531, 0.0301, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53085, 55558, 0.0301, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53085, 55529, 0.0297, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53085, 55673, 0.0290, 1, 0, 1, 1), -- 5Dandred Hood
    (53085, 55639, 0.0290, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53085, 55575, 0.0286, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53085, 55674, 0.0286, 1, 0, 1, 1), -- 5Haldarr Hood
    (53085, 55495, 0.0286, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53085, 55612, 0.0286, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53085, 55611, 0.0282, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53085, 55594, 0.0279, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53085, 55431, 0.0275, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53085, 55620, 0.0275, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53085, 55585, 0.0271, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53085, 55621, 0.0271, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53085, 55693, 0.0271, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53085, 65896, 0.0267, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (53085, 55637, 0.0267, 1, 0, 1, 1), -- 5Dandred Bindings
    (53085, 55646, 0.0267, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53085, 55576, 0.0267, 1, 0, 1, 1), -- 5Talondeep Vest
    (53085, 55368, 0.0264, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53085, 65894, 0.0260, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (53085, 55675, 0.0260, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53085, 55592, 0.0256, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53085, 55593, 0.0256, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53085, 65895, 0.0253, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (53085, 55511, 0.0253, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53085, 55610, 0.0253, 1, 0, 1, 1), -- 5Highperch Legguards
    (53085, 55369, 0.0253, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53085, 55502, 0.0249, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53085, 55602, 0.0249, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53085, 55656, 0.0249, 1, 0, 1, 1), -- 5Haldarr Boots
    (53085, 55683, 0.0249, 1, 0, 1, 1), -- 5Haldarr Britches
    (53085, 55601, 0.0245, 1, 0, 1, 1), -- 5Highperch Helm
    (53085, 55548, 0.0241, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53085, 55538, 0.0230, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53085, 55287, 0.0230, 1, 0, 1, 1), -- 5Bladefist Axe
    (53085, 55351, 0.0230, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53085, 55314, 0.0223, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53085, 55691, 0.0219, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53085, 55377, 0.0215, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53085, 55503, 0.0215, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53085, 55378, 0.0212, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53085, 55520, 0.0208, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53085, 55619, 0.0208, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53085, 55701, 0.0208, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53085, 65897, 0.0204, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (53085, 55350, 0.0204, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53085, 55349, 0.0201, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53085, 55385, 0.0197, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53085, 55457, 0.0197, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53085, 55315, 0.0197, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53085, 55430, 0.0189, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53085, 55386, 0.0189, 1, 0, 1, 1), -- 5Bladefist Mace
    (53085, 55458, 0.0189, 1, 0, 1, 1), -- 5Bladefist Sword
    (53085, 55295, 0.0178, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53085, 55297, 0.0175, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53085, 55313, 0.0171, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53085, 55466, 0.0171, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53085, 52197, 0.0167, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (53085, 55333, 0.0167, 1, 0, 1, 1), -- 5Irontree Dagger
    (53085, 55387, 0.0167, 1, 0, 1, 1), -- 5Irontree Mace
    (53085, 55376, 0.0163, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53085, 55296, 0.0160, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53085, 55332, 0.0160, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53085, 55288, 0.0160, 1, 0, 1, 1), -- 5Irontree Axe
    (53085, 55412, 0.0152, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53085, 55342, 0.0152, 1, 0, 1, 1), -- 5Irontree Staff
    (53085, 55394, 0.0149, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53085, 55396, 0.0149, 1, 0, 1, 1), -- 5Irontree Hammer
    (53085, 55331, 0.0145, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53085, 55432, 0.0137, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53085, 55467, 0.0134, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53085, 55459, 0.0130, 1, 0, 1, 1), -- 5Irontree Sword
    (53085, 55341, 0.0123, 1, 0, 1, 1), -- 5Bladefist Staff
    (53085, 55286, 0.0111, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53085, 55448, 0.0111, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53085, 55414, 0.0108, 1, 0, 1, 1), -- 5Irontree Spear
    (53085, 67121, 0.0104, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53085, 55340, 0.0104, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53085, 55395, 0.0104, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53085, 52364, 0.0100, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53085, 55413, 0.0100, 1, 0, 1, 1), -- 5Bladefist Spear
    (53085, 55450, 0.0097, 1, 0, 1, 1), -- 5Irontree Staff
    (53085, 55449, 0.0093, 1, 0, 1, 1), -- 5Bladefist Staff
    (53085, 68781, 0.0085, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53085, 67057, 0.0082, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53085, 52382, 0.0078, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (53085, 52366, 0.0074, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (53085, 55468, 0.0074, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53085, 66973, 0.0071, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53085, 66993, 0.0063, 1, 0, 1, 1), -- 4Sorrow's End
    (53085, 68789, 0.0059, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53085, 66969, 0.0059, 1, 0, 1, 1), -- 4Heart of the Vile
    (53085, 66991, 0.0059, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53085, 66992, 0.0059, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53085, 68782, 0.0056, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53085, 66968, 0.0056, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53085, 66971, 0.0056, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53085, 52375, 0.0056, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (53085, 52378, 0.0056, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (53085, 68783, 0.0052, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53085, 55305, 0.0052, 1, 0, 1, 1), -- 5Bladefist Bow
    (53085, 68787, 0.0048, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (53085, 67127, 0.0048, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53085, 52367, 0.0048, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (53085, 52376, 0.0048, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53085, 66970, 0.0045, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (53085, 66994, 0.0045, 1, 0, 1, 1), -- 4Soul's Anguish
    (53085, 67123, 0.0045, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53085, 67126, 0.0045, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53085, 52388, 0.0045, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (53085, 66976, 0.0041, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53085, 52369, 0.0041, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53085, 66941, 0.0037, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53085, 52363, 0.0037, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53085, 52365, 0.0037, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (53085, 52373, 0.0037, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (53085, 52377, 0.0037, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (53085, 69820, 0.0037, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (53085, 55358, 0.0037, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53085, 55359, 0.0037, 1, 0, 1, 1), -- 5Bladefist Gun
    (53085, 55360, 0.0037, 1, 0, 1, 1), -- 5Irontree Gun
    (53085, 66972, 0.0033, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53085, 67067, 0.0033, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53085, 52370, 0.0033, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (53085, 52371, 0.0033, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (53085, 55304, 0.0033, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53085, 66932, 0.0030, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53085, 52379, 0.0030, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53085, 55306, 0.0030, 1, 0, 1, 1), -- 5Irontree Bow
    (53085, 68788, 0.0026, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (53085, 66940, 0.0026, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (53085, 67061, 0.0026, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (53085, 67119, 0.0026, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (53085, 67122, 0.0026, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53085, 67124, 0.0026, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53085, 55323, 0.0026, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (53085, 67143, 0.0022, 1, 0, 1, 1), -- 3Icebone Hauberk
    (53085, 66990, 0.0022, 1, 0, 1, 1), -- 4Downfall Hammer
    (53085, 66942, 0.0022, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53085, 52374, 0.0022, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (53085, 52385, 0.0022, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (53085, 55322, 0.0022, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53085, 67132, 0.0019, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (53085, 66931, 0.0019, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53085, 66974, 0.0019, 1, 0, 1, 1), -- 4Nightrend Choker
    (53085, 66975, 0.0019, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53085, 67069, 0.0019, 1, 0, 1, 1), -- 4Shade of Death
    (53085, 67125, 0.0019, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53085, 52372, 0.0019, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (53085, 55324, 0.0019, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53085, 67145, 0.0015, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (53085, 67148, 0.0015, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (53085, 66989, 0.0015, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53085, 52383, 0.0015, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (53085, 67135, 0.0011, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (53085, 67139, 0.0011, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (53085, 67140, 0.0011, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (53085, 67144, 0.0011, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (53085, 67146, 0.0011, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (53085, 67147, 0.0011, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (53085, 20400, 0.0011, 1, 0, 1, 1), -- 5Pumpkin Bag
    (53085, 52368, 0.0011, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53085, 67129, 0.0007, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (53085, 67134, 0.0007, 1, 0, 1, 1), -- 3Dory's Finery
    (53085, 67137, 0.0007, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (53085, 67120, 0.0007, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53085, 52386, 0.0007, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (53085, 67133, 0.0004, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (53085, 67138, 0.0004, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (53085, 67142, 0.0004, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (53085, 67149, 0.0004, 1, 0, 1, 1), -- 3Heartbound Tome
    (53085, 67071, 0.0004, 1, 0, 1, 1); -- 4Staff of Old Woes
    UPDATE `creature_template` SET `lootid` = 53085 WHERE `entry` = 53085;
    
        --  http://www.wowhead.com/npc=53090
    DELETE FROM `creature_loot_template` WHERE `entry` = 53090;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53090, 69725, -95.7044, 1, 0, 1, 1), -- 6Magmolia
    (53090, 71375, 93.9035, 1, 0, 1, 1), -- 7Red Ash
    (53090, 71376, 4.5561, 1, 0, 1, 1), -- 7Lava Ruby
    (53090, 68729, 0.1671, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53090, 62072, 0.0970, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53090, 62066, 0.0921, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53090, 62069, 0.0860, 1, 0, 1, 1), -- 7Plugged Rifle
    (53090, 62065, 0.0798, 1, 0, 1, 1), -- 7Melted Cleaver
    (53090, 62063, 0.0749, 1, 0, 1, 1), -- 7Shattered War Mace
    (53090, 62071, 0.0737, 1, 0, 1, 1), -- 7Corroded Blade
    (53090, 62067, 0.0712, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53090, 62068, 0.0700, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53090, 62064, 0.0602, 1, 0, 1, 1), -- 7Warped Greatsword
    (53090, 62070, 0.0540, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53090, 62087, 0.0516, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53090, 62075, 0.0491, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53090, 62073, 0.0430, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53090, 62074, 0.0430, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53090, 62084, 0.0430, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53090, 62097, 0.0430, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53090, 55756, 0.0405, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53090, 62088, 0.0405, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53090, 62095, 0.0405, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53090, 62104, 0.0405, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53090, 62112, 0.0405, 1, 0, 1, 1), -- 7Singed Pants
    (53090, 62082, 0.0393, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53090, 62107, 0.0393, 1, 0, 1, 1), -- 7Singed Belt
    (53090, 55736, 0.0381, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53090, 62091, 0.0381, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53090, 62129, 0.0381, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53090, 62132, 0.0381, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53090, 55423, 0.0369, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53090, 62080, 0.0369, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53090, 62092, 0.0369, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53090, 62079, 0.0356, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53090, 62098, 0.0356, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53090, 55439, 0.0332, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53090, 62078, 0.0332, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53090, 62089, 0.0332, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53090, 62101, 0.0332, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53090, 62108, 0.0332, 1, 0, 1, 1), -- 7Singed Armor
    (53090, 55422, 0.0319, 1, 0, 1, 1), -- 5Thondroril Ring
    (53090, 62076, 0.0319, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53090, 62083, 0.0319, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53090, 62085, 0.0319, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53090, 62096, 0.0319, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53090, 62106, 0.0319, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53090, 62111, 0.0319, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53090, 62121, 0.0319, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53090, 62102, 0.0295, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53090, 62116, 0.0295, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53090, 62119, 0.0295, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53090, 62127, 0.0295, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53090, 62135, 0.0295, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53090, 55440, 0.0283, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53090, 62118, 0.0283, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53090, 62136, 0.0283, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53090, 55421, 0.0270, 1, 0, 1, 1), -- 5Mereldar Ring
    (53090, 55754, 0.0270, 1, 0, 1, 1), -- 5Everstill Leggings
    (53090, 55566, 0.0270, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53090, 55711, 0.0270, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53090, 62094, 0.0270, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53090, 62125, 0.0270, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53090, 62128, 0.0270, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53090, 62130, 0.0270, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53090, 62133, 0.0270, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53090, 62134, 0.0270, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53090, 62086, 0.0258, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53090, 62109, 0.0258, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53090, 62081, 0.0246, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53090, 55565, 0.0233, 1, 0, 1, 1), -- 5Highperch Bracers
    (53090, 55521, 0.0233, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53090, 55549, 0.0233, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53090, 55693, 0.0233, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53090, 62077, 0.0233, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53090, 62099, 0.0233, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53090, 62100, 0.0233, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53090, 62110, 0.0233, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53090, 62123, 0.0233, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53090, 55745, 0.0221, 1, 0, 1, 1), -- 5Everstill Cowl
    (53090, 62115, 0.0221, 1, 0, 1, 1), -- 7Singed Boots
    (53090, 62126, 0.0221, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53090, 55520, 0.0209, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53090, 55503, 0.0209, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53090, 55557, 0.0209, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53090, 62090, 0.0209, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53090, 62093, 0.0209, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53090, 62113, 0.0209, 1, 0, 1, 1), -- 7Singed Gloves
    (53090, 62120, 0.0209, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53090, 55403, 0.0197, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53090, 55727, 0.0197, 1, 0, 1, 1), -- 5Everstill Sandals
    (53090, 55772, 0.0197, 1, 0, 1, 1), -- 5Everstill Cord
    (53090, 55441, 0.0197, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53090, 62124, 0.0197, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53090, 55763, 0.0184, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53090, 55368, 0.0184, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53090, 55719, 0.0184, 1, 0, 1, 1), -- 5Mystral Robe
    (53090, 55764, 0.0184, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53090, 62114, 0.0184, 1, 0, 1, 1), -- 7Singed Bracers
    (53090, 62122, 0.0184, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53090, 55511, 0.0172, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53090, 55494, 0.0172, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53090, 55683, 0.0172, 1, 0, 1, 1), -- 5Haldarr Britches
    (53090, 55486, 0.0172, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53090, 55666, 0.0172, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53090, 62117, 0.0172, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53090, 55556, 0.0160, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53090, 55664, 0.0160, 1, 0, 1, 1), -- 5Dandred Gloves
    (53090, 55404, 0.0160, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53090, 55558, 0.0160, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53090, 55594, 0.0160, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53090, 55738, 0.0160, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53090, 55747, 0.0160, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53090, 55774, 0.0160, 1, 0, 1, 1), -- 5Bluefen Cord
    (53090, 67539, 0.0160, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53090, 62105, 0.0160, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53090, 55367, 0.0147, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53090, 55412, 0.0147, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53090, 55628, 0.0147, 1, 0, 1, 1), -- 5Highperch Belt
    (53090, 55485, 0.0147, 1, 0, 1, 1), -- 5Thondroril Wand
    (53090, 55602, 0.0147, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53090, 55656, 0.0147, 1, 0, 1, 1), -- 5Haldarr Boots
    (53090, 55692, 0.0147, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53090, 55621, 0.0147, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53090, 55720, 0.0147, 1, 0, 1, 1), -- 5Bluefen Robe
    (53090, 55765, 0.0147, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53090, 65896, 0.0135, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (53090, 55349, 0.0135, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53090, 55574, 0.0135, 1, 0, 1, 1), -- 5Highperch Vest
    (53090, 55637, 0.0135, 1, 0, 1, 1), -- 5Dandred Bindings
    (53090, 55682, 0.0135, 1, 0, 1, 1), -- 5Dandred Britches
    (53090, 55539, 0.0135, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53090, 55638, 0.0135, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53090, 55701, 0.0135, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53090, 55710, 0.0135, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53090, 55612, 0.0135, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53090, 55702, 0.0135, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53090, 62103, 0.0135, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53090, 55457, 0.0123, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53090, 55484, 0.0123, 1, 0, 1, 1), -- 5Mereldar Wand
    (53090, 55646, 0.0123, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53090, 55718, 0.0123, 1, 0, 1, 1), -- 5Everstill Robe
    (53090, 55575, 0.0123, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53090, 55728, 0.0123, 1, 0, 1, 1), -- 5Mystral Sandals
    (53090, 55737, 0.0123, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53090, 55405, 0.0123, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53090, 55504, 0.0123, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53090, 55513, 0.0123, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53090, 55648, 0.0123, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53090, 55675, 0.0123, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53090, 62131, 0.0123, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53090, 55538, 0.0111, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53090, 55583, 0.0111, 1, 0, 1, 1), -- 5Highperch Greaves
    (53090, 55619, 0.0111, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53090, 55512, 0.0111, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53090, 55584, 0.0111, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53090, 55674, 0.0111, 1, 0, 1, 1), -- 5Haldarr Hood
    (53090, 55746, 0.0111, 1, 0, 1, 1), -- 5Mystral Cowl
    (53090, 55773, 0.0111, 1, 0, 1, 1), -- 5Mystral Cord
    (53090, 55288, 0.0111, 1, 0, 1, 1), -- 5Irontree Axe
    (53090, 55495, 0.0111, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53090, 55522, 0.0111, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53090, 55630, 0.0111, 1, 0, 1, 1), -- 5Talondeep Belt
    (53090, 55430, 0.0098, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53090, 55502, 0.0098, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53090, 55529, 0.0098, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53090, 55700, 0.0098, 1, 0, 1, 1), -- 5Dandred Waistband
    (53090, 55709, 0.0098, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53090, 55548, 0.0098, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53090, 55585, 0.0098, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53090, 55385, 0.0086, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53090, 55493, 0.0086, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53090, 55601, 0.0086, 1, 0, 1, 1), -- 5Highperch Helm
    (53090, 55611, 0.0086, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53090, 55629, 0.0086, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53090, 55755, 0.0086, 1, 0, 1, 1), -- 5Mystral Leggings
    (53090, 55369, 0.0086, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53090, 55378, 0.0086, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53090, 55531, 0.0086, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53090, 55540, 0.0086, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53090, 55576, 0.0086, 1, 0, 1, 1), -- 5Talondeep Vest
    (53090, 55331, 0.0074, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53090, 55592, 0.0074, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53090, 55610, 0.0074, 1, 0, 1, 1), -- 5Highperch Legguards
    (53090, 55655, 0.0074, 1, 0, 1, 1), -- 5Dandred Boots
    (53090, 55673, 0.0074, 1, 0, 1, 1), -- 5Dandred Hood
    (53090, 55350, 0.0074, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53090, 55530, 0.0074, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53090, 55647, 0.0074, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53090, 55333, 0.0074, 1, 0, 1, 1), -- 5Irontree Dagger
    (53090, 55567, 0.0074, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53090, 55603, 0.0074, 1, 0, 1, 1), -- 5Talondeep Helm
    (53090, 55729, 0.0074, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53090, 65895, 0.0061, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (53090, 55286, 0.0061, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53090, 55448, 0.0061, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53090, 55466, 0.0061, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53090, 55314, 0.0061, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53090, 55377, 0.0061, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53090, 55386, 0.0061, 1, 0, 1, 1), -- 5Bladefist Mace
    (53090, 55395, 0.0061, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53090, 55431, 0.0061, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53090, 55620, 0.0061, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53090, 55387, 0.0061, 1, 0, 1, 1), -- 5Irontree Mace
    (53090, 55639, 0.0061, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53090, 55657, 0.0061, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53090, 55691, 0.0049, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53090, 55341, 0.0049, 1, 0, 1, 1), -- 5Bladefist Staff
    (53090, 55449, 0.0049, 1, 0, 1, 1), -- 5Bladefist Staff
    (53090, 55593, 0.0049, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53090, 55468, 0.0049, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53090, 55684, 0.0049, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53090, 67132, 0.0037, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (53090, 66991, 0.0037, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53090, 66941, 0.0037, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53090, 65894, 0.0037, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (53090, 65897, 0.0037, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (53090, 52374, 0.0037, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (53090, 52385, 0.0037, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (53090, 55313, 0.0037, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53090, 55340, 0.0037, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53090, 55394, 0.0037, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53090, 55547, 0.0037, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53090, 55467, 0.0037, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53090, 55665, 0.0037, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53090, 55315, 0.0037, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53090, 55396, 0.0037, 1, 0, 1, 1), -- 5Irontree Hammer
    (53090, 55450, 0.0037, 1, 0, 1, 1), -- 5Irontree Staff
    (53090, 66932, 0.0025, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53090, 66969, 0.0025, 1, 0, 1, 1), -- 4Heart of the Vile
    (53090, 67120, 0.0025, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53090, 66942, 0.0025, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53090, 66992, 0.0025, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53090, 67071, 0.0025, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53090, 67124, 0.0025, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53090, 52364, 0.0025, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53090, 52367, 0.0025, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (53090, 52372, 0.0025, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (53090, 52376, 0.0025, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53090, 69820, 0.0025, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (53090, 55296, 0.0025, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53090, 55332, 0.0025, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53090, 55458, 0.0025, 1, 0, 1, 1), -- 5Bladefist Sword
    (53090, 55297, 0.0025, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53090, 55342, 0.0025, 1, 0, 1, 1), -- 5Irontree Staff
    (53090, 55414, 0.0025, 1, 0, 1, 1), -- 5Irontree Spear
    (53090, 55459, 0.0025, 1, 0, 1, 1), -- 5Irontree Sword
    (53090, 67133, 0.0012, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (53090, 67135, 0.0012, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (53090, 67147, 0.0012, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (53090, 68782, 0.0012, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53090, 66940, 0.0012, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (53090, 66968, 0.0012, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53090, 66970, 0.0012, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (53090, 66971, 0.0012, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53090, 66990, 0.0012, 1, 0, 1, 1), -- 4Downfall Hammer
    (53090, 67119, 0.0012, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (53090, 66972, 0.0012, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53090, 66973, 0.0012, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53090, 66974, 0.0012, 1, 0, 1, 1), -- 4Nightrend Choker
    (53090, 66993, 0.0012, 1, 0, 1, 1), -- 4Sorrow's End
    (53090, 67067, 0.0012, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53090, 67125, 0.0012, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53090, 67126, 0.0012, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53090, 67127, 0.0012, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53090, 52363, 0.0012, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53090, 52368, 0.0012, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53090, 52369, 0.0012, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53090, 52373, 0.0012, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (53090, 52375, 0.0012, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (53090, 52378, 0.0012, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (53090, 52383, 0.0012, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (53090, 52386, 0.0012, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (53090, 52388, 0.0012, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (53090, 55295, 0.0012, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53090, 55304, 0.0012, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53090, 55322, 0.0012, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53090, 55376, 0.0012, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53090, 55287, 0.0012, 1, 0, 1, 1), -- 5Bladefist Axe
    (53090, 55413, 0.0012, 1, 0, 1, 1), -- 5Bladefist Spear
    (53090, 55351, 0.0012, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53090, 55360, 0.0012, 1, 0, 1, 1), -- 5Irontree Gun
    (53090, 55432, 0.0012, 1, 0, 1, 1); -- 5Crystalvein Shield
    UPDATE `creature_template` SET `lootid` = 53090 WHERE `entry` = 53090;
    
    
        --  http://www.wowhead.com/npc=53093
    DELETE FROM `creature_loot_template` WHERE `entry` = 53093;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53093, 53010, 49.3578, 1, 0, 1, 1), -- 6Embersilk Cloth
    (53093, 68198, 19.8215, 1, 0, 1, 1), -- 7Ruined Embersilk Scraps
    (53093, 58268, 10.9373, 1, 0, 1, 1), -- 6Roasted Beef
    (53093, 68197, 6.9495, 1, 0, 1, 1), -- 7Scavenged Animal Parts
    (53093, 58256, 5.4836, 1, 0, 1, 1), -- 6Sparkling Oasis Water
    (53093, 68729, 0.4703, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53093, 62069, 0.2343, 1, 0, 1, 1), -- 7Plugged Rifle
    (53093, 62068, 0.2304, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53093, 62067, 0.2162, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53093, 62070, 0.2089, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53093, 62072, 0.2019, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53093, 62064, 0.1991, 1, 0, 1, 1), -- 7Warped Greatsword
    (53093, 62065, 0.1953, 1, 0, 1, 1), -- 7Melted Cleaver
    (53093, 62066, 0.1942, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53093, 62071, 0.1897, 1, 0, 1, 1), -- 7Corroded Blade
    (53093, 62063, 0.1887, 1, 0, 1, 1), -- 7Shattered War Mace
    (53093, 62096, 0.1065, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53093, 62078, 0.1058, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53093, 62086, 0.1055, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53093, 62074, 0.1009, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53093, 62098, 0.0999, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53093, 62079, 0.0978, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53093, 62112, 0.0978, 1, 0, 1, 1), -- 7Singed Pants
    (53093, 62082, 0.0943, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53093, 62097, 0.0940, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53093, 62087, 0.0919, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53093, 62103, 0.0909, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53093, 62076, 0.0891, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53093, 62080, 0.0884, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53093, 62099, 0.0881, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53093, 62092, 0.0877, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53093, 55421, 0.0870, 1, 0, 1, 1), -- 5Mereldar Ring
    (53093, 62083, 0.0860, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53093, 55423, 0.0853, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53093, 62101, 0.0853, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53093, 62107, 0.0853, 1, 0, 1, 1), -- 7Singed Belt
    (53093, 62085, 0.0846, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53093, 62122, 0.0846, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53093, 62081, 0.0842, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53093, 62090, 0.0839, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53093, 62093, 0.0835, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53093, 62088, 0.0825, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53093, 62094, 0.0825, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53093, 62125, 0.0825, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53093, 62102, 0.0818, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53093, 62077, 0.0815, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53093, 62084, 0.0804, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53093, 62111, 0.0794, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53093, 62075, 0.0787, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53093, 62091, 0.0783, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53093, 62073, 0.0776, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53093, 62123, 0.0769, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53093, 62104, 0.0762, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53093, 62089, 0.0755, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53093, 62100, 0.0752, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53093, 62095, 0.0745, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53093, 62135, 0.0741, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53093, 55422, 0.0731, 1, 0, 1, 1), -- 5Thondroril Ring
    (53093, 55440, 0.0721, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53093, 62132, 0.0717, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53093, 62131, 0.0714, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53093, 62121, 0.0707, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53093, 62124, 0.0703, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53093, 62106, 0.0693, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53093, 62129, 0.0693, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53093, 62133, 0.0689, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53093, 55439, 0.0686, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53093, 62116, 0.0682, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53093, 62127, 0.0675, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53093, 62108, 0.0672, 1, 0, 1, 1), -- 7Singed Armor
    (53093, 62119, 0.0668, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53093, 62113, 0.0654, 1, 0, 1, 1), -- 7Singed Gloves
    (53093, 62114, 0.0654, 1, 0, 1, 1), -- 7Singed Bracers
    (53093, 62130, 0.0647, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53093, 62115, 0.0641, 1, 0, 1, 1), -- 7Singed Boots
    (53093, 62126, 0.0641, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53093, 62128, 0.0634, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53093, 62118, 0.0606, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53093, 55441, 0.0602, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53093, 62117, 0.0602, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53093, 62110, 0.0599, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53093, 62105, 0.0592, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53093, 62120, 0.0585, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53093, 62134, 0.0571, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53093, 62136, 0.0571, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53093, 67539, 0.0567, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53093, 55745, 0.0543, 1, 0, 1, 1), -- 5Everstill Cowl
    (53093, 62109, 0.0543, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53093, 55729, 0.0491, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53093, 55746, 0.0487, 1, 0, 1, 1), -- 5Mystral Cowl
    (53093, 55486, 0.0480, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53093, 55728, 0.0473, 1, 0, 1, 1), -- 5Mystral Sandals
    (53093, 55711, 0.0470, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53093, 55755, 0.0463, 1, 0, 1, 1), -- 5Mystral Leggings
    (53093, 55720, 0.0463, 1, 0, 1, 1), -- 5Bluefen Robe
    (53093, 55485, 0.0456, 1, 0, 1, 1), -- 5Thondroril Wand
    (53093, 55404, 0.0435, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53093, 55630, 0.0435, 1, 0, 1, 1), -- 5Talondeep Belt
    (53093, 55557, 0.0432, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53093, 55738, 0.0432, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53093, 55718, 0.0428, 1, 0, 1, 1), -- 5Everstill Robe
    (53093, 55621, 0.0428, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53093, 55403, 0.0425, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53093, 55773, 0.0425, 1, 0, 1, 1), -- 5Mystral Cord
    (53093, 55709, 0.0421, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53093, 55765, 0.0421, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53093, 55727, 0.0418, 1, 0, 1, 1), -- 5Everstill Sandals
    (53093, 55764, 0.0418, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53093, 55754, 0.0411, 1, 0, 1, 1), -- 5Everstill Leggings
    (53093, 55719, 0.0411, 1, 0, 1, 1), -- 5Mystral Robe
    (53093, 55774, 0.0411, 1, 0, 1, 1), -- 5Bluefen Cord
    (53093, 55493, 0.0407, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53093, 55747, 0.0404, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53093, 55513, 0.0400, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53093, 55584, 0.0397, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53093, 55405, 0.0397, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53093, 55530, 0.0393, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53093, 55737, 0.0390, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53093, 55772, 0.0386, 1, 0, 1, 1), -- 5Everstill Cord
    (53093, 55682, 0.0383, 1, 0, 1, 1), -- 5Dandred Britches
    (53093, 55700, 0.0383, 1, 0, 1, 1), -- 5Dandred Waistband
    (53093, 55593, 0.0383, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53093, 55484, 0.0372, 1, 0, 1, 1), -- 5Mereldar Wand
    (53093, 55315, 0.0372, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53093, 55430, 0.0369, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53093, 55763, 0.0366, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53093, 55512, 0.0366, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53093, 55756, 0.0366, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53093, 55574, 0.0362, 1, 0, 1, 1), -- 5Highperch Vest
    (53093, 55566, 0.0362, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53093, 55736, 0.0355, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53093, 55538, 0.0348, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53093, 55674, 0.0341, 1, 0, 1, 1), -- 5Haldarr Hood
    (53093, 55495, 0.0341, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53093, 55702, 0.0341, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53093, 55520, 0.0334, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53093, 55628, 0.0334, 1, 0, 1, 1), -- 5Highperch Belt
    (53093, 55610, 0.0331, 1, 0, 1, 1), -- 5Highperch Legguards
    (53093, 55368, 0.0331, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53093, 55521, 0.0331, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53093, 55567, 0.0331, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53093, 55529, 0.0327, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53093, 55655, 0.0327, 1, 0, 1, 1), -- 5Dandred Boots
    (53093, 55558, 0.0327, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53093, 55611, 0.0317, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53093, 55522, 0.0317, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53093, 55547, 0.0310, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53093, 55710, 0.0310, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53093, 55594, 0.0310, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53093, 55656, 0.0306, 1, 0, 1, 1), -- 5Haldarr Boots
    (53093, 55378, 0.0306, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53093, 55575, 0.0303, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53093, 55539, 0.0296, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53093, 55367, 0.0292, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53093, 55602, 0.0292, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53093, 55565, 0.0285, 1, 0, 1, 1), -- 5Highperch Bracers
    (53093, 55629, 0.0285, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53093, 55691, 0.0282, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53093, 55601, 0.0278, 1, 0, 1, 1), -- 5Highperch Helm
    (53093, 55503, 0.0278, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53093, 55531, 0.0278, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53093, 55673, 0.0275, 1, 0, 1, 1), -- 5Dandred Hood
    (53093, 55666, 0.0275, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53093, 55376, 0.0272, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53093, 55576, 0.0272, 1, 0, 1, 1), -- 5Talondeep Vest
    (53093, 55603, 0.0272, 1, 0, 1, 1), -- 5Talondeep Helm
    (53093, 55639, 0.0268, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53093, 55675, 0.0261, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53093, 55693, 0.0261, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53093, 55692, 0.0258, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53093, 55612, 0.0258, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53093, 55684, 0.0258, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53093, 55549, 0.0254, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53093, 55592, 0.0251, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53093, 55458, 0.0251, 1, 0, 1, 1), -- 5Bladefist Sword
    (53093, 55701, 0.0251, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53093, 55638, 0.0247, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53093, 55665, 0.0244, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53093, 55540, 0.0244, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53093, 55349, 0.0240, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53093, 55657, 0.0240, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53093, 55502, 0.0237, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53093, 55511, 0.0233, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53093, 55583, 0.0233, 1, 0, 1, 1), -- 5Highperch Greaves
    (53093, 55637, 0.0233, 1, 0, 1, 1), -- 5Dandred Bindings
    (53093, 65896, 0.0230, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (53093, 55432, 0.0230, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53093, 55369, 0.0226, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53093, 55585, 0.0226, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53093, 55647, 0.0223, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53093, 65895, 0.0219, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (53093, 55556, 0.0219, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53093, 55664, 0.0219, 1, 0, 1, 1), -- 5Dandred Gloves
    (53093, 55377, 0.0216, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53093, 55648, 0.0212, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53093, 55683, 0.0209, 1, 0, 1, 1), -- 5Haldarr Britches
    (53093, 55504, 0.0209, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53093, 55296, 0.0205, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53093, 55548, 0.0202, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53093, 55619, 0.0198, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53093, 55351, 0.0198, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53093, 55459, 0.0195, 1, 0, 1, 1), -- 5Irontree Sword
    (53093, 65894, 0.0191, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (53093, 55431, 0.0191, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53093, 55286, 0.0188, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53093, 55494, 0.0188, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53093, 55297, 0.0188, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53093, 55386, 0.0184, 1, 0, 1, 1), -- 5Bladefist Mace
    (53093, 52197, 0.0178, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (53093, 55620, 0.0174, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53093, 55331, 0.0167, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53093, 55314, 0.0164, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53093, 55332, 0.0160, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53093, 55412, 0.0157, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53093, 55333, 0.0153, 1, 0, 1, 1), -- 5Irontree Dagger
    (53093, 55295, 0.0150, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53093, 65897, 0.0146, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (53093, 55385, 0.0146, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53093, 55466, 0.0139, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53093, 55287, 0.0136, 1, 0, 1, 1), -- 5Bladefist Axe
    (53093, 55341, 0.0136, 1, 0, 1, 1), -- 5Bladefist Staff
    (53093, 55288, 0.0136, 1, 0, 1, 1), -- 5Irontree Axe
    (53093, 55414, 0.0136, 1, 0, 1, 1), -- 5Irontree Spear
    (53093, 55313, 0.0132, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53093, 55646, 0.0132, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53093, 55396, 0.0132, 1, 0, 1, 1), -- 5Irontree Hammer
    (53093, 55457, 0.0118, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53093, 55449, 0.0118, 1, 0, 1, 1), -- 5Bladefist Staff
    (53093, 55340, 0.0111, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53093, 55467, 0.0111, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53093, 55387, 0.0111, 1, 0, 1, 1), -- 5Irontree Mace
    (53093, 55450, 0.0111, 1, 0, 1, 1), -- 5Irontree Staff
    (53093, 55350, 0.0108, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53093, 55394, 0.0097, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53093, 55342, 0.0097, 1, 0, 1, 1), -- 5Irontree Staff
    (53093, 55468, 0.0097, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53093, 68787, 0.0094, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (53093, 55413, 0.0094, 1, 0, 1, 1), -- 5Bladefist Spear
    (53093, 55395, 0.0087, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53093, 55448, 0.0073, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53093, 52373, 0.0070, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (53093, 52388, 0.0070, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (53093, 66972, 0.0066, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53093, 52364, 0.0066, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53093, 68781, 0.0063, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53093, 67120, 0.0063, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53093, 52378, 0.0063, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (53093, 69820, 0.0063, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (53093, 55304, 0.0056, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53093, 52365, 0.0052, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (53093, 55360, 0.0052, 1, 0, 1, 1), -- 5Irontree Gun
    (53093, 68782, 0.0049, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53093, 67123, 0.0049, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53093, 66973, 0.0045, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53093, 67069, 0.0045, 1, 0, 1, 1), -- 4Shade of Death
    (53093, 52374, 0.0045, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (53093, 52382, 0.0045, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (53093, 68789, 0.0042, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53093, 67057, 0.0042, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53093, 52368, 0.0042, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53093, 52371, 0.0042, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (53093, 55359, 0.0042, 1, 0, 1, 1), -- 5Bladefist Gun
    (53093, 66931, 0.0038, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53093, 67122, 0.0038, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53093, 52366, 0.0038, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (53093, 66991, 0.0035, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53093, 66993, 0.0035, 1, 0, 1, 1), -- 4Sorrow's End
    (53093, 52372, 0.0035, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (53093, 52377, 0.0035, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (53093, 55305, 0.0035, 1, 0, 1, 1), -- 5Bladefist Bow
    (53093, 67140, 0.0031, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (53093, 68788, 0.0031, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (53093, 66968, 0.0031, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53093, 66971, 0.0031, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53093, 67121, 0.0031, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53093, 66974, 0.0031, 1, 0, 1, 1), -- 4Nightrend Choker
    (53093, 52375, 0.0031, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (53093, 52376, 0.0031, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53093, 52379, 0.0031, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53093, 52386, 0.0031, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (53093, 55358, 0.0031, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53093, 66969, 0.0028, 1, 0, 1, 1), -- 4Heart of the Vile
    (53093, 66989, 0.0028, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53093, 52367, 0.0028, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (53093, 52385, 0.0028, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (53093, 55322, 0.0028, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53093, 67145, 0.0024, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (53093, 68783, 0.0024, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53093, 66942, 0.0024, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53093, 66976, 0.0024, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53093, 67067, 0.0024, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53093, 67071, 0.0024, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53093, 67126, 0.0024, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53093, 52370, 0.0024, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (53093, 52383, 0.0024, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (53093, 55323, 0.0024, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (53093, 55324, 0.0024, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53093, 67139, 0.0021, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (53093, 67142, 0.0021, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (53093, 67147, 0.0021, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (53093, 66990, 0.0021, 1, 0, 1, 1), -- 4Downfall Hammer
    (53093, 66975, 0.0021, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53093, 67125, 0.0021, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53093, 67127, 0.0021, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53093, 52363, 0.0021, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53093, 55306, 0.0021, 1, 0, 1, 1), -- 5Irontree Bow
    (53093, 67130, 0.0017, 1, 0, 1, 1), -- 3Dorian's Lost Necklace
    (53093, 52369, 0.0017, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53093, 67129, 0.0014, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (53093, 67131, 0.0014, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (53093, 67133, 0.0014, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (53093, 67143, 0.0014, 1, 0, 1, 1), -- 3Icebone Hauberk
    (53093, 67144, 0.0014, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (53093, 66940, 0.0014, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (53093, 67119, 0.0014, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (53093, 66941, 0.0014, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53093, 66992, 0.0014, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53093, 67124, 0.0014, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53093, 67135, 0.0010, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (53093, 67137, 0.0010, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (53093, 67149, 0.0010, 1, 0, 1, 1), -- 3Heartbound Tome
    (53093, 67150, 0.0010, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (53093, 66970, 0.0010, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (53093, 67132, 0.0007, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (53093, 67134, 0.0007, 1, 0, 1, 1), -- 3Dory's Finery
    (53093, 67141, 0.0007, 1, 0, 1, 1), -- 3Corefire Legplates
    (53093, 66932, 0.0007, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53093, 66994, 0.0007, 1, 0, 1, 1), -- 4Soul's Anguish
    (53093, 67136, 0.0003, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (53093, 67138, 0.0003, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (53093, 67148, 0.0003, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (53093, 67061, 0.0003, 1, 0, 1, 1); -- 4Bulwark of the Scorned Man
    UPDATE `creature_template` SET `lootid` = 53093 WHERE `entry` = 53093;
    
    
        --  http://www.wowhead.com/npc=53143
    DELETE FROM `creature_loot_template` WHERE `entry` = 53143;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53143, 53010, 46.6213, 1, 0, 1, 1), -- 6Embersilk Cloth
    (53143, 68198, 18.7496, 1, 0, 1, 1), -- 7Ruined Embersilk Scraps
    (53143, 58268, 10.4775, 1, 0, 1, 1), -- 6Roasted Beef
    (53143, 68197, 6.4211, 1, 0, 1, 1), -- 7Scavenged Animal Parts
    (53143, 58256, 5.1735, 1, 0, 1, 1), -- 6Sparkling Oasis Water
    (53143, 68729, 0.4894, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53143, 62068, 0.2439, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53143, 62066, 0.2234, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53143, 62067, 0.2195, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53143, 62069, 0.1958, 1, 0, 1, 1), -- 7Plugged Rifle
    (53143, 62070, 0.1941, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53143, 62063, 0.1925, 1, 0, 1, 1), -- 7Shattered War Mace
    (53143, 62071, 0.1925, 1, 0, 1, 1), -- 7Corroded Blade
    (53143, 62064, 0.1908, 1, 0, 1, 1), -- 7Warped Greatsword
    (53143, 62072, 0.1853, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53143, 62065, 0.1775, 1, 0, 1, 1), -- 7Melted Cleaver
    (53143, 62086, 0.1167, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53143, 62082, 0.1112, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53143, 62075, 0.1034, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53143, 62073, 0.0935, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53143, 62085, 0.0929, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53143, 62079, 0.0918, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53143, 62096, 0.0918, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53143, 62087, 0.0912, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53143, 62093, 0.0896, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53143, 62084, 0.0863, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53143, 62103, 0.0863, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53143, 62098, 0.0857, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53143, 62097, 0.0852, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53143, 62076, 0.0835, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53143, 62080, 0.0830, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53143, 62077, 0.0824, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53143, 62083, 0.0818, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53143, 62089, 0.0818, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53143, 62102, 0.0807, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53143, 62127, 0.0807, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53143, 55423, 0.0785, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53143, 62088, 0.0785, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53143, 55422, 0.0780, 1, 0, 1, 1), -- 5Thondroril Ring
    (53143, 62106, 0.0780, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53143, 62094, 0.0774, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53143, 62104, 0.0769, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53143, 62081, 0.0763, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53143, 62091, 0.0763, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53143, 62099, 0.0758, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53143, 62092, 0.0752, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53143, 62101, 0.0747, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53143, 62108, 0.0719, 1, 0, 1, 1), -- 7Singed Armor
    (53143, 62112, 0.0719, 1, 0, 1, 1), -- 7Singed Pants
    (53143, 62114, 0.0719, 1, 0, 1, 1), -- 7Singed Bracers
    (53143, 62078, 0.0713, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53143, 62110, 0.0702, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53143, 62074, 0.0697, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53143, 62111, 0.0686, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53143, 62117, 0.0686, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53143, 62121, 0.0680, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53143, 62095, 0.0669, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53143, 62130, 0.0669, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53143, 62100, 0.0664, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53143, 62090, 0.0658, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53143, 62125, 0.0658, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53143, 62107, 0.0653, 1, 0, 1, 1), -- 7Singed Belt
    (53143, 62109, 0.0647, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53143, 62124, 0.0647, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53143, 62136, 0.0647, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53143, 55441, 0.0642, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53143, 67539, 0.0642, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53143, 62122, 0.0636, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53143, 62131, 0.0630, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53143, 55421, 0.0614, 1, 0, 1, 1), -- 5Mereldar Ring
    (53143, 62119, 0.0614, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53143, 62133, 0.0614, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53143, 62123, 0.0608, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53143, 55440, 0.0592, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53143, 62116, 0.0592, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53143, 62135, 0.0592, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53143, 62126, 0.0586, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53143, 62105, 0.0581, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53143, 62134, 0.0564, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53143, 55439, 0.0559, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53143, 62118, 0.0559, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53143, 62115, 0.0553, 1, 0, 1, 1), -- 7Singed Boots
    (53143, 62128, 0.0553, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53143, 55756, 0.0536, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53143, 62129, 0.0520, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53143, 62113, 0.0498, 1, 0, 1, 1), -- 7Singed Gloves
    (53143, 55539, 0.0492, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53143, 62132, 0.0492, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53143, 55764, 0.0481, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53143, 55486, 0.0453, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53143, 55548, 0.0442, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53143, 55720, 0.0442, 1, 0, 1, 1), -- 5Bluefen Robe
    (53143, 55484, 0.0437, 1, 0, 1, 1), -- 5Mereldar Wand
    (53143, 55736, 0.0437, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53143, 55709, 0.0431, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53143, 62120, 0.0431, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53143, 55763, 0.0415, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53143, 55719, 0.0415, 1, 0, 1, 1), -- 5Mystral Robe
    (53143, 55711, 0.0415, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53143, 55737, 0.0404, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53143, 55729, 0.0398, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53143, 55727, 0.0393, 1, 0, 1, 1), -- 5Everstill Sandals
    (53143, 55403, 0.0387, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53143, 55754, 0.0387, 1, 0, 1, 1), -- 5Everstill Leggings
    (53143, 55404, 0.0387, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53143, 55593, 0.0387, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53143, 55556, 0.0382, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53143, 55772, 0.0382, 1, 0, 1, 1), -- 5Everstill Cord
    (53143, 55485, 0.0382, 1, 0, 1, 1), -- 5Thondroril Wand
    (53143, 55746, 0.0382, 1, 0, 1, 1), -- 5Mystral Cowl
    (53143, 55405, 0.0376, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53143, 55601, 0.0371, 1, 0, 1, 1), -- 5Highperch Helm
    (53143, 55664, 0.0371, 1, 0, 1, 1), -- 5Dandred Gloves
    (53143, 55540, 0.0371, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53143, 55774, 0.0371, 1, 0, 1, 1), -- 5Bluefen Cord
    (53143, 55710, 0.0359, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53143, 55728, 0.0359, 1, 0, 1, 1), -- 5Mystral Sandals
    (53143, 55691, 0.0348, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53143, 55745, 0.0348, 1, 0, 1, 1), -- 5Everstill Cowl
    (53143, 55369, 0.0348, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53143, 55718, 0.0343, 1, 0, 1, 1), -- 5Everstill Robe
    (53143, 55522, 0.0343, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53143, 55538, 0.0337, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53143, 55530, 0.0337, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53143, 55549, 0.0337, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53143, 55738, 0.0337, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53143, 55765, 0.0332, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53143, 55520, 0.0326, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53143, 55683, 0.0315, 1, 0, 1, 1), -- 5Haldarr Britches
    (53143, 55755, 0.0315, 1, 0, 1, 1), -- 5Mystral Leggings
    (53143, 55628, 0.0310, 1, 0, 1, 1), -- 5Highperch Belt
    (53143, 55700, 0.0310, 1, 0, 1, 1), -- 5Dandred Waistband
    (53143, 55630, 0.0310, 1, 0, 1, 1), -- 5Talondeep Belt
    (53143, 55648, 0.0310, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53143, 55368, 0.0304, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53143, 55547, 0.0299, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53143, 55576, 0.0299, 1, 0, 1, 1), -- 5Talondeep Vest
    (53143, 55693, 0.0299, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53143, 55747, 0.0299, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53143, 55367, 0.0293, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53143, 55575, 0.0293, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53143, 55674, 0.0293, 1, 0, 1, 1), -- 5Haldarr Hood
    (53143, 55684, 0.0288, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53143, 55682, 0.0282, 1, 0, 1, 1), -- 5Dandred Britches
    (53143, 55494, 0.0282, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53143, 55602, 0.0282, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53143, 55495, 0.0282, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53143, 55702, 0.0282, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53143, 55637, 0.0277, 1, 0, 1, 1), -- 5Dandred Bindings
    (53143, 55512, 0.0277, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53143, 55692, 0.0277, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53143, 55585, 0.0277, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53143, 55504, 0.0271, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53143, 55531, 0.0271, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53143, 55675, 0.0271, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53143, 55655, 0.0265, 1, 0, 1, 1), -- 5Dandred Boots
    (53143, 55673, 0.0265, 1, 0, 1, 1), -- 5Dandred Hood
    (53143, 55503, 0.0265, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53143, 55773, 0.0265, 1, 0, 1, 1), -- 5Mystral Cord
    (53143, 55619, 0.0260, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53143, 55701, 0.0260, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53143, 55513, 0.0260, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53143, 55621, 0.0260, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53143, 55493, 0.0254, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53143, 55583, 0.0254, 1, 0, 1, 1), -- 5Highperch Greaves
    (53143, 65894, 0.0249, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (53143, 55502, 0.0249, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53143, 55511, 0.0249, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53143, 55574, 0.0249, 1, 0, 1, 1), -- 5Highperch Vest
    (53143, 55620, 0.0249, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53143, 55529, 0.0243, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53143, 55557, 0.0243, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53143, 55611, 0.0243, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53143, 55646, 0.0238, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53143, 55558, 0.0238, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53143, 55567, 0.0238, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53143, 55594, 0.0238, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53143, 65896, 0.0232, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (53143, 55610, 0.0232, 1, 0, 1, 1), -- 5Highperch Legguards
    (53143, 55431, 0.0232, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53143, 55566, 0.0232, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53143, 55584, 0.0232, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53143, 55647, 0.0232, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53143, 55592, 0.0227, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53143, 55656, 0.0227, 1, 0, 1, 1), -- 5Haldarr Boots
    (53143, 55313, 0.0221, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53143, 55665, 0.0216, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53143, 55657, 0.0216, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53143, 55666, 0.0216, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53143, 65895, 0.0210, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (53143, 55638, 0.0210, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53143, 55333, 0.0210, 1, 0, 1, 1), -- 5Irontree Dagger
    (53143, 55565, 0.0205, 1, 0, 1, 1), -- 5Highperch Bracers
    (53143, 55314, 0.0205, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53143, 55377, 0.0194, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53143, 55612, 0.0194, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53143, 55521, 0.0188, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53143, 55351, 0.0188, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53143, 55639, 0.0182, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53143, 55349, 0.0177, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53143, 55629, 0.0177, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53143, 55432, 0.0177, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53143, 55385, 0.0171, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53143, 55288, 0.0171, 1, 0, 1, 1), -- 5Irontree Axe
    (53143, 55297, 0.0166, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53143, 55376, 0.0160, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53143, 55386, 0.0160, 1, 0, 1, 1), -- 5Bladefist Mace
    (53143, 55459, 0.0160, 1, 0, 1, 1), -- 5Irontree Sword
    (53143, 55468, 0.0160, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53143, 55430, 0.0155, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53143, 55287, 0.0155, 1, 0, 1, 1), -- 5Bladefist Axe
    (53143, 55315, 0.0155, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53143, 55603, 0.0155, 1, 0, 1, 1), -- 5Talondeep Helm
    (53143, 55286, 0.0144, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53143, 55466, 0.0144, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53143, 55457, 0.0138, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53143, 55458, 0.0138, 1, 0, 1, 1), -- 5Bladefist Sword
    (53143, 52197, 0.0133, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (53143, 65897, 0.0133, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (53143, 55295, 0.0133, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53143, 55350, 0.0133, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53143, 55378, 0.0127, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53143, 55341, 0.0122, 1, 0, 1, 1), -- 5Bladefist Staff
    (53143, 55467, 0.0122, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53143, 55332, 0.0116, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53143, 55413, 0.0116, 1, 0, 1, 1), -- 5Bladefist Spear
    (53143, 55412, 0.0111, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53143, 55296, 0.0111, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53143, 55342, 0.0111, 1, 0, 1, 1), -- 5Irontree Staff
    (53143, 52377, 0.0105, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (53143, 55331, 0.0105, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53143, 55387, 0.0094, 1, 0, 1, 1), -- 5Irontree Mace
    (53143, 55414, 0.0094, 1, 0, 1, 1), -- 5Irontree Spear
    (53143, 55358, 0.0088, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53143, 66940, 0.0077, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (53143, 55396, 0.0077, 1, 0, 1, 1), -- 5Irontree Hammer
    (53143, 55450, 0.0072, 1, 0, 1, 1), -- 5Irontree Staff
    (53143, 68788, 0.0066, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (53143, 66991, 0.0066, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53143, 52368, 0.0066, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53143, 55394, 0.0066, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53143, 67141, 0.0061, 1, 0, 1, 1), -- 3Corefire Legplates
    (53143, 68781, 0.0061, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53143, 67120, 0.0061, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53143, 52369, 0.0061, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53143, 52379, 0.0061, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53143, 52382, 0.0061, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (53143, 55340, 0.0061, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53143, 67121, 0.0055, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53143, 55395, 0.0055, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53143, 55360, 0.0055, 1, 0, 1, 1), -- 5Irontree Gun
    (53143, 66942, 0.0050, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53143, 66975, 0.0050, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53143, 52371, 0.0050, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (53143, 52375, 0.0050, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (53143, 52376, 0.0050, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53143, 68782, 0.0044, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53143, 66968, 0.0044, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53143, 52366, 0.0044, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (53143, 52372, 0.0044, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (53143, 52383, 0.0044, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (53143, 69820, 0.0044, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (53143, 55448, 0.0044, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53143, 68783, 0.0039, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53143, 66989, 0.0039, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53143, 67119, 0.0039, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (53143, 67125, 0.0039, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53143, 55305, 0.0039, 1, 0, 1, 1), -- 5Bladefist Bow
    (53143, 55323, 0.0039, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (53143, 68789, 0.0033, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53143, 66969, 0.0033, 1, 0, 1, 1), -- 4Heart of the Vile
    (53143, 67124, 0.0033, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53143, 67126, 0.0033, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53143, 52363, 0.0033, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53143, 52367, 0.0033, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (53143, 52378, 0.0033, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (53143, 55304, 0.0033, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53143, 55359, 0.0033, 1, 0, 1, 1), -- 5Bladefist Gun
    (53143, 55306, 0.0033, 1, 0, 1, 1), -- 5Irontree Bow
    (53143, 68787, 0.0028, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (53143, 67122, 0.0028, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53143, 66976, 0.0028, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53143, 66992, 0.0028, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53143, 67123, 0.0028, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53143, 67127, 0.0028, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53143, 52364, 0.0028, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53143, 52370, 0.0028, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (53143, 55322, 0.0028, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53143, 66932, 0.0022, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53143, 66971, 0.0022, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53143, 66990, 0.0022, 1, 0, 1, 1), -- 4Downfall Hammer
    (53143, 66941, 0.0022, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53143, 66972, 0.0022, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53143, 66993, 0.0022, 1, 0, 1, 1), -- 4Sorrow's End
    (53143, 66994, 0.0022, 1, 0, 1, 1), -- 4Soul's Anguish
    (53143, 55324, 0.0022, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53143, 67134, 0.0017, 1, 0, 1, 1), -- 3Dory's Finery
    (53143, 67149, 0.0017, 1, 0, 1, 1), -- 3Heartbound Tome
    (53143, 66931, 0.0017, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53143, 67061, 0.0017, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (53143, 67071, 0.0017, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53143, 52373, 0.0017, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (53143, 52385, 0.0017, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (53143, 52386, 0.0017, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (53143, 55449, 0.0017, 1, 0, 1, 1), -- 5Bladefist Staff
    (53143, 67129, 0.0011, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (53143, 67135, 0.0011, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (53143, 67136, 0.0011, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (53143, 67145, 0.0011, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (53143, 67146, 0.0011, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (53143, 66970, 0.0011, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (53143, 67057, 0.0011, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53143, 66974, 0.0011, 1, 0, 1, 1), -- 4Nightrend Choker
    (53143, 67069, 0.0011, 1, 0, 1, 1), -- 4Shade of Death
    (53143, 52365, 0.0011, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (53143, 52374, 0.0011, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (53143, 67131, 0.0006, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (53143, 67137, 0.0006, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (53143, 67138, 0.0006, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (53143, 67139, 0.0006, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (53143, 67143, 0.0006, 1, 0, 1, 1), -- 3Icebone Hauberk
    (53143, 67147, 0.0006, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (53143, 67148, 0.0006, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (53143, 66973, 0.0006, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53143, 67067, 0.0006, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53143, 20400, 0.0006, 1, 0, 1, 1), -- 5Pumpkin Bag
    (53143, 52388, 0.0006, 1, 0, 1, 1); -- 5Design: Zen Jasper
    UPDATE `creature_template` SET `lootid` = 53143 WHERE `entry` = 53143;
    
        --  http://www.wowhead.com/npc=53152
    DELETE FROM `creature_loot_template` WHERE `entry` = 53152;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53152, 69816, -98.9714, 1, 0, 1, 1), -- 6Houndbone Ash
    (53152, 69765, -0.0553, 1, 0, 1, 1); -- 6Lucifern
    UPDATE `creature_template` SET `lootid` = 53152 WHERE `entry` = 53152;
    
        --  http://www.wowhead.com/npc=53240
    DELETE FROM `creature_loot_template` WHERE `entry` = 53240;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53240, 71375, 95.2841, 1, 0, 1, 1), -- 7Red Ash
    (53240, 71376, 4.6434, 1, 0, 1, 1), -- 7Lava Ruby
    (53240, 68729, 0.1743, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53240, 62065, 0.0956, 1, 0, 1, 1), -- 7Melted Cleaver
    (53240, 62064, 0.0930, 1, 0, 1, 1), -- 7Warped Greatsword
    (53240, 62070, 0.0913, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53240, 62069, 0.0885, 1, 0, 1, 1), -- 7Plugged Rifle
    (53240, 62063, 0.0873, 1, 0, 1, 1), -- 7Shattered War Mace
    (53240, 62068, 0.0843, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53240, 62067, 0.0819, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53240, 62066, 0.0811, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53240, 62072, 0.0791, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53240, 62071, 0.0778, 1, 0, 1, 1), -- 7Corroded Blade
    (53240, 62082, 0.0503, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53240, 62086, 0.0434, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53240, 62077, 0.0432, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53240, 62083, 0.0413, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53240, 62093, 0.0406, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53240, 62092, 0.0396, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53240, 62081, 0.0389, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53240, 55421, 0.0387, 1, 0, 1, 1), -- 5Mereldar Ring
    (53240, 62103, 0.0383, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53240, 62076, 0.0381, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53240, 62075, 0.0374, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53240, 62078, 0.0372, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53240, 62100, 0.0372, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53240, 62101, 0.0372, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53240, 62098, 0.0370, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53240, 62087, 0.0368, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53240, 62074, 0.0361, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53240, 62096, 0.0357, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53240, 62095, 0.0355, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53240, 62099, 0.0351, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53240, 62088, 0.0347, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53240, 62094, 0.0340, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53240, 62124, 0.0336, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53240, 55423, 0.0334, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53240, 62091, 0.0334, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53240, 55422, 0.0332, 1, 0, 1, 1), -- 5Thondroril Ring
    (53240, 62105, 0.0327, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53240, 62111, 0.0327, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53240, 62080, 0.0323, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53240, 62108, 0.0319, 1, 0, 1, 1), -- 7Singed Armor
    (53240, 62127, 0.0319, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53240, 62104, 0.0310, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53240, 62090, 0.0300, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53240, 62079, 0.0299, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53240, 62119, 0.0299, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53240, 62097, 0.0297, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53240, 62089, 0.0295, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53240, 62102, 0.0295, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53240, 62084, 0.0293, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53240, 62122, 0.0293, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53240, 62085, 0.0289, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53240, 62109, 0.0289, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53240, 62113, 0.0289, 1, 0, 1, 1), -- 7Singed Gloves
    (53240, 62073, 0.0287, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53240, 62125, 0.0287, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53240, 62123, 0.0278, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53240, 62133, 0.0276, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53240, 62126, 0.0274, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53240, 62106, 0.0272, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53240, 62107, 0.0272, 1, 0, 1, 1), -- 7Singed Belt
    (53240, 62129, 0.0272, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53240, 62136, 0.0272, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53240, 62130, 0.0270, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53240, 62110, 0.0269, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53240, 62112, 0.0259, 1, 0, 1, 1), -- 7Singed Pants
    (53240, 62117, 0.0257, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53240, 62115, 0.0252, 1, 0, 1, 1), -- 7Singed Boots
    (53240, 62134, 0.0250, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53240, 55439, 0.0246, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53240, 55485, 0.0242, 1, 0, 1, 1), -- 5Thondroril Wand
    (53240, 62121, 0.0233, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53240, 62132, 0.0233, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53240, 55441, 0.0231, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53240, 62120, 0.0231, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53240, 62128, 0.0223, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53240, 62135, 0.0222, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53240, 62118, 0.0220, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53240, 55431, 0.0218, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53240, 55764, 0.0218, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53240, 67539, 0.0216, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53240, 55765, 0.0214, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53240, 62131, 0.0214, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53240, 62116, 0.0210, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53240, 62114, 0.0208, 1, 0, 1, 1), -- 7Singed Bracers
    (53240, 55754, 0.0197, 1, 0, 1, 1), -- 5Everstill Leggings
    (53240, 55772, 0.0195, 1, 0, 1, 1), -- 5Everstill Cord
    (53240, 55737, 0.0195, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53240, 55745, 0.0193, 1, 0, 1, 1), -- 5Everstill Cowl
    (53240, 55711, 0.0193, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53240, 55709, 0.0186, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53240, 55405, 0.0186, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53240, 55729, 0.0186, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53240, 55718, 0.0184, 1, 0, 1, 1), -- 5Everstill Robe
    (53240, 55404, 0.0182, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53240, 55440, 0.0182, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53240, 55720, 0.0182, 1, 0, 1, 1), -- 5Bluefen Robe
    (53240, 55719, 0.0180, 1, 0, 1, 1), -- 5Mystral Robe
    (53240, 55583, 0.0178, 1, 0, 1, 1), -- 5Highperch Greaves
    (53240, 55513, 0.0178, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53240, 55727, 0.0175, 1, 0, 1, 1), -- 5Everstill Sandals
    (53240, 55736, 0.0175, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53240, 55368, 0.0173, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53240, 55773, 0.0167, 1, 0, 1, 1), -- 5Mystral Cord
    (53240, 55575, 0.0165, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53240, 55683, 0.0165, 1, 0, 1, 1), -- 5Haldarr Britches
    (53240, 55746, 0.0165, 1, 0, 1, 1), -- 5Mystral Cowl
    (53240, 55486, 0.0163, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53240, 55755, 0.0160, 1, 0, 1, 1), -- 5Mystral Leggings
    (53240, 55763, 0.0158, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53240, 55700, 0.0156, 1, 0, 1, 1), -- 5Dandred Waistband
    (53240, 55691, 0.0154, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53240, 55675, 0.0152, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53240, 55747, 0.0152, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53240, 55530, 0.0150, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53240, 55756, 0.0146, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53240, 55557, 0.0145, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53240, 55646, 0.0143, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53240, 55738, 0.0143, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53240, 55503, 0.0141, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53240, 55593, 0.0141, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53240, 55710, 0.0141, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53240, 55585, 0.0137, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53240, 55728, 0.0135, 1, 0, 1, 1), -- 5Mystral Sandals
    (53240, 55484, 0.0133, 1, 0, 1, 1), -- 5Mereldar Wand
    (53240, 55592, 0.0133, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53240, 55531, 0.0133, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53240, 55674, 0.0131, 1, 0, 1, 1), -- 5Haldarr Hood
    (53240, 55504, 0.0131, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53240, 55522, 0.0131, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53240, 55774, 0.0131, 1, 0, 1, 1), -- 5Bluefen Cord
    (53240, 55601, 0.0130, 1, 0, 1, 1), -- 5Highperch Helm
    (53240, 55620, 0.0128, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53240, 55369, 0.0128, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53240, 55702, 0.0128, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53240, 55666, 0.0126, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53240, 55684, 0.0126, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53240, 55538, 0.0124, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53240, 55403, 0.0122, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53240, 55655, 0.0122, 1, 0, 1, 1), -- 5Dandred Boots
    (53240, 55664, 0.0120, 1, 0, 1, 1), -- 5Dandred Gloves
    (53240, 55539, 0.0120, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53240, 55548, 0.0120, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53240, 55574, 0.0118, 1, 0, 1, 1), -- 5Highperch Vest
    (53240, 55612, 0.0118, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53240, 55628, 0.0116, 1, 0, 1, 1), -- 5Highperch Belt
    (53240, 55502, 0.0115, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53240, 55529, 0.0115, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53240, 55565, 0.0115, 1, 0, 1, 1), -- 5Highperch Bracers
    (53240, 55494, 0.0115, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53240, 55611, 0.0115, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53240, 55619, 0.0113, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53240, 55495, 0.0113, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53240, 55558, 0.0113, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53240, 55630, 0.0113, 1, 0, 1, 1), -- 5Talondeep Belt
    (53240, 55693, 0.0113, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53240, 55493, 0.0111, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53240, 55520, 0.0111, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53240, 55566, 0.0111, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53240, 55647, 0.0111, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53240, 55430, 0.0109, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53240, 55673, 0.0109, 1, 0, 1, 1), -- 5Dandred Hood
    (53240, 55629, 0.0109, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53240, 55638, 0.0109, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53240, 55458, 0.0107, 1, 0, 1, 1), -- 5Bladefist Sword
    (53240, 55549, 0.0107, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53240, 55521, 0.0105, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53240, 55656, 0.0105, 1, 0, 1, 1), -- 5Haldarr Boots
    (53240, 55665, 0.0105, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53240, 55621, 0.0105, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53240, 55657, 0.0105, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53240, 55295, 0.0103, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53240, 55547, 0.0101, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53240, 55610, 0.0101, 1, 0, 1, 1), -- 5Highperch Legguards
    (53240, 55701, 0.0101, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53240, 55378, 0.0100, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53240, 55567, 0.0098, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53240, 55594, 0.0098, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53240, 55367, 0.0096, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53240, 55432, 0.0096, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53240, 55511, 0.0094, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53240, 55692, 0.0092, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53240, 55386, 0.0090, 1, 0, 1, 1), -- 5Bladefist Mace
    (53240, 55296, 0.0088, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53240, 55377, 0.0088, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53240, 55540, 0.0088, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53240, 55512, 0.0086, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53240, 55603, 0.0086, 1, 0, 1, 1), -- 5Talondeep Helm
    (53240, 55682, 0.0085, 1, 0, 1, 1), -- 5Dandred Britches
    (53240, 55584, 0.0085, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53240, 55315, 0.0085, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53240, 55313, 0.0083, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53240, 55459, 0.0081, 1, 0, 1, 1), -- 5Irontree Sword
    (53240, 55385, 0.0079, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53240, 55350, 0.0077, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53240, 55331, 0.0075, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53240, 55376, 0.0075, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53240, 55637, 0.0075, 1, 0, 1, 1), -- 5Dandred Bindings
    (53240, 55639, 0.0069, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53240, 55648, 0.0069, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53240, 55286, 0.0068, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53240, 55314, 0.0068, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53240, 55351, 0.0068, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53240, 55576, 0.0068, 1, 0, 1, 1), -- 5Talondeep Vest
    (53240, 55349, 0.0066, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53240, 55556, 0.0066, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53240, 55602, 0.0064, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53240, 65896, 0.0062, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (53240, 55412, 0.0062, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53240, 55332, 0.0062, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53240, 55333, 0.0062, 1, 0, 1, 1), -- 5Irontree Dagger
    (53240, 55297, 0.0060, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53240, 65897, 0.0058, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (53240, 55287, 0.0058, 1, 0, 1, 1), -- 5Bladefist Axe
    (53240, 55288, 0.0058, 1, 0, 1, 1), -- 5Irontree Axe
    (53240, 52197, 0.0054, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (53240, 65894, 0.0053, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (53240, 55457, 0.0053, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53240, 55395, 0.0053, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53240, 55394, 0.0051, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53240, 55466, 0.0051, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53240, 55342, 0.0051, 1, 0, 1, 1), -- 5Irontree Staff
    (53240, 55340, 0.0047, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53240, 55396, 0.0047, 1, 0, 1, 1), -- 5Irontree Hammer
    (53240, 67123, 0.0045, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53240, 55467, 0.0045, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53240, 55468, 0.0045, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53240, 65895, 0.0043, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (53240, 55449, 0.0043, 1, 0, 1, 1), -- 5Bladefist Staff
    (53240, 55387, 0.0041, 1, 0, 1, 1), -- 5Irontree Mace
    (53240, 55448, 0.0038, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53240, 55450, 0.0038, 1, 0, 1, 1), -- 5Irontree Staff
    (53240, 55414, 0.0036, 1, 0, 1, 1), -- 5Irontree Spear
    (53240, 52373, 0.0034, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (53240, 55413, 0.0034, 1, 0, 1, 1), -- 5Bladefist Spear
    (53240, 55341, 0.0032, 1, 0, 1, 1), -- 5Bladefist Staff
    (53240, 66931, 0.0030, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53240, 52364, 0.0028, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53240, 55304, 0.0028, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53240, 68782, 0.0026, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53240, 67124, 0.0026, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53240, 52370, 0.0026, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (53240, 67121, 0.0024, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53240, 67126, 0.0024, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53240, 52375, 0.0024, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (53240, 52371, 0.0023, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (53240, 52372, 0.0023, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (53240, 52378, 0.0023, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (53240, 68789, 0.0021, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53240, 66970, 0.0021, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (53240, 66975, 0.0021, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53240, 52368, 0.0021, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53240, 52374, 0.0021, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (53240, 55323, 0.0021, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (53240, 68781, 0.0019, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53240, 66968, 0.0019, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53240, 66973, 0.0019, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53240, 67071, 0.0019, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53240, 52379, 0.0019, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53240, 52385, 0.0019, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (53240, 52388, 0.0019, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (53240, 68787, 0.0017, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (53240, 66993, 0.0017, 1, 0, 1, 1), -- 4Sorrow's End
    (53240, 52365, 0.0017, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (53240, 52383, 0.0017, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (53240, 55306, 0.0017, 1, 0, 1, 1), -- 5Irontree Bow
    (53240, 67061, 0.0015, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (53240, 52366, 0.0015, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (53240, 67142, 0.0013, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (53240, 66932, 0.0013, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53240, 66971, 0.0013, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53240, 66991, 0.0013, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53240, 67122, 0.0013, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53240, 66941, 0.0013, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53240, 66972, 0.0013, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53240, 67069, 0.0013, 1, 0, 1, 1), -- 4Shade of Death
    (53240, 52367, 0.0013, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (53240, 52377, 0.0013, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (53240, 52382, 0.0013, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (53240, 52386, 0.0013, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (53240, 55358, 0.0013, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53240, 55305, 0.0013, 1, 0, 1, 1), -- 5Bladefist Bow
    (53240, 55324, 0.0013, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53240, 55360, 0.0013, 1, 0, 1, 1), -- 5Irontree Gun
    (53240, 68788, 0.0011, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (53240, 66989, 0.0011, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53240, 66990, 0.0011, 1, 0, 1, 1), -- 4Downfall Hammer
    (53240, 66976, 0.0011, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53240, 66994, 0.0011, 1, 0, 1, 1), -- 4Soul's Anguish
    (53240, 67067, 0.0011, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53240, 67125, 0.0011, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53240, 67127, 0.0011, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53240, 52363, 0.0011, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53240, 52369, 0.0011, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53240, 67141, 0.0009, 1, 0, 1, 1), -- 3Corefire Legplates
    (53240, 67145, 0.0009, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (53240, 68783, 0.0009, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53240, 66940, 0.0009, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (53240, 67119, 0.0009, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (53240, 66974, 0.0009, 1, 0, 1, 1), -- 4Nightrend Choker
    (53240, 66992, 0.0009, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53240, 69820, 0.0009, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (53240, 67135, 0.0008, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (53240, 67140, 0.0008, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (53240, 66969, 0.0008, 1, 0, 1, 1), -- 4Heart of the Vile
    (53240, 67057, 0.0008, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53240, 67120, 0.0008, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53240, 55359, 0.0008, 1, 0, 1, 1), -- 5Bladefist Gun
    (53240, 67132, 0.0006, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (53240, 67133, 0.0006, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (53240, 67136, 0.0006, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (53240, 67137, 0.0006, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (53240, 67143, 0.0006, 1, 0, 1, 1), -- 3Icebone Hauberk
    (53240, 67149, 0.0006, 1, 0, 1, 1), -- 3Heartbound Tome
    (53240, 66942, 0.0006, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53240, 55322, 0.0006, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53240, 67131, 0.0004, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (53240, 67144, 0.0004, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (53240, 67146, 0.0004, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (53240, 67150, 0.0004, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (53240, 52376, 0.0004, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53240, 67129, 0.0002, 1, 0, 1, 1); -- 3Signet of High Arcanist Savor
    UPDATE `creature_template` SET `lootid` = 53240 WHERE `entry` = 53240;
    
    
        --  http://www.wowhead.com/npc=53245
    DELETE FROM `creature_loot_template` WHERE `entry` = 53245;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53245, 71375, 95.1264, 1, 0, 1, 1), -- 7Red Ash
    (53245, 71376, 4.8161, 1, 0, 1, 1), -- 7Lava Ruby
    (53245, 68729, 0.1633, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53245, 62070, 0.1173, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53245, 62067, 0.1104, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53245, 62069, 0.1058, 1, 0, 1, 1), -- 7Plugged Rifle
    (53245, 62064, 0.0966, 1, 0, 1, 1), -- 7Warped Greatsword
    (53245, 62068, 0.0943, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53245, 62072, 0.0897, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53245, 62063, 0.0828, 1, 0, 1, 1), -- 7Shattered War Mace
    (53245, 62065, 0.0782, 1, 0, 1, 1), -- 7Melted Cleaver
    (53245, 62071, 0.0690, 1, 0, 1, 1), -- 7Corroded Blade
    (53245, 62095, 0.0644, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53245, 62096, 0.0621, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53245, 62077, 0.0598, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53245, 62125, 0.0598, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53245, 62066, 0.0575, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53245, 55422, 0.0506, 1, 0, 1, 1), -- 5Thondroril Ring
    (53245, 62073, 0.0483, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53245, 62120, 0.0483, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53245, 55439, 0.0460, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53245, 62075, 0.0437, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53245, 62084, 0.0437, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53245, 62113, 0.0437, 1, 0, 1, 1), -- 7Singed Gloves
    (53245, 62080, 0.0414, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53245, 62090, 0.0414, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53245, 62085, 0.0391, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53245, 62103, 0.0391, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53245, 62107, 0.0391, 1, 0, 1, 1), -- 7Singed Belt
    (53245, 62132, 0.0391, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53245, 55421, 0.0368, 1, 0, 1, 1), -- 5Mereldar Ring
    (53245, 62099, 0.0368, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53245, 62104, 0.0368, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53245, 62110, 0.0368, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53245, 62114, 0.0368, 1, 0, 1, 1), -- 7Singed Bracers
    (53245, 62123, 0.0368, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53245, 62124, 0.0368, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53245, 62135, 0.0368, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53245, 55763, 0.0345, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53245, 62078, 0.0345, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53245, 62079, 0.0345, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53245, 62091, 0.0345, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53245, 62098, 0.0345, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53245, 55754, 0.0322, 1, 0, 1, 1), -- 5Everstill Leggings
    (53245, 55440, 0.0322, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53245, 55710, 0.0322, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53245, 62094, 0.0322, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53245, 55331, 0.0299, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53245, 62088, 0.0299, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53245, 62106, 0.0299, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53245, 62111, 0.0299, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53245, 62121, 0.0299, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53245, 55745, 0.0276, 1, 0, 1, 1), -- 5Everstill Cowl
    (53245, 62074, 0.0276, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53245, 62076, 0.0276, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53245, 62086, 0.0276, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53245, 62087, 0.0276, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53245, 62112, 0.0276, 1, 0, 1, 1), -- 7Singed Pants
    (53245, 62127, 0.0276, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53245, 62131, 0.0276, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53245, 55557, 0.0253, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53245, 55423, 0.0253, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53245, 62081, 0.0253, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53245, 62082, 0.0253, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53245, 62083, 0.0253, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53245, 62100, 0.0253, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53245, 62118, 0.0253, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53245, 55538, 0.0230, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53245, 55772, 0.0230, 1, 0, 1, 1), -- 5Everstill Cord
    (53245, 55503, 0.0230, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53245, 55666, 0.0230, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53245, 55720, 0.0230, 1, 0, 1, 1), -- 5Bluefen Robe
    (53245, 55738, 0.0230, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53245, 55765, 0.0230, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53245, 62092, 0.0230, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53245, 62102, 0.0230, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53245, 62116, 0.0230, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53245, 55376, 0.0207, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53245, 55493, 0.0207, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53245, 55529, 0.0207, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53245, 55494, 0.0207, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53245, 55719, 0.0207, 1, 0, 1, 1), -- 5Mystral Robe
    (53245, 55773, 0.0207, 1, 0, 1, 1), -- 5Mystral Cord
    (53245, 55387, 0.0207, 1, 0, 1, 1), -- 5Irontree Mace
    (53245, 55612, 0.0207, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53245, 55729, 0.0207, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53245, 55756, 0.0207, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53245, 62130, 0.0207, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53245, 55628, 0.0184, 1, 0, 1, 1), -- 5Highperch Belt
    (53245, 55637, 0.0184, 1, 0, 1, 1), -- 5Dandred Bindings
    (53245, 55646, 0.0184, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53245, 55718, 0.0184, 1, 0, 1, 1), -- 5Everstill Robe
    (53245, 55404, 0.0184, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53245, 55584, 0.0184, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53245, 55629, 0.0184, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53245, 55737, 0.0184, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53245, 55549, 0.0184, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53245, 62093, 0.0184, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53245, 62097, 0.0184, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53245, 62119, 0.0184, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53245, 62126, 0.0184, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53245, 62134, 0.0184, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53245, 65896, 0.0161, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (53245, 55574, 0.0161, 1, 0, 1, 1), -- 5Highperch Vest
    (53245, 55530, 0.0161, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53245, 55656, 0.0161, 1, 0, 1, 1), -- 5Haldarr Boots
    (53245, 55674, 0.0161, 1, 0, 1, 1), -- 5Haldarr Hood
    (53245, 55746, 0.0161, 1, 0, 1, 1), -- 5Mystral Cowl
    (53245, 55441, 0.0161, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53245, 55513, 0.0161, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53245, 55684, 0.0161, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53245, 55693, 0.0161, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53245, 55711, 0.0161, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53245, 62089, 0.0161, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53245, 62101, 0.0161, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53245, 62105, 0.0161, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53245, 62122, 0.0161, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53245, 52363, 0.0138, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53245, 55367, 0.0138, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53245, 55403, 0.0138, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53245, 55556, 0.0138, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53245, 55413, 0.0138, 1, 0, 1, 1), -- 5Bladefist Spear
    (53245, 55728, 0.0138, 1, 0, 1, 1), -- 5Mystral Sandals
    (53245, 55342, 0.0138, 1, 0, 1, 1), -- 5Irontree Staff
    (53245, 55486, 0.0138, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53245, 55504, 0.0138, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53245, 55567, 0.0138, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53245, 55576, 0.0138, 1, 0, 1, 1), -- 5Talondeep Vest
    (53245, 55702, 0.0138, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53245, 55774, 0.0138, 1, 0, 1, 1), -- 5Bluefen Cord
    (53245, 62128, 0.0138, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53245, 62133, 0.0138, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53245, 55457, 0.0115, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53245, 55484, 0.0115, 1, 0, 1, 1), -- 5Mereldar Wand
    (53245, 55520, 0.0115, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53245, 55673, 0.0115, 1, 0, 1, 1), -- 5Dandred Hood
    (53245, 55727, 0.0115, 1, 0, 1, 1), -- 5Everstill Sandals
    (53245, 55368, 0.0115, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53245, 55512, 0.0115, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53245, 55539, 0.0115, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53245, 55593, 0.0115, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53245, 55611, 0.0115, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53245, 55620, 0.0115, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53245, 55755, 0.0115, 1, 0, 1, 1), -- 5Mystral Leggings
    (53245, 55378, 0.0115, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53245, 55405, 0.0115, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53245, 55594, 0.0115, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53245, 55603, 0.0115, 1, 0, 1, 1), -- 5Talondeep Helm
    (53245, 55657, 0.0115, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53245, 67539, 0.0115, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53245, 62115, 0.0115, 1, 0, 1, 1), -- 7Singed Boots
    (53245, 68781, 0.0092, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53245, 55349, 0.0092, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53245, 55682, 0.0092, 1, 0, 1, 1), -- 5Dandred Britches
    (53245, 55691, 0.0092, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53245, 55700, 0.0092, 1, 0, 1, 1), -- 5Dandred Waistband
    (53245, 55709, 0.0092, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53245, 55341, 0.0092, 1, 0, 1, 1), -- 5Bladefist Staff
    (53245, 55386, 0.0092, 1, 0, 1, 1), -- 5Bladefist Mace
    (53245, 55485, 0.0092, 1, 0, 1, 1), -- 5Thondroril Wand
    (53245, 55521, 0.0092, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53245, 55647, 0.0092, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53245, 55665, 0.0092, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53245, 55692, 0.0092, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53245, 55764, 0.0092, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53245, 55315, 0.0092, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53245, 55459, 0.0092, 1, 0, 1, 1), -- 5Irontree Sword
    (53245, 55495, 0.0092, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53245, 55675, 0.0092, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53245, 55747, 0.0092, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53245, 62117, 0.0092, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53245, 62129, 0.0092, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53245, 68783, 0.0069, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53245, 66931, 0.0069, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53245, 66990, 0.0069, 1, 0, 1, 1), -- 4Downfall Hammer
    (53245, 65897, 0.0069, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (53245, 52372, 0.0069, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (53245, 55385, 0.0069, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53245, 55502, 0.0069, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53245, 55511, 0.0069, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53245, 55547, 0.0069, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53245, 55592, 0.0069, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53245, 55610, 0.0069, 1, 0, 1, 1), -- 5Highperch Legguards
    (53245, 55664, 0.0069, 1, 0, 1, 1), -- 5Dandred Gloves
    (53245, 55736, 0.0069, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53245, 55287, 0.0069, 1, 0, 1, 1), -- 5Bladefist Axe
    (53245, 55701, 0.0069, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53245, 55288, 0.0069, 1, 0, 1, 1), -- 5Irontree Axe
    (53245, 55522, 0.0069, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53245, 55648, 0.0069, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53245, 62108, 0.0069, 1, 0, 1, 1), -- 7Singed Armor
    (53245, 62109, 0.0069, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53245, 67150, 0.0046, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (53245, 67119, 0.0046, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (53245, 66975, 0.0046, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53245, 52364, 0.0046, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53245, 52377, 0.0046, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (53245, 55286, 0.0046, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53245, 55340, 0.0046, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53245, 55394, 0.0046, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53245, 55430, 0.0046, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53245, 55448, 0.0046, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53245, 55466, 0.0046, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53245, 55583, 0.0046, 1, 0, 1, 1), -- 5Highperch Greaves
    (53245, 55655, 0.0046, 1, 0, 1, 1), -- 5Dandred Boots
    (53245, 55350, 0.0046, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53245, 55431, 0.0046, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53245, 55449, 0.0046, 1, 0, 1, 1), -- 5Bladefist Staff
    (53245, 55297, 0.0046, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53245, 55369, 0.0046, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53245, 55432, 0.0046, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53245, 55450, 0.0046, 1, 0, 1, 1), -- 5Irontree Staff
    (53245, 55468, 0.0046, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53245, 55531, 0.0046, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53245, 55621, 0.0046, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53245, 55630, 0.0046, 1, 0, 1, 1), -- 5Talondeep Belt
    (53245, 55639, 0.0046, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53245, 62136, 0.0046, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53245, 67133, 0.0023, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (53245, 67141, 0.0023, 1, 0, 1, 1), -- 3Corefire Legplates
    (53245, 66989, 0.0023, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53245, 66991, 0.0023, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53245, 67121, 0.0023, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53245, 66973, 0.0023, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53245, 66976, 0.0023, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53245, 67067, 0.0023, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53245, 65894, 0.0023, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (53245, 65895, 0.0023, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (53245, 52367, 0.0023, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (53245, 52368, 0.0023, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53245, 52374, 0.0023, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (53245, 52382, 0.0023, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (53245, 52386, 0.0023, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (53245, 55295, 0.0023, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53245, 55313, 0.0023, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53245, 55358, 0.0023, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53245, 55296, 0.0023, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53245, 55305, 0.0023, 1, 0, 1, 1), -- 5Bladefist Bow
    (53245, 55314, 0.0023, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53245, 55323, 0.0023, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (53245, 55332, 0.0023, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53245, 55458, 0.0023, 1, 0, 1, 1), -- 5Bladefist Sword
    (53245, 55467, 0.0023, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53245, 55548, 0.0023, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53245, 55566, 0.0023, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53245, 55575, 0.0023, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53245, 55351, 0.0023, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53245, 55396, 0.0023, 1, 0, 1, 1), -- 5Irontree Hammer
    (53245, 55540, 0.0023, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53245, 55558, 0.0023, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53245, 55585, 0.0023, 1, 0, 1, 1); -- 5Talondeep Greaves
    UPDATE `creature_template` SET `lootid` = 53245 WHERE `entry` = 53245;
    
        --  http://www.wowhead.com/npc=53249
    DELETE FROM `creature_loot_template` WHERE `entry` = 53249;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53249, 71375, 95.4220, 1, 0, 1, 1), -- 7Red Ash
    (53249, 71376, 4.5171, 1, 0, 1, 1), -- 7Lava Ruby
    (53249, 68729, 0.1332, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53249, 62064, 0.1180, 1, 0, 1, 1), -- 7Warped Greatsword
    (53249, 62065, 0.0989, 1, 0, 1, 1), -- 7Melted Cleaver
    (53249, 62069, 0.0913, 1, 0, 1, 1), -- 7Plugged Rifle
    (53249, 62070, 0.0913, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53249, 62071, 0.0875, 1, 0, 1, 1), -- 7Corroded Blade
    (53249, 62063, 0.0799, 1, 0, 1, 1), -- 7Shattered War Mace
    (53249, 62068, 0.0799, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53249, 62104, 0.0723, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53249, 62076, 0.0647, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53249, 62089, 0.0647, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53249, 62072, 0.0647, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53249, 62082, 0.0609, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53249, 62067, 0.0609, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53249, 62092, 0.0571, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53249, 62066, 0.0571, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53249, 55566, 0.0533, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53249, 62081, 0.0533, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53249, 55441, 0.0495, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53249, 62079, 0.0495, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53249, 62090, 0.0495, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53249, 62123, 0.0495, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53249, 62083, 0.0457, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53249, 62073, 0.0419, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53249, 62078, 0.0419, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53249, 62080, 0.0419, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53249, 62086, 0.0419, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53249, 62100, 0.0419, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53249, 62128, 0.0419, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53249, 62130, 0.0419, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53249, 62132, 0.0419, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53249, 65896, 0.0381, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (53249, 55421, 0.0381, 1, 0, 1, 1), -- 5Mereldar Ring
    (53249, 55439, 0.0381, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53249, 62093, 0.0381, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53249, 62095, 0.0381, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53249, 62099, 0.0381, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53249, 62101, 0.0381, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53249, 62102, 0.0381, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53249, 62106, 0.0381, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53249, 62127, 0.0381, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53249, 55485, 0.0342, 1, 0, 1, 1), -- 5Thondroril Wand
    (53249, 62077, 0.0342, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53249, 62087, 0.0342, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53249, 55288, 0.0304, 1, 0, 1, 1), -- 5Irontree Axe
    (53249, 62075, 0.0304, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53249, 62085, 0.0304, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53249, 62091, 0.0304, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53249, 62103, 0.0304, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53249, 62116, 0.0304, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53249, 62124, 0.0304, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53249, 62133, 0.0304, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53249, 55331, 0.0266, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53249, 55511, 0.0266, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53249, 55539, 0.0266, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53249, 55575, 0.0266, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53249, 55378, 0.0266, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53249, 55405, 0.0266, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53249, 55540, 0.0266, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53249, 55774, 0.0266, 1, 0, 1, 1), -- 5Bluefen Cord
    (53249, 62074, 0.0266, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53249, 62088, 0.0266, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53249, 62096, 0.0266, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53249, 62098, 0.0266, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53249, 62111, 0.0266, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53249, 62119, 0.0266, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53249, 62122, 0.0266, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53249, 55376, 0.0228, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53249, 55637, 0.0228, 1, 0, 1, 1), -- 5Dandred Bindings
    (53249, 55646, 0.0228, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53249, 55700, 0.0228, 1, 0, 1, 1), -- 5Dandred Waistband
    (53249, 55763, 0.0228, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53249, 55368, 0.0228, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53249, 55611, 0.0228, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53249, 55746, 0.0228, 1, 0, 1, 1), -- 5Mystral Cowl
    (53249, 55504, 0.0228, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53249, 55567, 0.0228, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53249, 55711, 0.0228, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53249, 62115, 0.0228, 1, 0, 1, 1), -- 7Singed Boots
    (53249, 62117, 0.0228, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53249, 62125, 0.0228, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53249, 62126, 0.0228, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53249, 62134, 0.0228, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53249, 55367, 0.0190, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53249, 55403, 0.0190, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53249, 55745, 0.0190, 1, 0, 1, 1), -- 5Everstill Cowl
    (53249, 55377, 0.0190, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53249, 55422, 0.0190, 1, 0, 1, 1), -- 5Thondroril Ring
    (53249, 55440, 0.0190, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53249, 55557, 0.0190, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53249, 55701, 0.0190, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53249, 55423, 0.0190, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53249, 55630, 0.0190, 1, 0, 1, 1), -- 5Talondeep Belt
    (53249, 62084, 0.0190, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53249, 62094, 0.0190, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53249, 62112, 0.0190, 1, 0, 1, 1), -- 7Singed Pants
    (53249, 62114, 0.0190, 1, 0, 1, 1), -- 7Singed Bracers
    (53249, 62118, 0.0190, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53249, 55547, 0.0152, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53249, 55574, 0.0152, 1, 0, 1, 1), -- 5Highperch Vest
    (53249, 55673, 0.0152, 1, 0, 1, 1), -- 5Dandred Hood
    (53249, 55530, 0.0152, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53249, 55755, 0.0152, 1, 0, 1, 1), -- 5Mystral Leggings
    (53249, 55342, 0.0152, 1, 0, 1, 1), -- 5Irontree Staff
    (53249, 55351, 0.0152, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53249, 55369, 0.0152, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53249, 55684, 0.0152, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53249, 55729, 0.0152, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53249, 55756, 0.0152, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53249, 55765, 0.0152, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53249, 62105, 0.0152, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53249, 62108, 0.0152, 1, 0, 1, 1), -- 7Singed Armor
    (53249, 62109, 0.0152, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53249, 62113, 0.0152, 1, 0, 1, 1), -- 7Singed Gloves
    (53249, 62135, 0.0152, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53249, 55448, 0.0114, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53249, 55502, 0.0114, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53249, 55520, 0.0114, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53249, 55583, 0.0114, 1, 0, 1, 1), -- 5Highperch Greaves
    (53249, 55610, 0.0114, 1, 0, 1, 1), -- 5Highperch Legguards
    (53249, 55655, 0.0114, 1, 0, 1, 1), -- 5Dandred Boots
    (53249, 55664, 0.0114, 1, 0, 1, 1), -- 5Dandred Gloves
    (53249, 55709, 0.0114, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53249, 55754, 0.0114, 1, 0, 1, 1), -- 5Everstill Leggings
    (53249, 55341, 0.0114, 1, 0, 1, 1), -- 5Bladefist Staff
    (53249, 55449, 0.0114, 1, 0, 1, 1), -- 5Bladefist Staff
    (53249, 55548, 0.0114, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53249, 55638, 0.0114, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53249, 55692, 0.0114, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53249, 55719, 0.0114, 1, 0, 1, 1), -- 5Mystral Robe
    (53249, 55737, 0.0114, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53249, 55764, 0.0114, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53249, 55495, 0.0114, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53249, 55522, 0.0114, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53249, 55558, 0.0114, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53249, 55603, 0.0114, 1, 0, 1, 1), -- 5Talondeep Helm
    (53249, 55639, 0.0114, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53249, 55666, 0.0114, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53249, 55693, 0.0114, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53249, 55702, 0.0114, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53249, 55747, 0.0114, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53249, 62097, 0.0114, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53249, 62107, 0.0114, 1, 0, 1, 1), -- 7Singed Belt
    (53249, 62110, 0.0114, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53249, 62131, 0.0114, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53249, 62136, 0.0114, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53249, 66932, 0.0076, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53249, 66974, 0.0076, 1, 0, 1, 1), -- 4Nightrend Choker
    (53249, 65897, 0.0076, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (53249, 52367, 0.0076, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (53249, 52371, 0.0076, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (53249, 52376, 0.0076, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53249, 55484, 0.0076, 1, 0, 1, 1), -- 5Mereldar Wand
    (53249, 55493, 0.0076, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53249, 55556, 0.0076, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53249, 55565, 0.0076, 1, 0, 1, 1), -- 5Highperch Bracers
    (53249, 55691, 0.0076, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53249, 55718, 0.0076, 1, 0, 1, 1), -- 5Everstill Robe
    (53249, 55736, 0.0076, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53249, 55314, 0.0076, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53249, 55431, 0.0076, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53249, 55494, 0.0076, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53249, 55512, 0.0076, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53249, 55521, 0.0076, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53249, 55584, 0.0076, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53249, 55620, 0.0076, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53249, 55656, 0.0076, 1, 0, 1, 1), -- 5Haldarr Boots
    (53249, 55710, 0.0076, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53249, 55728, 0.0076, 1, 0, 1, 1), -- 5Mystral Sandals
    (53249, 55773, 0.0076, 1, 0, 1, 1), -- 5Mystral Cord
    (53249, 55297, 0.0076, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53249, 55315, 0.0076, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53249, 55432, 0.0076, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53249, 55486, 0.0076, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53249, 55576, 0.0076, 1, 0, 1, 1), -- 5Talondeep Vest
    (53249, 55585, 0.0076, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53249, 55594, 0.0076, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53249, 55648, 0.0076, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53249, 67539, 0.0076, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53249, 62129, 0.0076, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53249, 67142, 0.0038, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (53249, 67144, 0.0038, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (53249, 68781, 0.0038, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53249, 68789, 0.0038, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53249, 66989, 0.0038, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53249, 67061, 0.0038, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (53249, 66942, 0.0038, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53249, 66972, 0.0038, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53249, 67123, 0.0038, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53249, 52370, 0.0038, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (53249, 52386, 0.0038, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (53249, 52388, 0.0038, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (53249, 55313, 0.0038, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53249, 55349, 0.0038, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53249, 55358, 0.0038, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53249, 55430, 0.0038, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53249, 55457, 0.0038, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53249, 55529, 0.0038, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53249, 55538, 0.0038, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53249, 55592, 0.0038, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53249, 55601, 0.0038, 1, 0, 1, 1), -- 5Highperch Helm
    (53249, 55682, 0.0038, 1, 0, 1, 1), -- 5Dandred Britches
    (53249, 55727, 0.0038, 1, 0, 1, 1), -- 5Everstill Sandals
    (53249, 55772, 0.0038, 1, 0, 1, 1), -- 5Everstill Cord
    (53249, 55296, 0.0038, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53249, 55332, 0.0038, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53249, 55350, 0.0038, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53249, 55359, 0.0038, 1, 0, 1, 1), -- 5Bladefist Gun
    (53249, 55386, 0.0038, 1, 0, 1, 1), -- 5Bladefist Mace
    (53249, 55395, 0.0038, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53249, 55404, 0.0038, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53249, 55467, 0.0038, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53249, 55503, 0.0038, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53249, 55593, 0.0038, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53249, 55602, 0.0038, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53249, 55665, 0.0038, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53249, 55674, 0.0038, 1, 0, 1, 1), -- 5Haldarr Hood
    (53249, 55333, 0.0038, 1, 0, 1, 1), -- 5Irontree Dagger
    (53249, 55387, 0.0038, 1, 0, 1, 1), -- 5Irontree Mace
    (53249, 55396, 0.0038, 1, 0, 1, 1), -- 5Irontree Hammer
    (53249, 55414, 0.0038, 1, 0, 1, 1), -- 5Irontree Spear
    (53249, 55450, 0.0038, 1, 0, 1, 1), -- 5Irontree Staff
    (53249, 55459, 0.0038, 1, 0, 1, 1), -- 5Irontree Sword
    (53249, 55468, 0.0038, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53249, 55513, 0.0038, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53249, 55531, 0.0038, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53249, 55612, 0.0038, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53249, 55621, 0.0038, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53249, 55675, 0.0038, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53249, 55738, 0.0038, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53249, 62120, 0.0038, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53249, 62121, 0.0038, 1, 0, 1, 1); -- 7Sooty Mail Shoulderpads
    UPDATE `creature_template` SET `lootid` = 53249 WHERE `entry` = 53249;
    
    
        --  http://www.wowhead.com/npc=53328
    DELETE FROM `creature_loot_template` WHERE `entry` = 53328;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53328, 53010, 48.2711, 1, 0, 1, 1), -- 6Embersilk Cloth
    (53328, 68198, 19.2857, 1, 0, 1, 1), -- 7Ruined Embersilk Scraps
    (53328, 58268, 10.6976, 1, 0, 1, 1), -- 6Roasted Beef
    (53328, 68197, 6.6975, 1, 0, 1, 1), -- 7Scavenged Animal Parts
    (53328, 58256, 5.4858, 1, 0, 1, 1), -- 6Sparkling Oasis Water
    (53328, 68729, 0.4254, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53328, 62069, 0.2542, 1, 0, 1, 1), -- 7Plugged Rifle
    (53328, 62071, 0.2035, 1, 0, 1, 1), -- 7Corroded Blade
    (53328, 62072, 0.2021, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53328, 62068, 0.1955, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53328, 62065, 0.1896, 1, 0, 1, 1), -- 7Melted Cleaver
    (53328, 62063, 0.1881, 1, 0, 1, 1), -- 7Shattered War Mace
    (53328, 62067, 0.1837, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53328, 62070, 0.1778, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53328, 62066, 0.1771, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53328, 62064, 0.1602, 1, 0, 1, 1), -- 7Warped Greatsword
    (53328, 55422, 0.1198, 1, 0, 1, 1), -- 5Thondroril Ring
    (53328, 62081, 0.1080, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53328, 62074, 0.1007, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53328, 55423, 0.0999, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53328, 62102, 0.0970, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53328, 62090, 0.0955, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53328, 62083, 0.0918, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53328, 62080, 0.0911, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53328, 62084, 0.0896, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53328, 62089, 0.0896, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53328, 62098, 0.0896, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53328, 62077, 0.0889, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53328, 62127, 0.0882, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53328, 62085, 0.0860, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53328, 62073, 0.0852, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53328, 62096, 0.0852, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53328, 62092, 0.0845, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53328, 62087, 0.0838, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53328, 62099, 0.0830, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53328, 62095, 0.0823, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53328, 62101, 0.0816, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53328, 55503, 0.0794, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53328, 62076, 0.0794, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53328, 62078, 0.0794, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53328, 62079, 0.0794, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53328, 62088, 0.0794, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53328, 62124, 0.0794, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53328, 67539, 0.0749, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53328, 62093, 0.0749, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53328, 62135, 0.0749, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53328, 62097, 0.0735, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53328, 62107, 0.0735, 1, 0, 1, 1), -- 7Singed Belt
    (53328, 62119, 0.0727, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53328, 62082, 0.0720, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53328, 62103, 0.0720, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53328, 55439, 0.0705, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53328, 62126, 0.0705, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53328, 55421, 0.0698, 1, 0, 1, 1), -- 5Mereldar Ring
    (53328, 62091, 0.0698, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53328, 62094, 0.0698, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53328, 62122, 0.0698, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53328, 62086, 0.0691, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53328, 62100, 0.0683, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53328, 62116, 0.0683, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53328, 62125, 0.0683, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53328, 62075, 0.0676, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53328, 62112, 0.0676, 1, 0, 1, 1), -- 7Singed Pants
    (53328, 62108, 0.0669, 1, 0, 1, 1), -- 7Singed Armor
    (53328, 62121, 0.0669, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53328, 62106, 0.0661, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53328, 62123, 0.0661, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53328, 62104, 0.0647, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53328, 55630, 0.0625, 1, 0, 1, 1), -- 5Talondeep Belt
    (53328, 62114, 0.0610, 1, 0, 1, 1), -- 7Singed Bracers
    (53328, 62134, 0.0610, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53328, 55754, 0.0588, 1, 0, 1, 1), -- 5Everstill Leggings
    (53328, 62113, 0.0580, 1, 0, 1, 1), -- 7Singed Gloves
    (53328, 62115, 0.0580, 1, 0, 1, 1), -- 7Singed Boots
    (53328, 62117, 0.0580, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53328, 55440, 0.0573, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53328, 62105, 0.0573, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53328, 62109, 0.0573, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53328, 62131, 0.0573, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53328, 62111, 0.0566, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53328, 62132, 0.0558, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53328, 62128, 0.0551, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53328, 55737, 0.0544, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53328, 62110, 0.0544, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53328, 62129, 0.0536, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53328, 62136, 0.0536, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53328, 55441, 0.0529, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53328, 62130, 0.0522, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53328, 55736, 0.0514, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53328, 55764, 0.0492, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53328, 55709, 0.0485, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53328, 62118, 0.0470, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53328, 55747, 0.0448, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53328, 62133, 0.0448, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53328, 55710, 0.0441, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53328, 55774, 0.0441, 1, 0, 1, 1), -- 5Bluefen Cord
    (53328, 55567, 0.0434, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53328, 55403, 0.0426, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53328, 55728, 0.0426, 1, 0, 1, 1), -- 5Mystral Sandals
    (53328, 62120, 0.0426, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53328, 55486, 0.0419, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53328, 55673, 0.0411, 1, 0, 1, 1), -- 5Dandred Hood
    (53328, 55530, 0.0404, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53328, 55593, 0.0404, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53328, 55405, 0.0404, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53328, 55576, 0.0404, 1, 0, 1, 1), -- 5Talondeep Vest
    (53328, 55756, 0.0404, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53328, 55655, 0.0397, 1, 0, 1, 1), -- 5Dandred Boots
    (53328, 55755, 0.0397, 1, 0, 1, 1), -- 5Mystral Leggings
    (53328, 55765, 0.0397, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53328, 55656, 0.0382, 1, 0, 1, 1), -- 5Haldarr Boots
    (53328, 55773, 0.0382, 1, 0, 1, 1), -- 5Mystral Cord
    (53328, 55666, 0.0382, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53328, 55746, 0.0367, 1, 0, 1, 1), -- 5Mystral Cowl
    (53328, 55484, 0.0360, 1, 0, 1, 1), -- 5Mereldar Wand
    (53328, 55493, 0.0360, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53328, 55772, 0.0360, 1, 0, 1, 1), -- 5Everstill Cord
    (53328, 55531, 0.0360, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53328, 55603, 0.0360, 1, 0, 1, 1), -- 5Talondeep Helm
    (53328, 55719, 0.0345, 1, 0, 1, 1), -- 5Mystral Robe
    (53328, 55711, 0.0345, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53328, 55548, 0.0338, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53328, 55720, 0.0338, 1, 0, 1, 1), -- 5Bluefen Robe
    (53328, 55367, 0.0331, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53328, 55376, 0.0331, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53328, 55538, 0.0331, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53328, 55763, 0.0331, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53328, 55494, 0.0331, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53328, 55729, 0.0331, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53328, 55404, 0.0323, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53328, 55556, 0.0316, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53328, 55431, 0.0316, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53328, 55504, 0.0316, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53328, 55648, 0.0316, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53328, 55520, 0.0309, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53328, 55601, 0.0309, 1, 0, 1, 1), -- 5Highperch Helm
    (53328, 55368, 0.0309, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53328, 55369, 0.0309, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53328, 55485, 0.0301, 1, 0, 1, 1), -- 5Thondroril Wand
    (53328, 55584, 0.0301, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53328, 55610, 0.0294, 1, 0, 1, 1), -- 5Highperch Legguards
    (53328, 55682, 0.0294, 1, 0, 1, 1), -- 5Dandred Britches
    (53328, 55718, 0.0294, 1, 0, 1, 1), -- 5Everstill Robe
    (53328, 55727, 0.0294, 1, 0, 1, 1), -- 5Everstill Sandals
    (53328, 55629, 0.0294, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53328, 55502, 0.0287, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53328, 55574, 0.0287, 1, 0, 1, 1), -- 5Highperch Vest
    (53328, 55575, 0.0287, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53328, 55602, 0.0287, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53328, 55495, 0.0287, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53328, 55594, 0.0287, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53328, 55675, 0.0287, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53328, 55547, 0.0279, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53328, 55628, 0.0279, 1, 0, 1, 1), -- 5Highperch Belt
    (53328, 55620, 0.0279, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53328, 55647, 0.0279, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53328, 55529, 0.0272, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53328, 55583, 0.0272, 1, 0, 1, 1), -- 5Highperch Greaves
    (53328, 55700, 0.0272, 1, 0, 1, 1), -- 5Dandred Waistband
    (53328, 55745, 0.0272, 1, 0, 1, 1), -- 5Everstill Cowl
    (53328, 55692, 0.0272, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53328, 55540, 0.0272, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53328, 55738, 0.0272, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53328, 55611, 0.0265, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53328, 55566, 0.0257, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53328, 55619, 0.0250, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53328, 55637, 0.0250, 1, 0, 1, 1), -- 5Dandred Bindings
    (53328, 55646, 0.0250, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53328, 55638, 0.0250, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53328, 55683, 0.0250, 1, 0, 1, 1), -- 5Haldarr Britches
    (53328, 55549, 0.0250, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53328, 55665, 0.0242, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53328, 55674, 0.0242, 1, 0, 1, 1), -- 5Haldarr Hood
    (53328, 55585, 0.0242, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53328, 55657, 0.0242, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53328, 55693, 0.0242, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53328, 55691, 0.0235, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53328, 55386, 0.0235, 1, 0, 1, 1), -- 5Bladefist Mace
    (53328, 55557, 0.0235, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53328, 55701, 0.0235, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53328, 55612, 0.0235, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53328, 55684, 0.0228, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53328, 65895, 0.0220, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (53328, 55565, 0.0220, 1, 0, 1, 1), -- 5Highperch Bracers
    (53328, 55592, 0.0220, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53328, 55511, 0.0213, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53328, 55664, 0.0213, 1, 0, 1, 1), -- 5Dandred Gloves
    (53328, 55521, 0.0213, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53328, 55522, 0.0213, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53328, 55621, 0.0213, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53328, 55702, 0.0213, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53328, 55287, 0.0206, 1, 0, 1, 1), -- 5Bladefist Axe
    (53328, 65894, 0.0198, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (53328, 55377, 0.0198, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53328, 55512, 0.0198, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53328, 55639, 0.0198, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53328, 55314, 0.0191, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53328, 55332, 0.0191, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53328, 55331, 0.0184, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53328, 55385, 0.0184, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53328, 55558, 0.0184, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53328, 55315, 0.0176, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53328, 55432, 0.0176, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53328, 55513, 0.0176, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53328, 55539, 0.0169, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53328, 55351, 0.0169, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53328, 55457, 0.0162, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53328, 55350, 0.0162, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53328, 55286, 0.0154, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53328, 55387, 0.0154, 1, 0, 1, 1), -- 5Irontree Mace
    (53328, 55459, 0.0154, 1, 0, 1, 1), -- 5Irontree Sword
    (53328, 65897, 0.0147, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (53328, 55297, 0.0147, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53328, 55378, 0.0140, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53328, 55468, 0.0140, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53328, 55349, 0.0125, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53328, 55449, 0.0125, 1, 0, 1, 1), -- 5Bladefist Staff
    (53328, 65896, 0.0118, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (53328, 55414, 0.0118, 1, 0, 1, 1), -- 5Irontree Spear
    (53328, 55295, 0.0110, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53328, 55340, 0.0110, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53328, 55342, 0.0110, 1, 0, 1, 1), -- 5Irontree Staff
    (53328, 55396, 0.0110, 1, 0, 1, 1), -- 5Irontree Hammer
    (53328, 55430, 0.0103, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53328, 55458, 0.0103, 1, 0, 1, 1), -- 5Bladefist Sword
    (53328, 67120, 0.0096, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53328, 55341, 0.0096, 1, 0, 1, 1), -- 5Bladefist Staff
    (53328, 55395, 0.0096, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53328, 55333, 0.0096, 1, 0, 1, 1), -- 5Irontree Dagger
    (53328, 55394, 0.0088, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53328, 55466, 0.0088, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53328, 67124, 0.0081, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53328, 52197, 0.0081, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (53328, 55313, 0.0081, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53328, 55296, 0.0081, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53328, 55450, 0.0081, 1, 0, 1, 1), -- 5Irontree Staff
    (53328, 68783, 0.0073, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53328, 52379, 0.0073, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53328, 55412, 0.0073, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53328, 55448, 0.0073, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53328, 55359, 0.0066, 1, 0, 1, 1), -- 5Bladefist Gun
    (53328, 66941, 0.0059, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53328, 52371, 0.0059, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (53328, 52377, 0.0051, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (53328, 55413, 0.0051, 1, 0, 1, 1), -- 5Bladefist Spear
    (53328, 67140, 0.0044, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (53328, 68788, 0.0044, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (53328, 66940, 0.0044, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (53328, 67057, 0.0044, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53328, 66972, 0.0044, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53328, 66992, 0.0044, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53328, 67071, 0.0044, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53328, 52367, 0.0044, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (53328, 52375, 0.0044, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (53328, 55358, 0.0044, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53328, 55288, 0.0044, 1, 0, 1, 1), -- 5Irontree Axe
    (53328, 68781, 0.0037, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53328, 66932, 0.0037, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53328, 66968, 0.0037, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53328, 66971, 0.0037, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53328, 67126, 0.0037, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53328, 52376, 0.0037, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53328, 55467, 0.0037, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53328, 55360, 0.0037, 1, 0, 1, 1), -- 5Irontree Gun
    (53328, 68782, 0.0029, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53328, 68789, 0.0029, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53328, 66969, 0.0029, 1, 0, 1, 1), -- 4Heart of the Vile
    (53328, 66970, 0.0029, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (53328, 66989, 0.0029, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53328, 67121, 0.0029, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53328, 67067, 0.0029, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53328, 52363, 0.0029, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53328, 52364, 0.0029, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53328, 52369, 0.0029, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53328, 52372, 0.0029, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (53328, 52374, 0.0029, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (53328, 52378, 0.0029, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (53328, 52382, 0.0029, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (53328, 52388, 0.0029, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (53328, 55305, 0.0029, 1, 0, 1, 1), -- 5Bladefist Bow
    (53328, 67130, 0.0022, 1, 0, 1, 1), -- 3Dorian's Lost Necklace
    (53328, 67134, 0.0022, 1, 0, 1, 1), -- 3Dory's Finery
    (53328, 67135, 0.0022, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (53328, 67139, 0.0022, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (53328, 67147, 0.0022, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (53328, 68787, 0.0022, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (53328, 66931, 0.0022, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53328, 66990, 0.0022, 1, 0, 1, 1), -- 4Downfall Hammer
    (53328, 67122, 0.0022, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53328, 66973, 0.0022, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53328, 66974, 0.0022, 1, 0, 1, 1), -- 4Nightrend Choker
    (53328, 66975, 0.0022, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53328, 66976, 0.0022, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53328, 67123, 0.0022, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53328, 67127, 0.0022, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53328, 52373, 0.0022, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (53328, 52383, 0.0022, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (53328, 52385, 0.0022, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (53328, 52386, 0.0022, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (53328, 69820, 0.0022, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (53328, 55306, 0.0022, 1, 0, 1, 1), -- 5Irontree Bow
    (53328, 67138, 0.0015, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (53328, 67141, 0.0015, 1, 0, 1, 1), -- 3Corefire Legplates
    (53328, 67119, 0.0015, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (53328, 66942, 0.0015, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53328, 66993, 0.0015, 1, 0, 1, 1), -- 4Sorrow's End
    (53328, 66994, 0.0015, 1, 0, 1, 1), -- 4Soul's Anguish
    (53328, 67125, 0.0015, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53328, 20400, 0.0015, 1, 0, 1, 1), -- 5Pumpkin Bag
    (53328, 52366, 0.0015, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (53328, 52368, 0.0015, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53328, 52370, 0.0015, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (53328, 55304, 0.0015, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53328, 55322, 0.0015, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53328, 55323, 0.0015, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (53328, 55324, 0.0015, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53328, 67133, 0.0007, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (53328, 67143, 0.0007, 1, 0, 1, 1), -- 3Icebone Hauberk
    (53328, 67145, 0.0007, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (53328, 67146, 0.0007, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (53328, 67148, 0.0007, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (53328, 66991, 0.0007, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53328, 67061, 0.0007, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (53328, 67069, 0.0007, 1, 0, 1, 1); -- 4Shade of Death
    UPDATE `creature_template` SET `lootid` = 53328 WHERE `entry` = 53328;
    
        --  http://www.wowhead.com/npc=53656
    DELETE FROM `creature_loot_template` WHERE `entry` = 53656;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53656, 71375, 95.4610, 1, 0, 1, 1), -- 7Red Ash
    (53656, 71376, 4.4581, 1, 0, 1, 1), -- 7Lava Ruby
    (53656, 68729, 0.1641, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53656, 62069, 0.1404, 1, 0, 1, 1), -- 7Plugged Rifle
    (53656, 62083, 0.0952, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53656, 62065, 0.0952, 1, 0, 1, 1), -- 7Melted Cleaver
    (53656, 62066, 0.0952, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53656, 62064, 0.0856, 1, 0, 1, 1), -- 7Warped Greatsword
    (53656, 62067, 0.0833, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53656, 62132, 0.0809, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53656, 62068, 0.0785, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53656, 62072, 0.0761, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53656, 62071, 0.0714, 1, 0, 1, 1), -- 7Corroded Blade
    (53656, 62100, 0.0619, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53656, 62070, 0.0619, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53656, 62125, 0.0619, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53656, 62079, 0.0571, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53656, 67539, 0.0547, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53656, 62073, 0.0547, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53656, 62063, 0.0547, 1, 0, 1, 1), -- 7Shattered War Mace
    (53656, 62128, 0.0523, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53656, 55421, 0.0500, 1, 0, 1, 1), -- 5Mereldar Ring
    (53656, 62078, 0.0452, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53656, 55422, 0.0428, 1, 0, 1, 1), -- 5Thondroril Ring
    (53656, 62084, 0.0428, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53656, 62091, 0.0428, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53656, 62096, 0.0428, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53656, 62113, 0.0428, 1, 0, 1, 1), -- 7Singed Gloves
    (53656, 62126, 0.0428, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53656, 62086, 0.0404, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53656, 62087, 0.0404, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53656, 62089, 0.0404, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53656, 62094, 0.0404, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53656, 62101, 0.0404, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53656, 62104, 0.0404, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53656, 55423, 0.0381, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53656, 62076, 0.0381, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53656, 62106, 0.0381, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53656, 55737, 0.0357, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53656, 62117, 0.0357, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53656, 62136, 0.0357, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53656, 55728, 0.0333, 1, 0, 1, 1), -- 5Mystral Sandals
    (53656, 55441, 0.0333, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53656, 62077, 0.0333, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53656, 62097, 0.0333, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53656, 62131, 0.0333, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53656, 55729, 0.0309, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53656, 62075, 0.0309, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53656, 62088, 0.0309, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53656, 62092, 0.0309, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53656, 62103, 0.0309, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53656, 62119, 0.0309, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53656, 62123, 0.0309, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53656, 62134, 0.0309, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53656, 55493, 0.0285, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53656, 55736, 0.0285, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53656, 55612, 0.0285, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53656, 62081, 0.0285, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53656, 62085, 0.0285, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53656, 62108, 0.0285, 1, 0, 1, 1), -- 7Singed Armor
    (53656, 62109, 0.0285, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53656, 62114, 0.0285, 1, 0, 1, 1), -- 7Singed Bracers
    (53656, 62116, 0.0285, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53656, 62124, 0.0285, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53656, 62135, 0.0285, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53656, 55575, 0.0262, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53656, 55764, 0.0262, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53656, 62095, 0.0262, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53656, 62111, 0.0262, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53656, 62121, 0.0262, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53656, 55673, 0.0238, 1, 0, 1, 1), -- 5Dandred Hood
    (53656, 55772, 0.0238, 1, 0, 1, 1), -- 5Everstill Cord
    (53656, 62093, 0.0238, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53656, 62107, 0.0238, 1, 0, 1, 1), -- 7Singed Belt
    (53656, 62122, 0.0238, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53656, 62127, 0.0238, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53656, 55539, 0.0214, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53656, 55629, 0.0214, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53656, 55701, 0.0214, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53656, 55765, 0.0214, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53656, 62098, 0.0214, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53656, 62105, 0.0214, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53656, 62115, 0.0214, 1, 0, 1, 1), -- 7Singed Boots
    (53656, 62133, 0.0214, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53656, 55511, 0.0190, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53656, 55718, 0.0190, 1, 0, 1, 1), -- 5Everstill Robe
    (53656, 55763, 0.0190, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53656, 55458, 0.0190, 1, 0, 1, 1), -- 5Bladefist Sword
    (53656, 55638, 0.0190, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53656, 55369, 0.0190, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53656, 62074, 0.0190, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53656, 62082, 0.0190, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53656, 62090, 0.0190, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53656, 62102, 0.0190, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53656, 62110, 0.0190, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53656, 62120, 0.0190, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53656, 62130, 0.0190, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53656, 55439, 0.0167, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53656, 55646, 0.0167, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53656, 55557, 0.0167, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53656, 55692, 0.0167, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53656, 55513, 0.0167, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53656, 55684, 0.0167, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53656, 62099, 0.0167, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53656, 62112, 0.0167, 1, 0, 1, 1), -- 7Singed Pants
    (53656, 55538, 0.0143, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53656, 55655, 0.0143, 1, 0, 1, 1), -- 5Dandred Boots
    (53656, 55691, 0.0143, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53656, 55314, 0.0143, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53656, 55431, 0.0143, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53656, 55485, 0.0143, 1, 0, 1, 1), -- 5Thondroril Wand
    (53656, 55755, 0.0143, 1, 0, 1, 1), -- 5Mystral Leggings
    (53656, 55486, 0.0143, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53656, 55531, 0.0143, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53656, 55711, 0.0143, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53656, 55756, 0.0143, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53656, 62080, 0.0143, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53656, 62129, 0.0143, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53656, 55313, 0.0119, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53656, 55412, 0.0119, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53656, 55484, 0.0119, 1, 0, 1, 1), -- 5Mereldar Wand
    (53656, 55574, 0.0119, 1, 0, 1, 1), -- 5Highperch Vest
    (53656, 55583, 0.0119, 1, 0, 1, 1), -- 5Highperch Greaves
    (53656, 55682, 0.0119, 1, 0, 1, 1), -- 5Dandred Britches
    (53656, 55521, 0.0119, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53656, 55611, 0.0119, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53656, 55620, 0.0119, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53656, 55674, 0.0119, 1, 0, 1, 1), -- 5Haldarr Hood
    (53656, 55710, 0.0119, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53656, 55719, 0.0119, 1, 0, 1, 1), -- 5Mystral Robe
    (53656, 55297, 0.0119, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53656, 55387, 0.0119, 1, 0, 1, 1), -- 5Irontree Mace
    (53656, 55504, 0.0119, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53656, 55585, 0.0119, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53656, 55594, 0.0119, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53656, 55621, 0.0119, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53656, 55720, 0.0119, 1, 0, 1, 1), -- 5Bluefen Robe
    (53656, 62118, 0.0119, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53656, 68783, 0.0095, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53656, 52386, 0.0095, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (53656, 55331, 0.0095, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53656, 55520, 0.0095, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53656, 55529, 0.0095, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53656, 55556, 0.0095, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53656, 55610, 0.0095, 1, 0, 1, 1), -- 5Highperch Legguards
    (53656, 55619, 0.0095, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53656, 55637, 0.0095, 1, 0, 1, 1), -- 5Dandred Bindings
    (53656, 55700, 0.0095, 1, 0, 1, 1), -- 5Dandred Waistband
    (53656, 55745, 0.0095, 1, 0, 1, 1), -- 5Everstill Cowl
    (53656, 55754, 0.0095, 1, 0, 1, 1), -- 5Everstill Leggings
    (53656, 55377, 0.0095, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53656, 55413, 0.0095, 1, 0, 1, 1), -- 5Bladefist Spear
    (53656, 55440, 0.0095, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53656, 55449, 0.0095, 1, 0, 1, 1), -- 5Bladefist Staff
    (53656, 55503, 0.0095, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53656, 55566, 0.0095, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53656, 55647, 0.0095, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53656, 55378, 0.0095, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53656, 55540, 0.0095, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53656, 55558, 0.0095, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53656, 55630, 0.0095, 1, 0, 1, 1), -- 5Talondeep Belt
    (53656, 55648, 0.0095, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53656, 55738, 0.0095, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53656, 55774, 0.0095, 1, 0, 1, 1), -- 5Bluefen Cord
    (53656, 68788, 0.0071, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (53656, 66969, 0.0071, 1, 0, 1, 1), -- 4Heart of the Vile
    (53656, 66990, 0.0071, 1, 0, 1, 1), -- 4Downfall Hammer
    (53656, 66973, 0.0071, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53656, 66974, 0.0071, 1, 0, 1, 1), -- 4Nightrend Choker
    (53656, 52365, 0.0071, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (53656, 52366, 0.0071, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (53656, 52376, 0.0071, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53656, 55286, 0.0071, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53656, 55367, 0.0071, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53656, 55403, 0.0071, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53656, 55457, 0.0071, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53656, 55466, 0.0071, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53656, 55709, 0.0071, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53656, 55727, 0.0071, 1, 0, 1, 1), -- 5Everstill Sandals
    (53656, 55350, 0.0071, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53656, 55368, 0.0071, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53656, 55530, 0.0071, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53656, 55584, 0.0071, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53656, 55683, 0.0071, 1, 0, 1, 1), -- 5Haldarr Britches
    (53656, 55405, 0.0071, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53656, 55414, 0.0071, 1, 0, 1, 1), -- 5Irontree Spear
    (53656, 55450, 0.0071, 1, 0, 1, 1), -- 5Irontree Staff
    (53656, 55459, 0.0071, 1, 0, 1, 1), -- 5Irontree Sword
    (53656, 55603, 0.0071, 1, 0, 1, 1), -- 5Talondeep Helm
    (53656, 55639, 0.0071, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53656, 55657, 0.0071, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53656, 55693, 0.0071, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53656, 67144, 0.0048, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (53656, 67122, 0.0048, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53656, 66941, 0.0048, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53656, 66976, 0.0048, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53656, 52363, 0.0048, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53656, 55349, 0.0048, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53656, 55376, 0.0048, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53656, 55394, 0.0048, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53656, 55430, 0.0048, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53656, 55448, 0.0048, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53656, 55502, 0.0048, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53656, 55547, 0.0048, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53656, 55565, 0.0048, 1, 0, 1, 1), -- 5Highperch Bracers
    (53656, 55601, 0.0048, 1, 0, 1, 1), -- 5Highperch Helm
    (53656, 55664, 0.0048, 1, 0, 1, 1), -- 5Dandred Gloves
    (53656, 55296, 0.0048, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53656, 55404, 0.0048, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53656, 55512, 0.0048, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53656, 55548, 0.0048, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53656, 55656, 0.0048, 1, 0, 1, 1), -- 5Haldarr Boots
    (53656, 55665, 0.0048, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53656, 55773, 0.0048, 1, 0, 1, 1), -- 5Mystral Cord
    (53656, 55288, 0.0048, 1, 0, 1, 1), -- 5Irontree Axe
    (53656, 55324, 0.0048, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53656, 55351, 0.0048, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53656, 55432, 0.0048, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53656, 55495, 0.0048, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53656, 55522, 0.0048, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53656, 55549, 0.0048, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53656, 55567, 0.0048, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53656, 55666, 0.0048, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53656, 55675, 0.0048, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53656, 66942, 0.0024, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53656, 67067, 0.0024, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53656, 67071, 0.0024, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53656, 65894, 0.0024, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (53656, 65896, 0.0024, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (53656, 65897, 0.0024, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (53656, 52364, 0.0024, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53656, 52371, 0.0024, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (53656, 52375, 0.0024, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (53656, 52379, 0.0024, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53656, 69820, 0.0024, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (53656, 55304, 0.0024, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53656, 55340, 0.0024, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53656, 55385, 0.0024, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53656, 55592, 0.0024, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53656, 55628, 0.0024, 1, 0, 1, 1), -- 5Highperch Belt
    (53656, 55341, 0.0024, 1, 0, 1, 1), -- 5Bladefist Staff
    (53656, 55386, 0.0024, 1, 0, 1, 1), -- 5Bladefist Mace
    (53656, 55395, 0.0024, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53656, 55494, 0.0024, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53656, 55593, 0.0024, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53656, 55602, 0.0024, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53656, 55746, 0.0024, 1, 0, 1, 1), -- 5Mystral Cowl
    (53656, 55306, 0.0024, 1, 0, 1, 1), -- 5Irontree Bow
    (53656, 55315, 0.0024, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53656, 55468, 0.0024, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53656, 55576, 0.0024, 1, 0, 1, 1), -- 5Talondeep Vest
    (53656, 55702, 0.0024, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53656, 55747, 0.0024, 1, 0, 1, 1); -- 5Bluefen Cowl
    UPDATE `creature_template` SET `lootid` = 53656 WHERE `entry` = 53656;
    
        --  http://www.wowhead.com/npc=54321
    DELETE FROM `creature_loot_template` WHERE `entry` = 54321;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (54321, 68055, 100.0000, 1, 0, 1, 1); -- 7Crystalline Tear of Loyalty
    UPDATE `creature_template` SET `lootid` = 54321 WHERE `entry` = 54321;
    
        --  http://www.wowhead.com/npc=54322
    DELETE FROM `creature_loot_template` WHERE `entry` = 54322;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (54322, 68055, 100.0000, 1, 0, 1, 1); -- 7Crystalline Tear of Loyalty
    UPDATE `creature_template` SET `lootid` = 54322 WHERE `entry` = 54322;
    
    
        --  http://www.wowhead.com/npc=54324
    DELETE FROM `creature_loot_template` WHERE `entry` = 54324;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (54324, 68055, 100.0000, 1, 0, 1, 1); -- 7Crystalline Tear of Loyalty
    UPDATE `creature_template` SET `lootid` = 54324 WHERE `entry` = 54324;
    
        --  http://www.wowhead.com/npc=54338
    DELETE FROM `creature_loot_template` WHERE `entry` = 54338;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (54338, 68055, 100.0000, 1, 0, 1, 1); -- 7Crystalline Tear of Loyalty
    UPDATE `creature_template` SET `lootid` = 54338 WHERE `entry` = 54338;
    
        --  http://www.wowhead.com/npc=54339
    DELETE FROM `creature_loot_template` WHERE `entry` = 54339;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (54339, 60576, 80.0654, 1, 0, 1, 1), -- 7Rending Fang
    (54339, 60577, 19.7117, 1, 0, 1, 1), -- 7Fire-Scorched Claw
    (54339, 69816, -6.4939, 1, 0, 1, 1); -- 6Houndbone Ash
    UPDATE `creature_template` SET `lootid` = 54339 WHERE `entry` = 54339;
    
        --  http://www.wowhead.com/npc=54343
    DELETE FROM `creature_loot_template` WHERE `entry` = 54343;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (54343, 58264, 55.6503, 1, 0, 1, 1), -- 6Sour Green Apple
    (54343, 58256, 27.7342, 1, 0, 1, 1); -- 6Sparkling Oasis Water
    UPDATE `creature_template` SET `lootid` = 54343 WHERE `entry` = 54343;
    
        --  http://www.wowhead.com/npc=52122
    DELETE FROM `pickpocketing_loot_template` WHERE `entry` = 52122;
    INSERT INTO `pickpocketing_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52122, 63275, 7.2248, 1, 0, 1, 1), -- 6Gilnean Fortified Brandy
    (52122, 63274, 6.6509, 1, 0, 1, 1), -- 7Rabbit's Other Foot
    (52122, 63349, 6.2795, 1, 0, 1, 1), -- 6Flame-Scarred Junkbox
    (52122, 63273, 6.0432, 1, 0, 1, 1), -- 7Checked Handkerchief
    (52122, 63272, 3.2411, 1, 0, 1, 1), -- 7Fras Siabi's Smoked Cologne
    (52122, 58261, 2.4646, 1, 0, 1, 1), -- 6Buttery Wheat Roll
    (52122, 63300, 2.3633, 1, 0, 1, 1), -- 6Rogue's Draught
    (52122, 58259, 2.1607, 1, 0, 1, 1), -- 6Highland Sheep Cheese
    (52122, 63271, 1.9581, 1, 0, 1, 1), -- 7A Steamy Romance Novel: Big Brass Bombs
    (52122, 68196, 0.3714, 1, 0, 1, 1); -- 7Corroded Bronze Rivet
    UPDATE `creature_template` SET `pickpocketloot` = 52122 WHERE `entry` = 52122;
    
    
        --  http://www.wowhead.com/npc=52871
    DELETE FROM `pickpocketing_loot_template` WHERE `entry` = 52871;
    INSERT INTO `pickpocketing_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52871, 63274, 4.7587, 1, 0, 1, 1), -- 7Rabbit's Other Foot
    (52871, 63275, 4.3710, 1, 0, 1, 1), -- 6Gilnean Fortified Brandy
    (52871, 63349, 4.3613, 1, 0, 1, 1), -- 6Flame-Scarred Junkbox
    (52871, 63273, 4.2450, 1, 0, 1, 1), -- 7Checked Handkerchief
    (52871, 63272, 2.1225, 1, 0, 1, 1), -- 7Fras Siabi's Smoked Cologne
    (52871, 58261, 1.7833, 1, 0, 1, 1), -- 6Buttery Wheat Roll
    (52871, 63300, 1.6185, 1, 0, 1, 1), -- 6Rogue's Draught
    (52871, 63271, 1.3569, 1, 0, 1, 1), -- 7A Steamy Romance Novel: Big Brass Bombs
    (52871, 58259, 1.2987, 1, 0, 1, 1), -- 6Highland Sheep Cheese
    (52871, 68196, 0.3004, 1, 0, 1, 1); -- 7Corroded Bronze Rivet
    UPDATE `creature_template` SET `pickpocketloot` = 52871 WHERE `entry` = 52871;
    
        --  http://www.wowhead.com/npc=52872
    DELETE FROM `pickpocketing_loot_template` WHERE `entry` = 52872;
    INSERT INTO `pickpocketing_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52872, 63274, 3.6158, 1, 0, 1, 1), -- 7Rabbit's Other Foot
    (52872, 63349, 3.5995, 1, 0, 1, 1), -- 6Flame-Scarred Junkbox
    (52872, 63273, 3.3377, 1, 0, 1, 1), -- 7Checked Handkerchief
    (52872, 63275, 3.2232, 1, 0, 1, 1), -- 6Gilnean Fortified Brandy
    (52872, 58261, 1.6198, 1, 0, 1, 1), -- 6Buttery Wheat Roll
    (52872, 63272, 1.5380, 1, 0, 1, 1), -- 7Fras Siabi's Smoked Cologne
    (52872, 63271, 1.3907, 1, 0, 1, 1), -- 7A Steamy Romance Novel: Big Brass Bombs
    (52872, 63300, 1.1289, 1, 0, 1, 1), -- 6Rogue's Draught
    (52872, 58259, 0.8017, 1, 0, 1, 1), -- 6Highland Sheep Cheese
    (52872, 68196, 0.2291, 1, 0, 1, 1); -- 7Corroded Bronze Rivet
    UPDATE `creature_template` SET `pickpocketloot` = 52872 WHERE `entry` = 52872;
    
        --  http://www.wowhead.com/npc=53085
    DELETE FROM `pickpocketing_loot_template` WHERE `entry` = 53085;
    INSERT INTO `pickpocketing_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53085, 63349, 9.1584, 1, 0, 1, 1), -- 6Flame-Scarred Junkbox
    (53085, 63323, 9.1584, 1, 0, 1, 1), -- 7Pry Stone
    (53085, 63292, 8.9401, 1, 0, 1, 1), -- 6Disgusting Rotgut
    (53085, 58269, 6.9583, 1, 0, 1, 1), -- 6Massive Turkey Leg
    (53085, 63311, 4.7582, 1, 0, 1, 1), -- 7Reddish Mud
    (53085, 63341, 3.8415, 1, 0, 1, 1), -- 7Tickling Feather
    (53085, 63300, 3.1954, 1, 0, 1, 1); -- 6Rogue's Draught
    UPDATE `creature_template` SET `pickpocketloot` = 53085 WHERE `entry` = 53085;
    
        --  http://www.wowhead.com/npc=53093
    DELETE FROM `pickpocketing_loot_template` WHERE `entry` = 53093;
    INSERT INTO `pickpocketing_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53093, 63323, 10.4877, 1, 0, 1, 1), -- 7Pry Stone
    (53093, 63292, 10.0155, 1, 0, 1, 1), -- 6Disgusting Rotgut
    (53093, 63349, 9.8119, 1, 0, 1, 1), -- 6Flame-Scarred Junkbox
    (53093, 58269, 7.4750, 1, 0, 1, 1), -- 6Massive Turkey Leg
    (53093, 63341, 5.4963, 1, 0, 1, 1), -- 7Tickling Feather
    (53093, 63311, 4.7146, 1, 0, 1, 1), -- 7Reddish Mud
    (53093, 63300, 3.2164, 1, 0, 1, 1); -- 6Rogue's Draught
    UPDATE `creature_template` SET `pickpocketloot` = 53093 WHERE `entry` = 53093;
    
    
        --  http://www.wowhead.com/npc=53143
    DELETE FROM `pickpocketing_loot_template` WHERE `entry` = 53143;
    INSERT INTO `pickpocketing_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53143, 63292, 7.0136, 1, 0, 1, 1), -- 6Disgusting Rotgut
    (53143, 63349, 6.5928, 1, 0, 1, 1), -- 6Flame-Scarred Junkbox
    (53143, 63323, 6.4525, 1, 0, 1, 1), -- 7Pry Stone
    (53143, 58269, 4.7272, 1, 0, 1, 1), -- 6Massive Turkey Leg
    (53143, 63300, 3.2683, 1, 0, 1, 1), -- 6Rogue's Draught
    (53143, 63341, 3.1281, 1, 0, 1, 1), -- 7Tickling Feather
    (53143, 63311, 2.8616, 1, 0, 1, 1); -- 7Reddish Mud
    UPDATE `creature_template` SET `pickpocketloot` = 53143 WHERE `entry` = 53143;
    
        --  http://www.wowhead.com/npc=53328
    DELETE FROM `pickpocketing_loot_template` WHERE `entry` = 53328;
    INSERT INTO `pickpocketing_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53328, 63292, 0.7558, 1, 0, 1, 1), -- 6Disgusting Rotgut
    (53328, 63349, 0.7085, 1, 0, 1, 1), -- 6Flame-Scarred Junkbox
    (53328, 63300, 0.6141, 1, 0, 1, 1), -- 6Rogue's Draught
    (53328, 63323, 0.5196, 1, 0, 1, 1), -- 7Pry Stone
    (53328, 63341, 0.4251, 1, 0, 1, 1), -- 7Tickling Feather
    (53328, 63311, 0.3779, 1, 0, 1, 1), -- 7Reddish Mud
    (53328, 58269, 0.3307, 1, 0, 1, 1); -- 6Massive Turkey Leg
    UPDATE `creature_template` SET `pickpocketloot` = 53328 WHERE `entry` = 53328;
    
        --  http://www.wowhead.com/npc=52648
    DELETE FROM `skinning_loot_template` WHERE `entry` = 52648;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52648, 52976, 99.9015, 1, 0, 1, 7); -- 6Savage Leather
    UPDATE `creature_template` SET `skinloot` = 52648 WHERE `entry` = 52648;
    
        --  http://www.wowhead.com/npc=52981
    DELETE FROM `skinning_loot_template` WHERE `entry` = 52981;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52981, 52976, 99.9218, 1, 0, 1, 7); -- 6Savage Leather
    UPDATE `creature_template` SET `skinloot` = 52981 WHERE `entry` = 52981;
    
    
        --  http://www.wowhead.com/npc=53240
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53240;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53240, 52976, 99.8996, 1, 0, 1, 7); -- 6Savage Leather
    UPDATE `creature_template` SET `skinloot` = 53240 WHERE `entry` = 53240;
    
        --  http://www.wowhead.com/npc=53656
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53656;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53656, 52976, 99.9043, 1, 0, 1, 7); -- 6Savage Leather
    UPDATE `creature_template` SET `skinloot` = 53656 WHERE `entry` = 53656;



    Status : males ngetest :P, tambah males stelah NPC MF di delete tapi item2 di player yg udah ngeborong itemnya enggak, ahahaha XD
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  8. #37
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL]All fireland trash mobs skinning-pickcpoketing and loot

    Description : sperti yang tertulis

    Reference : here

    Code :

    Spoiler untuk SQL :

    Code:
    --  http://www.wowhead.com/npc=52660
    DELETE FROM `creature_loot_template` WHERE `entry` = 52660;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (52660, 71375, 95.4200, 1, 0, 1, 1), -- 7Red Ash
    (52660, 71376, 4.5072, 1, 0, 1, 1), -- 7Lava Ruby
    (52660, 68729, 0.1836, 1, 0, 1, 1), -- 5Elementium Lockbox
    (52660, 62068, 0.0926, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (52660, 62069, 0.0862, 1, 0, 1, 1), -- 7Plugged Rifle
    (52660, 62064, 0.0849, 1, 0, 1, 1), -- 7Warped Greatsword
    (52660, 62067, 0.0844, 1, 0, 1, 1), -- 7Flamewashed Mace
    (52660, 62066, 0.0819, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (52660, 62065, 0.0815, 1, 0, 1, 1), -- 7Melted Cleaver
    (52660, 62063, 0.0809, 1, 0, 1, 1), -- 7Shattered War Mace
    (52660, 62070, 0.0791, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (52660, 62071, 0.0775, 1, 0, 1, 1), -- 7Corroded Blade
    (52660, 62072, 0.0765, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (52660, 62076, 0.0428, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (52660, 62086, 0.0424, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (52660, 62096, 0.0424, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (52660, 62074, 0.0412, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (52660, 55423, 0.0397, 1, 0, 1, 1), -- 5Blackwolf Ring
    (52660, 62079, 0.0396, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (52660, 62082, 0.0394, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (52660, 62077, 0.0384, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (52660, 62075, 0.0380, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (52660, 62098, 0.0380, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (52660, 62087, 0.0369, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (52660, 62091, 0.0369, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (52660, 62073, 0.0368, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (52660, 62078, 0.0368, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (52660, 62100, 0.0366, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (52660, 62081, 0.0363, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (52660, 62093, 0.0363, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (52660, 62095, 0.0359, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (52660, 62092, 0.0355, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (52660, 62080, 0.0350, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (52660, 62102, 0.0347, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (52660, 62084, 0.0346, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (52660, 62089, 0.0346, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (52660, 62083, 0.0341, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (52660, 55421, 0.0340, 1, 0, 1, 1), -- 5Mereldar Ring
    (52660, 62101, 0.0339, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (52660, 62094, 0.0337, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (52660, 62128, 0.0336, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (52660, 62099, 0.0334, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (52660, 62090, 0.0330, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (52660, 62097, 0.0327, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (52660, 62108, 0.0325, 1, 0, 1, 1), -- 7Singed Armor
    (52660, 62103, 0.0324, 1, 0, 1, 1), -- 7Pockmarked Hat
    (52660, 62104, 0.0314, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (52660, 62088, 0.0308, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (52660, 62112, 0.0303, 1, 0, 1, 1), -- 7Singed Pants
    (52660, 55422, 0.0298, 1, 0, 1, 1), -- 5Thondroril Ring
    (52660, 62126, 0.0298, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (52660, 62085, 0.0296, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (52660, 62113, 0.0296, 1, 0, 1, 1), -- 7Singed Gloves
    (52660, 62129, 0.0296, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (52660, 62131, 0.0292, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (52660, 62109, 0.0289, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (52660, 62114, 0.0284, 1, 0, 1, 1), -- 7Singed Bracers
    (52660, 62115, 0.0284, 1, 0, 1, 1), -- 7Singed Boots
    (52660, 62134, 0.0283, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (52660, 67539, 0.0281, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (52660, 55441, 0.0277, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (52660, 62118, 0.0273, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (52660, 62133, 0.0271, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (52660, 62135, 0.0271, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (52660, 62105, 0.0270, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (52660, 62106, 0.0267, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (52660, 62123, 0.0265, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (52660, 62132, 0.0264, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (52660, 62119, 0.0261, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (52660, 62127, 0.0261, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (52660, 62117, 0.0256, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (52660, 62116, 0.0254, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (52660, 62107, 0.0251, 1, 0, 1, 1), -- 7Singed Belt
    (52660, 62111, 0.0249, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (52660, 62110, 0.0248, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (52660, 62122, 0.0248, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (52660, 62125, 0.0245, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (52660, 62121, 0.0243, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (52660, 62124, 0.0243, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (52660, 62136, 0.0239, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (52660, 62130, 0.0233, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (52660, 55720, 0.0229, 1, 0, 1, 1), -- 5Bluefen Robe
    (52660, 55439, 0.0227, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (52660, 55763, 0.0224, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (52660, 62120, 0.0220, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (52660, 55440, 0.0215, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (52660, 55772, 0.0202, 1, 0, 1, 1), -- 5Everstill Cord
    (52660, 55711, 0.0201, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (52660, 55710, 0.0192, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (52660, 55719, 0.0191, 1, 0, 1, 1), -- 5Mystral Robe
    (52660, 55531, 0.0189, 1, 0, 1, 1), -- 5Crystalvein Helm
    (52660, 55576, 0.0189, 1, 0, 1, 1), -- 5Talondeep Vest
    (52660, 55718, 0.0177, 1, 0, 1, 1), -- 5Everstill Robe
    (52660, 55745, 0.0174, 1, 0, 1, 1), -- 5Everstill Cowl
    (52660, 55747, 0.0174, 1, 0, 1, 1), -- 5Bluefen Cowl
    (52660, 55765, 0.0174, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (52660, 55736, 0.0173, 1, 0, 1, 1), -- 5Everstill Handwraps
    (52660, 55727, 0.0170, 1, 0, 1, 1), -- 5Everstill Sandals
    (52660, 55405, 0.0169, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (52660, 55755, 0.0167, 1, 0, 1, 1), -- 5Mystral Leggings
    (52660, 55773, 0.0166, 1, 0, 1, 1), -- 5Mystral Cord
    (52660, 55403, 0.0164, 1, 0, 1, 1), -- 5Mereldar Amulet
    (52660, 55764, 0.0160, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (52660, 55486, 0.0157, 1, 0, 1, 1), -- 5Blackwolf Wand
    (52660, 55729, 0.0157, 1, 0, 1, 1), -- 5Bluefen Sandals
    (52660, 55485, 0.0155, 1, 0, 1, 1), -- 5Thondroril Wand
    (52660, 55664, 0.0151, 1, 0, 1, 1), -- 5Dandred Gloves
    (52660, 55737, 0.0151, 1, 0, 1, 1), -- 5Mystral Handwraps
    (52660, 55709, 0.0149, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (52660, 55558, 0.0149, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (52660, 55484, 0.0147, 1, 0, 1, 1), -- 5Mereldar Wand
    (52660, 55529, 0.0145, 1, 0, 1, 1), -- 5Ravencrest Helm
    (52660, 55746, 0.0144, 1, 0, 1, 1), -- 5Mystral Cowl
    (52660, 55754, 0.0142, 1, 0, 1, 1), -- 5Everstill Leggings
    (52660, 55368, 0.0139, 1, 0, 1, 1), -- 5Thondroril Scepter
    (52660, 55756, 0.0139, 1, 0, 1, 1), -- 5Bluefen Leggings
    (52660, 55774, 0.0138, 1, 0, 1, 1), -- 5Bluefen Cord
    (52660, 55601, 0.0136, 1, 0, 1, 1), -- 5Highperch Helm
    (52660, 55404, 0.0135, 1, 0, 1, 1), -- 5Thondroril Amulet
    (52660, 55738, 0.0133, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (52660, 55728, 0.0132, 1, 0, 1, 1), -- 5Mystral Sandals
    (52660, 55567, 0.0132, 1, 0, 1, 1), -- 5Talondeep Bracers
    (52660, 55511, 0.0130, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (52660, 55530, 0.0130, 1, 0, 1, 1), -- 5Stonewrought Helm
    (52660, 55674, 0.0130, 1, 0, 1, 1), -- 5Haldarr Hood
    (52660, 55565, 0.0129, 1, 0, 1, 1), -- 5Highperch Bracers
    (52660, 55655, 0.0129, 1, 0, 1, 1), -- 5Dandred Boots
    (52660, 55693, 0.0129, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (52660, 55692, 0.0126, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (52660, 55583, 0.0125, 1, 0, 1, 1), -- 5Highperch Greaves
    (52660, 55647, 0.0125, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (52660, 55610, 0.0123, 1, 0, 1, 1), -- 5Highperch Legguards
    (52660, 55521, 0.0123, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (52660, 55602, 0.0123, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (52660, 55458, 0.0122, 1, 0, 1, 1), -- 5Bladefist Sword
    (52660, 55512, 0.0122, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (52660, 55620, 0.0122, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (52660, 55603, 0.0122, 1, 0, 1, 1), -- 5Talondeep Helm
    (52660, 55639, 0.0122, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (52660, 55666, 0.0122, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (52660, 55520, 0.0119, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (52660, 55575, 0.0119, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (52660, 55547, 0.0116, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (52660, 55594, 0.0116, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (52660, 55556, 0.0114, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (52660, 55637, 0.0114, 1, 0, 1, 1), -- 5Dandred Bindings
    (52660, 55700, 0.0114, 1, 0, 1, 1), -- 5Dandred Waistband
    (52660, 55566, 0.0113, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (52660, 55691, 0.0111, 1, 0, 1, 1), -- 5Dandred Shoulders
    (52660, 55665, 0.0111, 1, 0, 1, 1), -- 5Haldarr Gloves
    (52660, 55683, 0.0111, 1, 0, 1, 1), -- 5Haldarr Britches
    (52660, 55495, 0.0111, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (52660, 55621, 0.0111, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (52660, 55611, 0.0110, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (52660, 55675, 0.0110, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (52660, 55503, 0.0108, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (52660, 55656, 0.0108, 1, 0, 1, 1), -- 5Haldarr Boots
    (52660, 55630, 0.0108, 1, 0, 1, 1), -- 5Talondeep Belt
    (52660, 55538, 0.0107, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (52660, 55592, 0.0107, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (52660, 55504, 0.0106, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (52660, 55657, 0.0106, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (52660, 55548, 0.0104, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (52660, 55522, 0.0104, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (52660, 55376, 0.0103, 1, 0, 1, 1), -- 5Mereldar Crystal
    (52660, 55629, 0.0103, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (52660, 55369, 0.0103, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (52660, 55513, 0.0103, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (52660, 55648, 0.0103, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (52660, 55584, 0.0101, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (52660, 55638, 0.0101, 1, 0, 1, 1), -- 5Haldarr Bindings
    (52660, 55549, 0.0101, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (52660, 55457, 0.0100, 1, 0, 1, 1), -- 5Mardenholde Sword
    (52660, 55557, 0.0100, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (52660, 55612, 0.0100, 1, 0, 1, 1), -- 5Talondeep Legguards
    (52660, 55619, 0.0098, 1, 0, 1, 1), -- 5Highperch Spaulders
    (52660, 55646, 0.0098, 1, 0, 1, 1), -- 5Dandred Jerkin
    (52660, 55494, 0.0098, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (52660, 55701, 0.0097, 1, 0, 1, 1), -- 5Haldarr Waistband
    (52660, 55585, 0.0097, 1, 0, 1, 1), -- 5Talondeep Greaves
    (52660, 55684, 0.0097, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (52660, 55367, 0.0095, 1, 0, 1, 1), -- 5Mereldar Scepter
    (52660, 55502, 0.0095, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (52660, 65896, 0.0094, 1, 0, 1, 1), -- 4Figurine - Jeweled Serpent
    (52660, 55628, 0.0092, 1, 0, 1, 1), -- 5Highperch Belt
    (52660, 55574, 0.0089, 1, 0, 1, 1), -- 5Highperch Vest
    (52660, 55539, 0.0089, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (52660, 55378, 0.0089, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (52660, 55331, 0.0088, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (52660, 55593, 0.0086, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (52660, 55540, 0.0086, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (52660, 55287, 0.0085, 1, 0, 1, 1), -- 5Bladefist Axe
    (52660, 55673, 0.0084, 1, 0, 1, 1), -- 5Dandred Hood
    (52660, 55702, 0.0084, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (52660, 55296, 0.0081, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (52660, 55315, 0.0081, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (52660, 55387, 0.0081, 1, 0, 1, 1), -- 5Irontree Mace
    (52660, 55377, 0.0079, 1, 0, 1, 1), -- 5Thondroril Crystal
    (52660, 55682, 0.0078, 1, 0, 1, 1), -- 5Dandred Britches
    (52660, 55430, 0.0075, 1, 0, 1, 1), -- 5Ravencrest Shield
    (52660, 55493, 0.0075, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (52660, 55297, 0.0073, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (52660, 55385, 0.0072, 1, 0, 1, 1), -- 5Mardenholde Mace
    (52660, 55314, 0.0072, 1, 0, 1, 1), -- 5Thondroril Cloak
    (52660, 55313, 0.0069, 1, 0, 1, 1), -- 5Mereldar Cloak
    (52660, 55432, 0.0067, 1, 0, 1, 1), -- 5Crystalvein Shield
    (52660, 55351, 0.0064, 1, 0, 1, 1), -- 5Irontree Knuckles
    (52660, 55286, 0.0063, 1, 0, 1, 1), -- 5Mardenholde Axe
    (52660, 55413, 0.0063, 1, 0, 1, 1), -- 5Bladefist Spear
    (52660, 55431, 0.0062, 1, 0, 1, 1), -- 5Stonewrought Shield
    (52660, 55332, 0.0060, 1, 0, 1, 1), -- 5Bladefist Dagger
    (52660, 65897, 0.0059, 1, 0, 1, 1), -- 4Figurine - Earthen Guardian
    (52660, 55349, 0.0057, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (52660, 55467, 0.0057, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (52660, 55333, 0.0057, 1, 0, 1, 1), -- 5Irontree Dagger
    (52660, 65894, 0.0056, 1, 0, 1, 1), -- 4Figurine - Dream Owl
    (52660, 55340, 0.0054, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52660, 55342, 0.0054, 1, 0, 1, 1), -- 5Irontree Staff
    (52660, 55295, 0.0053, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (52660, 55386, 0.0051, 1, 0, 1, 1), -- 5Bladefist Mace
    (52660, 55450, 0.0051, 1, 0, 1, 1), -- 5Irontree Staff
    (52660, 55459, 0.0050, 1, 0, 1, 1), -- 5Irontree Sword
    (52660, 55394, 0.0045, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (52660, 55350, 0.0045, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (52660, 55448, 0.0043, 1, 0, 1, 1), -- 5Mardenholde Staff
    (52660, 55288, 0.0043, 1, 0, 1, 1), -- 5Irontree Axe
    (52660, 55396, 0.0043, 1, 0, 1, 1), -- 5Irontree Hammer
    (52660, 55468, 0.0041, 1, 0, 1, 1), -- 5Irontree Greatsword
    (52660, 52197, 0.0040, 1, 0, 1, 1), -- 4Figurine - Demon Panther
    (52660, 55449, 0.0038, 1, 0, 1, 1), -- 5Bladefist Staff
    (52660, 55414, 0.0037, 1, 0, 1, 1), -- 5Irontree Spear
    (52660, 55466, 0.0035, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (52660, 55341, 0.0035, 1, 0, 1, 1), -- 5Bladefist Staff
    (52660, 55395, 0.0035, 1, 0, 1, 1), -- 5Bladefist Hammer
    (52660, 55412, 0.0032, 1, 0, 1, 1), -- 5Mardenholde Spear
    (52660, 68788, 0.0031, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (52660, 52377, 0.0031, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (52660, 65895, 0.0029, 1, 0, 1, 1), -- 4Figurine - King of Boars
    (52660, 52364, 0.0029, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (52660, 52388, 0.0029, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (52660, 55323, 0.0029, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (52660, 67119, 0.0025, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (52660, 66976, 0.0025, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (52660, 52368, 0.0025, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (52660, 52375, 0.0025, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (52660, 52376, 0.0025, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (52660, 68783, 0.0023, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (52660, 55358, 0.0023, 1, 0, 1, 1), -- 5Mardenholde Gun
    (52660, 67120, 0.0022, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (52660, 52385, 0.0022, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (52660, 52365, 0.0021, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (52660, 52367, 0.0021, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (52660, 66940, 0.0019, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (52660, 67069, 0.0019, 1, 0, 1, 1), -- 4Shade of Death
    (52660, 67071, 0.0019, 1, 0, 1, 1), -- 4Staff of Old Woes
    (52660, 66942, 0.0018, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (52660, 52386, 0.0018, 1, 0, 1, 1), -- 5Design: Lightning Jasper
    (52660, 68781, 0.0016, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (52660, 66931, 0.0016, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (52660, 66971, 0.0016, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (52660, 66991, 0.0016, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (52660, 67124, 0.0016, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (52660, 52371, 0.0016, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (52660, 52382, 0.0016, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (52660, 52383, 0.0016, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (52660, 55306, 0.0016, 1, 0, 1, 1), -- 5Irontree Bow
    (52660, 68787, 0.0015, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (52660, 66969, 0.0015, 1, 0, 1, 1), -- 4Heart of the Vile
    (52660, 66972, 0.0015, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (52660, 52372, 0.0015, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (52660, 52378, 0.0015, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (52660, 55305, 0.0015, 1, 0, 1, 1), -- 5Bladefist Bow
    (52660, 55324, 0.0015, 1, 0, 1, 1), -- 5Irontree Crossbow
    (52660, 68782, 0.0013, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (52660, 66968, 0.0013, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (52660, 66970, 0.0013, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (52660, 66974, 0.0013, 1, 0, 1, 1), -- 4Nightrend Choker
    (52660, 66992, 0.0013, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (52660, 52363, 0.0013, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (52660, 52373, 0.0013, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (52660, 67133, 0.0012, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (52660, 68789, 0.0012, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (52660, 67061, 0.0012, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (52660, 67122, 0.0012, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (52660, 67123, 0.0012, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (52660, 67125, 0.0012, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (52660, 55304, 0.0012, 1, 0, 1, 1), -- 5Mardenholde Bow
    (52660, 66989, 0.0010, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (52660, 66973, 0.0010, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (52660, 66975, 0.0010, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (52660, 67127, 0.0010, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (52660, 52366, 0.0010, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (52660, 52374, 0.0010, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (52660, 52379, 0.0010, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (52660, 69820, 0.0010, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (52660, 55322, 0.0010, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (52660, 67129, 0.0009, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (52660, 67134, 0.0009, 1, 0, 1, 1), -- 3Dory's Finery
    (52660, 66990, 0.0009, 1, 0, 1, 1), -- 4Downfall Hammer
    (52660, 67121, 0.0009, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (52660, 66941, 0.0009, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (52660, 55360, 0.0009, 1, 0, 1, 1), -- 5Irontree Gun
    (52660, 67131, 0.0007, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (52660, 67139, 0.0007, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (52660, 67140, 0.0007, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (52660, 52369, 0.0007, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (52660, 52370, 0.0007, 1, 0, 1, 1), -- 5Design: Polished Hessonite
    (52660, 55359, 0.0007, 1, 0, 1, 1), -- 5Bladefist Gun
    (52660, 67130, 0.0006, 1, 0, 1, 1), -- 3Dorian's Lost Necklace
    (52660, 67136, 0.0006, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (52660, 66932, 0.0006, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (52660, 67057, 0.0006, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (52660, 67126, 0.0006, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (52660, 67147, 0.0004, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (52660, 67150, 0.0004, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (52660, 66993, 0.0004, 1, 0, 1, 1), -- 4Sorrow's End
    (52660, 66994, 0.0004, 1, 0, 1, 1), -- 4Soul's Anguish
    (52660, 67132, 0.0003, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (52660, 67135, 0.0003, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (52660, 67138, 0.0003, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (52660, 67141, 0.0003, 1, 0, 1, 1), -- 3Corefire Legplates
    (52660, 67143, 0.0003, 1, 0, 1, 1), -- 3Icebone Hauberk
    (52660, 67144, 0.0003, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (52660, 67146, 0.0003, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (52660, 67148, 0.0003, 1, 0, 1, 1), -- 3Kilt of Trollish Dreams
    (52660, 67067, 0.0003, 1, 0, 1, 1), -- 4Belt of Guardianship
    (52660, 67137, 0.0001, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (52660, 67145, 0.0001, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (52660, 67149, 0.0001, 1, 0, 1, 1), -- 3Heartbound Tome
    (52660, 52494, 0.0001, 1, 0, 1, 1); -- 4Design: Jeweler's Ruby Monocle
    
    
    --  http://www.wowhead.com/npc=53094
    DELETE FROM `creature_loot_template` WHERE `entry` = 53094;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53094, 68729, 3.2729, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53094, 62065, 2.8638, 1, 0, 1, 1), -- 7Melted Cleaver
    (53094, 71362, 2.4547, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53094, 62072, 2.2209, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53094, 71367, 1.9871, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53094, 70929, 1.7534, 1, 0, 1, 1), -- 3Firebound Gorget
    (53094, 71361, 1.5196, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53094, 62066, 1.4611, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53094, 62067, 1.4027, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53094, 62071, 1.4027, 1, 0, 1, 1), -- 7Corroded Blade
    (53094, 62063, 1.3442, 1, 0, 1, 1), -- 7Shattered War Mace
    (53094, 62132, 0.8182, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53094, 71359, 0.7598, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53094, 55439, 0.7598, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53094, 55603, 0.7013, 1, 0, 1, 1), -- 5Talondeep Helm
    (53094, 55729, 0.6429, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53094, 55440, 0.5845, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53094, 62089, 0.5845, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53094, 55746, 0.4676, 1, 0, 1, 1), -- 5Mystral Cowl
    (53094, 62111, 0.4676, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53094, 69969, 0.4091, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53094, 55718, 0.4091, 1, 0, 1, 1), -- 5Everstill Robe
    (53094, 55639, 0.4091, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53094, 62101, 0.4091, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53094, 69966, 0.3507, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53094, 62092, 0.3507, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53094, 55737, 0.2922, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53094, 55764, 0.2922, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53094, 55747, 0.2922, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53094, 69962, 0.1753, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53094, 55502, 0.1753, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53094, 55575, 0.1753, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53094, 55647, 0.1753, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53094, 55531, 0.1753, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53094, 55630, 0.1753, 1, 0, 1, 1), -- 5Talondeep Belt
    (53094, 67123, 0.1169, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53094, 55656, 0.1169, 1, 0, 1, 1), -- 5Haldarr Boots
    (53094, 55738, 0.1169, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53094, 52385, 0.0584, 1, 0, 1, 1); -- 5Design: Forceful Jasper
    
    --  http://www.wowhead.com/npc=53095
    DELETE FROM `creature_loot_template` WHERE `entry` = 53095;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53095, 68729, 3.7811, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53095, 71367, 3.3831, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53095, 71361, 2.7861, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53095, 70929, 2.3881, 1, 0, 1, 1), -- 3Firebound Gorget
    (53095, 62069, 2.2886, 1, 0, 1, 1), -- 7Plugged Rifle
    (53095, 71359, 1.7910, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53095, 71362, 1.7910, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53095, 71360, 1.5920, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53095, 68915, 1.4925, 1, 0, 1, 1), -- 3Scales of Life
    (53095, 68972, 1.4925, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53095, 62081, 0.9950, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53095, 69972, 0.8955, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53095, 62095, 0.8955, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53095, 69960, 0.7960, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53095, 62064, 0.7960, 1, 0, 1, 1), -- 7Warped Greatsword
    (53095, 55440, 0.6965, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53095, 62090, 0.6965, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53095, 62072, 0.5970, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53095, 69966, 0.4975, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53095, 55727, 0.4975, 1, 0, 1, 1), -- 5Everstill Sandals
    (53095, 55736, 0.4975, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53095, 55630, 0.4975, 1, 0, 1, 1), -- 5Talondeep Belt
    (53095, 62086, 0.4975, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53095, 62091, 0.4975, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53095, 55657, 0.3980, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53095, 62106, 0.3980, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53095, 62122, 0.3980, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53095, 69961, 0.2985, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53095, 69969, 0.2985, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53095, 69970, 0.2985, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53095, 69971, 0.2985, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53095, 55503, 0.2985, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53095, 55602, 0.2985, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53095, 55495, 0.2985, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53095, 55603, 0.2985, 1, 0, 1, 1), -- 5Talondeep Helm
    (53095, 67539, 0.2985, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53095, 62092, 0.2985, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53095, 69959, 0.1990, 1, 0, 1, 1), -- 3Plans: Holy Flame Gauntlets
    (53095, 55367, 0.1990, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53095, 55664, 0.1990, 1, 0, 1, 1), -- 5Dandred Gloves
    (53095, 55296, 0.1990, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53095, 55566, 0.1990, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53095, 55513, 0.1990, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53095, 55358, 0.0995, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53095, 55314, 0.0995, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53095, 55341, 0.0995, 1, 0, 1, 1), -- 5Bladefist Staff
    (53095, 55359, 0.0995, 1, 0, 1, 1), -- 5Bladefist Gun
    (53095, 55458, 0.0995, 1, 0, 1, 1), -- 5Bladefist Sword
    (53095, 55432, 0.0995, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53095, 55684, 0.0995, 1, 0, 1, 1); -- 5Ravenholdt Britches
    
    --  http://www.wowhead.com/npc=53096
    DELETE FROM `creature_loot_template` WHERE `entry` = 53096;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53096, 68729, 2.9196, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53096, 62064, 1.7732, 1, 0, 1, 1), -- 7Warped Greatsword
    (53096, 62067, 1.7553, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53096, 62068, 1.7016, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53096, 62065, 1.5583, 1, 0, 1, 1), -- 7Melted Cleaver
    (53096, 62071, 1.5225, 1, 0, 1, 1), -- 7Corroded Blade
    (53096, 62069, 1.4150, 1, 0, 1, 1), -- 7Plugged Rifle
    (53096, 71360, 1.3971, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53096, 62070, 1.3792, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53096, 62118, 1.3075, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53096, 62063, 1.2896, 1, 0, 1, 1), -- 7Shattered War Mace
    (53096, 68915, 1.2538, 1, 0, 1, 1), -- 3Scales of Life
    (53096, 62066, 1.2538, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53096, 71359, 1.2359, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53096, 71361, 1.1642, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53096, 62092, 1.1463, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53096, 62130, 1.0747, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53096, 71366, 1.0389, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53096, 62073, 1.0389, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53096, 71362, 0.9851, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53096, 71365, 0.9672, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53096, 62098, 0.9493, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53096, 71367, 0.9135, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53096, 62103, 0.8956, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53096, 68972, 0.8777, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53096, 62072, 0.8777, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53096, 62077, 0.8598, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53096, 62083, 0.8239, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53096, 62088, 0.8060, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53096, 62094, 0.8060, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53096, 62107, 0.8060, 1, 0, 1, 1), -- 7Singed Belt
    (53096, 55441, 0.7881, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53096, 62109, 0.7702, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53096, 70929, 0.7523, 1, 0, 1, 1), -- 3Firebound Gorget
    (53096, 71640, 0.7523, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53096, 62123, 0.7523, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53096, 55691, 0.7344, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53096, 62086, 0.7344, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53096, 55621, 0.7165, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53096, 62101, 0.7165, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53096, 62082, 0.6985, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53096, 62081, 0.6627, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53096, 55746, 0.6269, 1, 0, 1, 1), -- 5Mystral Cowl
    (53096, 55504, 0.6269, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53096, 62087, 0.6090, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53096, 62115, 0.6090, 1, 0, 1, 1), -- 7Singed Boots
    (53096, 62097, 0.5911, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53096, 62114, 0.5911, 1, 0, 1, 1), -- 7Singed Bracers
    (53096, 55422, 0.5732, 1, 0, 1, 1), -- 5Thondroril Ring
    (53096, 55494, 0.5732, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53096, 62074, 0.5732, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53096, 62122, 0.5732, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53096, 55404, 0.5553, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53096, 62084, 0.5553, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53096, 62128, 0.5373, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53096, 62078, 0.5194, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53096, 62093, 0.5194, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53096, 62132, 0.5194, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53096, 62135, 0.5194, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53096, 55601, 0.5015, 1, 0, 1, 1), -- 5Highperch Helm
    (53096, 55521, 0.5015, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53096, 55540, 0.5015, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53096, 62085, 0.5015, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53096, 62102, 0.5015, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53096, 62131, 0.5015, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53096, 62116, 0.4836, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53096, 69962, 0.4657, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53096, 62080, 0.4657, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53096, 69973, 0.4478, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53096, 55369, 0.4478, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53096, 55423, 0.4478, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53096, 62079, 0.4478, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53096, 62095, 0.4478, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53096, 62096, 0.4478, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53096, 62134, 0.4478, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53096, 55440, 0.4299, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53096, 55485, 0.4299, 1, 0, 1, 1), -- 5Thondroril Wand
    (53096, 55638, 0.4299, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53096, 55486, 0.4299, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53096, 62076, 0.4299, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53096, 62089, 0.4299, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53096, 62104, 0.4299, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53096, 62127, 0.4299, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53096, 55539, 0.4120, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53096, 62090, 0.4120, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53096, 69959, 0.3941, 1, 0, 1, 1), -- 3Plans: Holy Flame Gauntlets
    (53096, 55421, 0.3941, 1, 0, 1, 1), -- 5Mereldar Ring
    (53096, 55439, 0.3941, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53096, 55646, 0.3941, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53096, 55548, 0.3941, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53096, 62075, 0.3941, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53096, 62100, 0.3941, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53096, 62120, 0.3941, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53096, 55367, 0.3761, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53096, 55763, 0.3761, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53096, 55674, 0.3761, 1, 0, 1, 1), -- 5Haldarr Hood
    (53096, 55701, 0.3761, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53096, 62099, 0.3761, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53096, 69968, 0.3582, 1, 0, 1, 1), -- 3Plans: Warboots of Mighty Lords
    (53096, 55484, 0.3582, 1, 0, 1, 1), -- 5Mereldar Wand
    (53096, 62133, 0.3582, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53096, 55772, 0.3403, 1, 0, 1, 1), -- 5Everstill Cord
    (53096, 55684, 0.3403, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53096, 55765, 0.3403, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53096, 62091, 0.3403, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53096, 62108, 0.3403, 1, 0, 1, 1), -- 7Singed Armor
    (53096, 62121, 0.3403, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53096, 62124, 0.3403, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53096, 55637, 0.3224, 1, 0, 1, 1), -- 5Dandred Bindings
    (53096, 55745, 0.3224, 1, 0, 1, 1), -- 5Everstill Cowl
    (53096, 55728, 0.3224, 1, 0, 1, 1), -- 5Mystral Sandals
    (53096, 55738, 0.3224, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53096, 69957, 0.3045, 1, 0, 1, 1), -- 3Plans: Fists of Fury
    (53096, 69961, 0.3045, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53096, 69965, 0.3045, 1, 0, 1, 1), -- 3Pattern: Grips of Altered Reality
    (53096, 69966, 0.3045, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53096, 69974, 0.3045, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53096, 55610, 0.3045, 1, 0, 1, 1), -- 5Highperch Legguards
    (53096, 55287, 0.3045, 1, 0, 1, 1), -- 5Bladefist Axe
    (53096, 55386, 0.3045, 1, 0, 1, 1), -- 5Bladefist Mace
    (53096, 55449, 0.3045, 1, 0, 1, 1), -- 5Bladefist Staff
    (53096, 55558, 0.3045, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53096, 62111, 0.3045, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53096, 55575, 0.2866, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53096, 55719, 0.2866, 1, 0, 1, 1), -- 5Mystral Robe
    (53096, 55755, 0.2866, 1, 0, 1, 1), -- 5Mystral Leggings
    (53096, 55522, 0.2866, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53096, 55711, 0.2866, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53096, 55720, 0.2866, 1, 0, 1, 1), -- 5Bluefen Robe
    (53096, 62112, 0.2866, 1, 0, 1, 1), -- 7Singed Pants
    (53096, 62113, 0.2866, 1, 0, 1, 1), -- 7Singed Gloves
    (53096, 62117, 0.2866, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53096, 55493, 0.2687, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53096, 55629, 0.2687, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53096, 55665, 0.2687, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53096, 55764, 0.2687, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53096, 55747, 0.2687, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53096, 62126, 0.2687, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53096, 62129, 0.2687, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53096, 55502, 0.2508, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53096, 55754, 0.2508, 1, 0, 1, 1), -- 5Everstill Leggings
    (53096, 55368, 0.2508, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53096, 55503, 0.2508, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53096, 62136, 0.2508, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53096, 69958, 0.2328, 1, 0, 1, 1), -- 3Plans: Eternal Elementium Handguards
    (53096, 69969, 0.2328, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53096, 55583, 0.2328, 1, 0, 1, 1), -- 5Highperch Greaves
    (53096, 55673, 0.2328, 1, 0, 1, 1), -- 5Dandred Hood
    (53096, 55727, 0.2328, 1, 0, 1, 1), -- 5Everstill Sandals
    (53096, 55611, 0.2328, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53096, 55737, 0.2328, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53096, 55773, 0.2328, 1, 0, 1, 1), -- 5Mystral Cord
    (53096, 55639, 0.2328, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53096, 62119, 0.2328, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53096, 69970, 0.2149, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53096, 55529, 0.2149, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53096, 55556, 0.2149, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53096, 55709, 0.2149, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53096, 55718, 0.2149, 1, 0, 1, 1), -- 5Everstill Robe
    (53096, 55377, 0.2149, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53096, 55431, 0.2149, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53096, 55458, 0.2149, 1, 0, 1, 1), -- 5Bladefist Sword
    (53096, 55566, 0.2149, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53096, 55585, 0.2149, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53096, 62106, 0.2149, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53096, 62125, 0.2149, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53096, 69972, 0.1970, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53096, 55457, 0.1970, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53096, 55574, 0.1970, 1, 0, 1, 1), -- 5Highperch Vest
    (53096, 55584, 0.1970, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53096, 55612, 0.1970, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53096, 55657, 0.1970, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53096, 55774, 0.1970, 1, 0, 1, 1), -- 5Bluefen Cord
    (53096, 69960, 0.1791, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53096, 55313, 0.1791, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53096, 55340, 0.1791, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53096, 55547, 0.1791, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53096, 55592, 0.1791, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53096, 55683, 0.1791, 1, 0, 1, 1), -- 5Haldarr Britches
    (53096, 55342, 0.1791, 1, 0, 1, 1), -- 5Irontree Staff
    (53096, 55351, 0.1791, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53096, 55432, 0.1791, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53096, 55513, 0.1791, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53096, 55729, 0.1791, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53096, 67539, 0.1791, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53096, 62105, 0.1791, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53096, 69963, 0.1612, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53096, 69971, 0.1612, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53096, 66942, 0.1612, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53096, 55349, 0.1612, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53096, 55376, 0.1612, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53096, 55466, 0.1612, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53096, 55538, 0.1612, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53096, 55655, 0.1612, 1, 0, 1, 1), -- 5Dandred Boots
    (53096, 55736, 0.1612, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53096, 55350, 0.1612, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53096, 55602, 0.1612, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53096, 55315, 0.1612, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53096, 55333, 0.1612, 1, 0, 1, 1), -- 5Irontree Dagger
    (53096, 55405, 0.1612, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53096, 55648, 0.1612, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53096, 55675, 0.1612, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53096, 62110, 0.1612, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53096, 69976, 0.1433, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53096, 55331, 0.1433, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53096, 55403, 0.1433, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53096, 55619, 0.1433, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53096, 55628, 0.1433, 1, 0, 1, 1), -- 5Highperch Belt
    (53096, 55700, 0.1433, 1, 0, 1, 1), -- 5Dandred Waistband
    (53096, 55530, 0.1433, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53096, 55557, 0.1433, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53096, 55620, 0.1433, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53096, 55647, 0.1433, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53096, 55549, 0.1433, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53096, 55756, 0.1433, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53096, 69975, 0.1254, 1, 0, 1, 1), -- 3Pattern: Endless Dream Walkers
    (53096, 67140, 0.1254, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (53096, 55385, 0.1254, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53096, 55511, 0.1254, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53096, 55664, 0.1254, 1, 0, 1, 1), -- 5Dandred Gloves
    (53096, 55314, 0.1254, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53096, 55692, 0.1254, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53096, 55459, 0.1254, 1, 0, 1, 1), -- 5Irontree Sword
    (53096, 55468, 0.1254, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53096, 55495, 0.1254, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53096, 55567, 0.1254, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53096, 55702, 0.1254, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53096, 67069, 0.1075, 1, 0, 1, 1), -- 4Shade of Death
    (53096, 55682, 0.1075, 1, 0, 1, 1), -- 5Dandred Britches
    (53096, 55593, 0.1075, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53096, 55297, 0.1075, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53096, 55378, 0.1075, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53096, 55414, 0.1075, 1, 0, 1, 1), -- 5Irontree Spear
    (53096, 55531, 0.1075, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53096, 55594, 0.1075, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53096, 55630, 0.1075, 1, 0, 1, 1), -- 5Talondeep Belt
    (53096, 55666, 0.1075, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53096, 55412, 0.0896, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53096, 55341, 0.0896, 1, 0, 1, 1), -- 5Bladefist Staff
    (53096, 55413, 0.0896, 1, 0, 1, 1), -- 5Bladefist Spear
    (53096, 55656, 0.0896, 1, 0, 1, 1), -- 5Haldarr Boots
    (53096, 55288, 0.0896, 1, 0, 1, 1), -- 5Irontree Axe
    (53096, 55693, 0.0896, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53096, 55286, 0.0716, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53096, 55304, 0.0716, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53096, 55565, 0.0716, 1, 0, 1, 1), -- 5Highperch Bracers
    (53096, 55296, 0.0716, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53096, 55512, 0.0716, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53096, 55387, 0.0716, 1, 0, 1, 1), -- 5Irontree Mace
    (53096, 55396, 0.0716, 1, 0, 1, 1), -- 5Irontree Hammer
    (53096, 55576, 0.0716, 1, 0, 1, 1), -- 5Talondeep Vest
    (53096, 67125, 0.0537, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53096, 67127, 0.0537, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53096, 55394, 0.0537, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53096, 55430, 0.0537, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53096, 55520, 0.0537, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53096, 55332, 0.0537, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53096, 55710, 0.0537, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53096, 55603, 0.0537, 1, 0, 1, 1), -- 5Talondeep Helm
    (53096, 66931, 0.0358, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53096, 66968, 0.0358, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53096, 66969, 0.0358, 1, 0, 1, 1), -- 4Heart of the Vile
    (53096, 66971, 0.0358, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53096, 67057, 0.0358, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53096, 67061, 0.0358, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (53096, 67121, 0.0358, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53096, 52379, 0.0358, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53096, 55295, 0.0358, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53096, 55358, 0.0358, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53096, 55448, 0.0358, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53096, 55359, 0.0358, 1, 0, 1, 1), -- 5Bladefist Gun
    (53096, 55324, 0.0358, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53096, 55450, 0.0358, 1, 0, 1, 1), -- 5Irontree Staff
    (53096, 67133, 0.0179, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (53096, 67134, 0.0179, 1, 0, 1, 1), -- 3Dory's Finery
    (53096, 67139, 0.0179, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (53096, 67141, 0.0179, 1, 0, 1, 1), -- 3Corefire Legplates
    (53096, 67144, 0.0179, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (53096, 67147, 0.0179, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (53096, 68788, 0.0179, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (53096, 66990, 0.0179, 1, 0, 1, 1), -- 4Downfall Hammer
    (53096, 67120, 0.0179, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53096, 66941, 0.0179, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53096, 66972, 0.0179, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53096, 66976, 0.0179, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53096, 66992, 0.0179, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53096, 66993, 0.0179, 1, 0, 1, 1), -- 4Sorrow's End
    (53096, 52368, 0.0179, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53096, 52369, 0.0179, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53096, 52373, 0.0179, 1, 0, 1, 1), -- 5Design: Potent Hessonite
    (53096, 52375, 0.0179, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (53096, 55395, 0.0179, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53096, 55467, 0.0179, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53096, 55306, 0.0179, 1, 0, 1, 1); -- 5Irontree Bow
    
    
    --  http://www.wowhead.com/npc=53115
    DELETE FROM `creature_loot_template` WHERE `entry` = 53115;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53115, 68729, 3.6795, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53115, 70929, 3.3013, 1, 0, 1, 1), -- 3Firebound Gorget
    (53115, 71365, 3.2202, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53115, 71359, 3.2040, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53115, 71367, 3.1446, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53115, 71360, 3.1176, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53115, 68915, 3.0852, 1, 0, 1, 1), -- 3Scales of Life
    (53115, 71362, 3.0797, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53115, 71361, 3.0149, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53115, 68972, 2.9069, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53115, 71366, 2.8204, 1, 0, 1, 1); -- 3Lava Bolt Crossbow
    
    --  http://www.wowhead.com/npc=53116
    DELETE FROM `creature_loot_template` WHERE `entry` = 53116;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53116, 68729, 3.0879, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53116, 62065, 3.0879, 1, 0, 1, 1), -- 7Melted Cleaver
    (53116, 62067, 2.6128, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53116, 62071, 2.4941, 1, 0, 1, 1), -- 7Corroded Blade
    (53116, 62075, 2.3753, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53116, 62100, 2.1378, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53116, 62104, 2.0190, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53116, 62092, 1.9002, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53116, 62068, 1.9002, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53116, 62066, 1.7815, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53116, 62108, 1.6627, 1, 0, 1, 1), -- 7Singed Armor
    (53116, 55440, 1.5439, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53116, 62081, 1.4252, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53116, 62094, 1.4252, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53116, 62072, 1.4252, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53116, 62135, 1.4252, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53116, 62097, 1.3064, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53116, 62070, 1.3064, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53116, 62125, 1.3064, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53116, 62126, 1.3064, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53116, 55601, 1.1876, 1, 0, 1, 1), -- 5Highperch Helm
    (53116, 55619, 1.1876, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53116, 55655, 1.1876, 1, 0, 1, 1), -- 5Dandred Boots
    (53116, 55666, 1.1876, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53116, 62093, 1.1876, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53116, 62133, 1.1876, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53116, 55638, 1.0689, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53116, 62074, 1.0689, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53116, 62098, 1.0689, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53116, 62063, 1.0689, 1, 0, 1, 1), -- 7Shattered War Mace
    (53116, 62064, 1.0689, 1, 0, 1, 1), -- 7Warped Greatsword
    (53116, 62119, 1.0689, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53116, 62122, 1.0689, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53116, 55718, 0.9501, 1, 0, 1, 1), -- 5Everstill Robe
    (53116, 62080, 0.9501, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53116, 62088, 0.9501, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53116, 62095, 0.9501, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53116, 62103, 0.9501, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53116, 62109, 0.9501, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53116, 62118, 0.9501, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53116, 55574, 0.8314, 1, 0, 1, 1), -- 5Highperch Vest
    (53116, 55495, 0.8314, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53116, 55693, 0.8314, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53116, 62079, 0.8314, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53116, 55592, 0.7126, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53116, 55422, 0.7126, 1, 0, 1, 1), -- 5Thondroril Ring
    (53116, 55431, 0.7126, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53116, 55710, 0.7126, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53116, 55728, 0.7126, 1, 0, 1, 1), -- 5Mystral Sandals
    (53116, 55315, 0.7126, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53116, 55702, 0.7126, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53116, 62078, 0.7126, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53116, 62087, 0.7126, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53116, 62089, 0.7126, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53116, 62096, 0.7126, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53116, 62130, 0.7126, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53116, 69968, 0.5938, 1, 0, 1, 1), -- 3Plans: Warboots of Mighty Lords
    (53116, 71362, 0.5938, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53116, 55421, 0.5938, 1, 0, 1, 1), -- 5Mereldar Ring
    (53116, 55529, 0.5938, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53116, 55709, 0.5938, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53116, 55620, 0.5938, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53116, 55764, 0.5938, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53116, 55432, 0.5938, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53116, 55486, 0.5938, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53116, 62083, 0.5938, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53116, 62086, 0.5938, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53116, 62090, 0.5938, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53116, 62091, 0.5938, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53116, 62102, 0.5938, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53116, 62134, 0.5938, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53116, 55700, 0.4751, 1, 0, 1, 1), -- 5Dandred Waistband
    (53116, 62084, 0.4751, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53116, 62069, 0.4751, 1, 0, 1, 1), -- 7Plugged Rifle
    (53116, 62106, 0.4751, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53116, 62116, 0.4751, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53116, 62121, 0.4751, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53116, 69957, 0.3563, 1, 0, 1, 1), -- 3Plans: Fists of Fury
    (53116, 69962, 0.3563, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53116, 68972, 0.3563, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53116, 66973, 0.3563, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53116, 52382, 0.3563, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (53116, 55493, 0.3563, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53116, 55502, 0.3563, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53116, 55565, 0.3563, 1, 0, 1, 1), -- 5Highperch Bracers
    (53116, 55628, 0.3563, 1, 0, 1, 1), -- 5Highperch Belt
    (53116, 55682, 0.3563, 1, 0, 1, 1), -- 5Dandred Britches
    (53116, 55727, 0.3563, 1, 0, 1, 1), -- 5Everstill Sandals
    (53116, 55745, 0.3563, 1, 0, 1, 1), -- 5Everstill Cowl
    (53116, 55530, 0.3563, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53116, 55755, 0.3563, 1, 0, 1, 1), -- 5Mystral Leggings
    (53116, 55540, 0.3563, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53116, 55621, 0.3563, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53116, 62073, 0.3563, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53116, 62099, 0.3563, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53116, 62127, 0.3563, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53116, 62129, 0.3563, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53116, 62131, 0.3563, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53116, 69960, 0.2375, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53116, 69961, 0.2375, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53116, 69963, 0.2375, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53116, 69969, 0.2375, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53116, 69971, 0.2375, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53116, 69972, 0.2375, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53116, 69974, 0.2375, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53116, 69976, 0.2375, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53116, 68915, 0.2375, 1, 0, 1, 1), -- 3Scales of Life
    (53116, 71367, 0.2375, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53116, 55439, 0.2375, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53116, 55637, 0.2375, 1, 0, 1, 1), -- 5Dandred Bindings
    (53116, 55646, 0.2375, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53116, 55772, 0.2375, 1, 0, 1, 1), -- 5Everstill Cord
    (53116, 55350, 0.2375, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53116, 55395, 0.2375, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53116, 55404, 0.2375, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53116, 55485, 0.2375, 1, 0, 1, 1), -- 5Thondroril Wand
    (53116, 55512, 0.2375, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53116, 55611, 0.2375, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53116, 55629, 0.2375, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53116, 55692, 0.2375, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53116, 55737, 0.2375, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53116, 55746, 0.2375, 1, 0, 1, 1), -- 5Mystral Cowl
    (53116, 55423, 0.2375, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53116, 55441, 0.2375, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53116, 55603, 0.2375, 1, 0, 1, 1), -- 5Talondeep Helm
    (53116, 55630, 0.2375, 1, 0, 1, 1), -- 5Talondeep Belt
    (53116, 55657, 0.2375, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53116, 55720, 0.2375, 1, 0, 1, 1), -- 5Bluefen Robe
    (53116, 55747, 0.2375, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53116, 62076, 0.2375, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53116, 62077, 0.2375, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53116, 62101, 0.2375, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53116, 62105, 0.2375, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53116, 62115, 0.2375, 1, 0, 1, 1), -- 7Singed Boots
    (53116, 62120, 0.2375, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53116, 62123, 0.2375, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53116, 62124, 0.2375, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53116, 62128, 0.2375, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53116, 69958, 0.1188, 1, 0, 1, 1), -- 3Plans: Eternal Elementium Handguards
    (53116, 69965, 0.1188, 1, 0, 1, 1), -- 3Pattern: Grips of Altered Reality
    (53116, 69966, 0.1188, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53116, 69970, 0.1188, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53116, 70929, 0.1188, 1, 0, 1, 1), -- 3Firebound Gorget
    (53116, 71361, 0.1188, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53116, 71365, 0.1188, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53116, 67121, 0.1188, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53116, 55286, 0.1188, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53116, 55295, 0.1188, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53116, 55322, 0.1188, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53116, 55349, 0.1188, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53116, 55367, 0.1188, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53116, 55376, 0.1188, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53116, 55394, 0.1188, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53116, 55412, 0.1188, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53116, 55430, 0.1188, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53116, 55547, 0.1188, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53116, 55691, 0.1188, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53116, 55763, 0.1188, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53116, 55287, 0.1188, 1, 0, 1, 1), -- 5Bladefist Axe
    (53116, 55314, 0.1188, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53116, 55377, 0.1188, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53116, 55494, 0.1188, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53116, 55503, 0.1188, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53116, 55539, 0.1188, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53116, 55602, 0.1188, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53116, 55674, 0.1188, 1, 0, 1, 1), -- 5Haldarr Hood
    (53116, 55701, 0.1188, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53116, 55773, 0.1188, 1, 0, 1, 1), -- 5Mystral Cord
    (53116, 55351, 0.1188, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53116, 55360, 0.1188, 1, 0, 1, 1), -- 5Irontree Gun
    (53116, 55450, 0.1188, 1, 0, 1, 1), -- 5Irontree Staff
    (53116, 55513, 0.1188, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53116, 55522, 0.1188, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53116, 55549, 0.1188, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53116, 55576, 0.1188, 1, 0, 1, 1), -- 5Talondeep Vest
    (53116, 55585, 0.1188, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53116, 55648, 0.1188, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53116, 55711, 0.1188, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53116, 55756, 0.1188, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53116, 55774, 0.1188, 1, 0, 1, 1), -- 5Bluefen Cord
    (53116, 62085, 0.1188, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53116, 62107, 0.1188, 1, 0, 1, 1), -- 7Singed Belt
    (53116, 62110, 0.1188, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53116, 62111, 0.1188, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53116, 62113, 0.1188, 1, 0, 1, 1), -- 7Singed Gloves
    (53116, 62114, 0.1188, 1, 0, 1, 1), -- 7Singed Bracers
    (53116, 62132, 0.1188, 1, 0, 1, 1); -- 7Sooty Mail Armor
    
    --  http://www.wowhead.com/npc=53119
    DELETE FROM `creature_loot_template` WHERE `entry` = 53119;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53119, 68729, 4.0084, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53119, 68972, 2.8749, 1, 0, 1, 1); -- 3Apparatus of Khaz'goroth
    
    --  http://www.wowhead.com/npc=53120
    DELETE FROM `creature_loot_template` WHERE `entry` = 53120;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53120, 68729, 3.9528, 1, 0, 1, 1); -- 5Elementium Lockbox
    
    --  http://www.wowhead.com/npc=53121
    DELETE FROM `creature_loot_template` WHERE `entry` = 53121;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53121, 68729, 4.0911, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53121, 71359, 2.4498, 1, 0, 1, 1); -- 3Chelley's Sterilized Scalpel
    
    --  http://www.wowhead.com/npc=53127
    DELETE FROM `creature_loot_template` WHERE `entry` = 53127;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53127, 68729, 3.8834, 1, 0, 1, 1); -- 5Elementium Lockbox
    
    --  http://www.wowhead.com/npc=53128
    DELETE FROM `creature_loot_template` WHERE `entry` = 53128;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53128, 68729, 4.1841, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53128, 68972, 2.3818, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53128, 71367, 2.3621, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53128, 71359, 2.2639, 1, 0, 1, 1); -- 3Chelley's Sterilized Scalpel
    
    
    --  http://www.wowhead.com/npc=53130
    DELETE FROM `creature_loot_template` WHERE `entry` = 53130;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53130, 68729, 10.1695, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53130, 55729, 8.4746, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53130, 62089, 6.7797, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53130, 62120, 6.7797, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53130, 71359, 5.0847, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53130, 55512, 5.0847, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53130, 62067, 5.0847, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53130, 67145, 3.3898, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (53130, 62077, 3.3898, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53130, 62092, 3.3898, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53130, 62070, 3.3898, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53130, 68972, 1.6949, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53130, 70929, 1.6949, 1, 0, 1, 1), -- 3Firebound Gorget
    (53130, 71360, 1.6949, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53130, 55322, 1.6949, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53130, 55412, 1.6949, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53130, 55413, 1.6949, 1, 0, 1, 1), -- 5Bladefist Spear
    (53130, 55405, 1.6949, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53130, 55603, 1.6949, 1, 0, 1, 1), -- 5Talondeep Helm
    (53130, 62079, 1.6949, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53130, 62083, 1.6949, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53130, 62086, 1.6949, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53130, 62088, 1.6949, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53130, 62096, 1.6949, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53130, 62100, 1.6949, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53130, 62063, 1.6949, 1, 0, 1, 1), -- 7Shattered War Mace
    (53130, 62069, 1.6949, 1, 0, 1, 1), -- 7Plugged Rifle
    (53130, 62071, 1.6949, 1, 0, 1, 1), -- 7Corroded Blade
    (53130, 62105, 1.6949, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53130, 62112, 1.6949, 1, 0, 1, 1), -- 7Singed Pants
    (53130, 62113, 1.6949, 1, 0, 1, 1), -- 7Singed Gloves
    (53130, 62114, 1.6949, 1, 0, 1, 1), -- 7Singed Bracers
    (53130, 62115, 1.6949, 1, 0, 1, 1), -- 7Singed Boots
    (53130, 62117, 1.6949, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53130, 62119, 1.6949, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53130, 62122, 1.6949, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53130, 62132, 1.6949, 1, 0, 1, 1); -- 7Sooty Mail Armor
    
    --  http://www.wowhead.com/npc=53134
    DELETE FROM `creature_loot_template` WHERE `entry` = 53134;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53134, 71361, 3.7184, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53134, 68972, 3.4245, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53134, 71360, 3.3363, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53134, 71367, 3.2775, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53134, 68729, 3.2775, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53134, 71365, 3.2481, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53134, 70929, 2.9394, 1, 0, 1, 1), -- 3Firebound Gorget
    (53134, 71640, 2.8660, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53134, 71362, 2.8072, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53134, 71359, 2.6896, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53134, 68915, 2.6308, 1, 0, 1, 1), -- 3Scales of Life
    (53134, 71366, 2.3516, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53134, 69963, 0.9553, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53134, 62083, 0.4997, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53134, 55656, 0.2058, 1, 0, 1, 1), -- 5Haldarr Boots
    (53134, 55593, 0.1911, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53134, 55468, 0.1176, 1, 0, 1, 1); -- 5Irontree Greatsword
    
    
    --  http://www.wowhead.com/npc=53141
    DELETE FROM `creature_loot_template` WHERE `entry` = 53141;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53141, 68729, 4.0013, 1, 0, 1, 1); -- 5Elementium Lockbox
    
    --  http://www.wowhead.com/npc=53167
    DELETE FROM `creature_loot_template` WHERE `entry` = 53167;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53167, 68729, 4.5126, 1, 0, 1, 1); -- 5Elementium Lockbox
    
    
    --  http://www.wowhead.com/npc=53185
    DELETE FROM `creature_loot_template` WHERE `entry` = 53185;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53185, 71359, 3.6629, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53185, 71360, 3.2479, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53185, 70929, 3.1216, 1, 0, 1, 1); -- 3Firebound Gorget
    
    
    --  http://www.wowhead.com/npc=53187
    DELETE FROM `creature_loot_template` WHERE `entry` = 53187;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53187, 62066, 5.1522, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53187, 71361, 3.2787, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53187, 71367, 3.2787, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53187, 68729, 3.2787, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53187, 71360, 2.8103, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53187, 69971, 2.5761, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53187, 69972, 2.3419, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53187, 69969, 2.1077, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53187, 71362, 2.1077, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53187, 69957, 1.8735, 1, 0, 1, 1), -- 3Plans: Fists of Fury
    (53187, 69970, 1.8735, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53187, 69974, 1.8735, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53187, 70929, 1.8735, 1, 0, 1, 1), -- 3Firebound Gorget
    (53187, 62067, 1.8735, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53187, 69962, 1.6393, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53187, 69976, 1.6393, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53187, 71359, 1.6393, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53187, 71366, 1.6393, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53187, 62091, 1.6393, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53187, 69959, 1.4052, 1, 0, 1, 1), -- 3Plans: Holy Flame Gauntlets
    (53187, 68972, 1.4052, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53187, 55538, 1.4052, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53187, 62072, 1.4052, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53187, 69961, 1.1710, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53187, 69963, 1.1710, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53187, 69973, 1.1710, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53187, 71365, 1.1710, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53187, 55349, 1.1710, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53187, 62068, 1.1710, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53187, 55754, 0.9368, 1, 0, 1, 1), -- 5Everstill Leggings
    (53187, 55611, 0.9368, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53187, 55764, 0.9368, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53187, 62082, 0.9368, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53187, 55367, 0.7026, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53187, 55763, 0.7026, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53187, 69968, 0.4684, 1, 0, 1, 1), -- 3Plans: Warboots of Mighty Lords
    (53187, 55495, 0.4684, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53187, 55702, 0.4684, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53187, 62094, 0.4684, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53187, 55377, 0.2342, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53187, 55593, 0.2342, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53187, 55683, 0.2342, 1, 0, 1, 1), -- 5Haldarr Britches
    (53187, 55746, 0.2342, 1, 0, 1, 1), -- 5Mystral Cowl
    (53187, 62125, 0.2342, 1, 0, 1, 1); -- 7Sooty Mail Boots
    
    --  http://www.wowhead.com/npc=53188
    DELETE FROM `creature_loot_template` WHERE `entry` = 53188;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53188, 68729, 4.1951, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53188, 71366, 3.2512, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53188, 71361, 3.0152, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53188, 71640, 2.6744, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53188, 70929, 2.5957, 1, 0, 1, 1), -- 3Firebound Gorget
    (53188, 71362, 2.4646, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53188, 71360, 2.4384, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53188, 71359, 2.3859, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53188, 68972, 2.2286, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53188, 68915, 2.0975, 1, 0, 1, 1), -- 3Scales of Life
    (53188, 71365, 2.0189, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53188, 71367, 1.9664, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53188, 62065, 1.4945, 1, 0, 1, 1), -- 7Melted Cleaver
    (53188, 69968, 1.2061, 1, 0, 1, 1), -- 3Plans: Warboots of Mighty Lords
    (53188, 62070, 1.1536, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53188, 62063, 1.0488, 1, 0, 1, 1), -- 7Shattered War Mace
    (53188, 62067, 0.9963, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53188, 62069, 0.9701, 1, 0, 1, 1), -- 7Plugged Rifle
    (53188, 55772, 0.9177, 1, 0, 1, 1), -- 5Everstill Cord
    (53188, 55423, 0.9177, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53188, 62101, 0.8652, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53188, 62068, 0.8390, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53188, 62102, 0.8128, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53188, 55405, 0.7866, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53188, 62073, 0.7866, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53188, 62064, 0.7866, 1, 0, 1, 1), -- 7Warped Greatsword
    (53188, 62066, 0.7866, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53188, 62071, 0.7341, 1, 0, 1, 1), -- 7Corroded Blade
    (53188, 55684, 0.7079, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53188, 55422, 0.6555, 1, 0, 1, 1), -- 5Thondroril Ring
    (53188, 55755, 0.6555, 1, 0, 1, 1), -- 5Mystral Leggings
    (53188, 55421, 0.6293, 1, 0, 1, 1), -- 5Mereldar Ring
    (53188, 55746, 0.6293, 1, 0, 1, 1), -- 5Mystral Cowl
    (53188, 55763, 0.6030, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53188, 55764, 0.6030, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53188, 62074, 0.6030, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53188, 62079, 0.5768, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53188, 62134, 0.5768, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53188, 69958, 0.5506, 1, 0, 1, 1), -- 3Plans: Eternal Elementium Handguards
    (53188, 55439, 0.5506, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53188, 55486, 0.5506, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53188, 62113, 0.5506, 1, 0, 1, 1), -- 7Singed Gloves
    (53188, 55403, 0.5244, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53188, 55754, 0.5244, 1, 0, 1, 1), -- 5Everstill Leggings
    (53188, 55548, 0.5244, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53188, 62082, 0.5244, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53188, 62089, 0.5244, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53188, 62072, 0.5244, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53188, 69960, 0.4982, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53188, 55440, 0.4982, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53188, 55719, 0.4982, 1, 0, 1, 1), -- 5Mystral Robe
    (53188, 55720, 0.4982, 1, 0, 1, 1), -- 5Bluefen Robe
    (53188, 62076, 0.4982, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53188, 62097, 0.4982, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53188, 62125, 0.4982, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53188, 55404, 0.4719, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53188, 55512, 0.4719, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53188, 69965, 0.4457, 1, 0, 1, 1), -- 3Pattern: Grips of Altered Reality
    (53188, 55736, 0.4457, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53188, 55745, 0.4457, 1, 0, 1, 1), -- 5Everstill Cowl
    (53188, 55611, 0.4457, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53188, 55737, 0.4457, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53188, 55765, 0.4457, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53188, 62078, 0.4457, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53188, 62099, 0.4457, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53188, 55539, 0.4195, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53188, 55665, 0.4195, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53188, 55441, 0.4195, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53188, 55657, 0.4195, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53188, 62084, 0.4195, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53188, 62098, 0.4195, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53188, 62103, 0.4195, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53188, 62117, 0.4195, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53188, 62133, 0.4195, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53188, 69959, 0.3933, 1, 0, 1, 1), -- 3Plans: Holy Flame Gauntlets
    (53188, 69962, 0.3933, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53188, 69974, 0.3933, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53188, 69976, 0.3933, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53188, 55556, 0.3933, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53188, 55368, 0.3933, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53188, 55566, 0.3933, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53188, 55575, 0.3933, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53188, 55647, 0.3933, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53188, 55701, 0.3933, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53188, 55710, 0.3933, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53188, 62086, 0.3933, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53188, 62091, 0.3933, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53188, 62094, 0.3933, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53188, 62105, 0.3933, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53188, 55574, 0.3671, 1, 0, 1, 1), -- 5Highperch Vest
    (53188, 55504, 0.3671, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53188, 55540, 0.3671, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53188, 62081, 0.3671, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53188, 62085, 0.3671, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53188, 62092, 0.3671, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53188, 62124, 0.3671, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53188, 62132, 0.3671, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53188, 55304, 0.3408, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53188, 55529, 0.3408, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53188, 55565, 0.3408, 1, 0, 1, 1), -- 5Highperch Bracers
    (53188, 55530, 0.3408, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53188, 55620, 0.3408, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53188, 55531, 0.3408, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53188, 55711, 0.3408, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53188, 55747, 0.3408, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53188, 62109, 0.3408, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53188, 62136, 0.3408, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53188, 69970, 0.3146, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53188, 55349, 0.3146, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53188, 55376, 0.3146, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53188, 55502, 0.3146, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53188, 55520, 0.3146, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53188, 55547, 0.3146, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53188, 55628, 0.3146, 1, 0, 1, 1), -- 5Highperch Belt
    (53188, 55664, 0.3146, 1, 0, 1, 1), -- 5Dandred Gloves
    (53188, 55709, 0.3146, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53188, 55718, 0.3146, 1, 0, 1, 1), -- 5Everstill Robe
    (53188, 55494, 0.3146, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53188, 55513, 0.3146, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53188, 55576, 0.3146, 1, 0, 1, 1), -- 5Talondeep Vest
    (53188, 55585, 0.3146, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53188, 62075, 0.3146, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53188, 62080, 0.3146, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53188, 62093, 0.3146, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53188, 62100, 0.3146, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53188, 62104, 0.3146, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53188, 62128, 0.3146, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53188, 69969, 0.2884, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53188, 55394, 0.2884, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53188, 55511, 0.2884, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53188, 55646, 0.2884, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53188, 55682, 0.2884, 1, 0, 1, 1), -- 5Dandred Britches
    (53188, 55674, 0.2884, 1, 0, 1, 1), -- 5Haldarr Hood
    (53188, 55728, 0.2884, 1, 0, 1, 1), -- 5Mystral Sandals
    (53188, 55594, 0.2884, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53188, 55648, 0.2884, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53188, 55738, 0.2884, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53188, 62077, 0.2884, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53188, 62127, 0.2884, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53188, 62130, 0.2884, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53188, 69972, 0.2622, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53188, 69975, 0.2622, 1, 0, 1, 1), -- 3Pattern: Endless Dream Walkers
    (53188, 55484, 0.2622, 1, 0, 1, 1), -- 5Mereldar Wand
    (53188, 55727, 0.2622, 1, 0, 1, 1), -- 5Everstill Sandals
    (53188, 55485, 0.2622, 1, 0, 1, 1), -- 5Thondroril Wand
    (53188, 55584, 0.2622, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53188, 55369, 0.2622, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53188, 55549, 0.2622, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53188, 55630, 0.2622, 1, 0, 1, 1), -- 5Talondeep Belt
    (53188, 55675, 0.2622, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53188, 55693, 0.2622, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53188, 55756, 0.2622, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53188, 62087, 0.2622, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53188, 62096, 0.2622, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53188, 62119, 0.2622, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53188, 62120, 0.2622, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53188, 62121, 0.2622, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53188, 62122, 0.2622, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53188, 62123, 0.2622, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53188, 62135, 0.2622, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53188, 69966, 0.2360, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53188, 68782, 0.2360, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53188, 55331, 0.2360, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53188, 55592, 0.2360, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53188, 55601, 0.2360, 1, 0, 1, 1), -- 5Highperch Helm
    (53188, 55673, 0.2360, 1, 0, 1, 1), -- 5Dandred Hood
    (53188, 55332, 0.2360, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53188, 55377, 0.2360, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53188, 55629, 0.2360, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53188, 55656, 0.2360, 1, 0, 1, 1), -- 5Haldarr Boots
    (53188, 55683, 0.2360, 1, 0, 1, 1), -- 5Haldarr Britches
    (53188, 55773, 0.2360, 1, 0, 1, 1), -- 5Mystral Cord
    (53188, 55378, 0.2360, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53188, 55387, 0.2360, 1, 0, 1, 1), -- 5Irontree Mace
    (53188, 55495, 0.2360, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53188, 55558, 0.2360, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53188, 55666, 0.2360, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53188, 62083, 0.2360, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53188, 62090, 0.2360, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53188, 62107, 0.2360, 1, 0, 1, 1), -- 7Singed Belt
    (53188, 62108, 0.2360, 1, 0, 1, 1), -- 7Singed Armor
    (53188, 62111, 0.2360, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53188, 62115, 0.2360, 1, 0, 1, 1), -- 7Singed Boots
    (53188, 62126, 0.2360, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53188, 62131, 0.2360, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53188, 69963, 0.2098, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53188, 69973, 0.2098, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53188, 55448, 0.2098, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53188, 55538, 0.2098, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53188, 55583, 0.2098, 1, 0, 1, 1), -- 5Highperch Greaves
    (53188, 55610, 0.2098, 1, 0, 1, 1), -- 5Highperch Legguards
    (53188, 55619, 0.2098, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53188, 55503, 0.2098, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53188, 55521, 0.2098, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53188, 55593, 0.2098, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53188, 55639, 0.2098, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53188, 62088, 0.2098, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53188, 62106, 0.2098, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53188, 62114, 0.2098, 1, 0, 1, 1), -- 7Singed Bracers
    (53188, 62116, 0.2098, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53188, 69961, 0.1835, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53188, 55313, 0.1835, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53188, 55385, 0.1835, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53188, 55493, 0.1835, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53188, 55431, 0.1835, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53188, 55602, 0.1835, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53188, 55638, 0.1835, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53188, 55288, 0.1835, 1, 0, 1, 1), -- 5Irontree Axe
    (53188, 55603, 0.1835, 1, 0, 1, 1), -- 5Talondeep Helm
    (53188, 62095, 0.1835, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53188, 62112, 0.1835, 1, 0, 1, 1), -- 7Singed Pants
    (53188, 66942, 0.1573, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53188, 55457, 0.1573, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53188, 55637, 0.1573, 1, 0, 1, 1), -- 5Dandred Bindings
    (53188, 55655, 0.1573, 1, 0, 1, 1), -- 5Dandred Boots
    (53188, 55314, 0.1573, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53188, 55395, 0.1573, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53188, 55413, 0.1573, 1, 0, 1, 1), -- 5Bladefist Spear
    (53188, 55467, 0.1573, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53188, 55557, 0.1573, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53188, 55522, 0.1573, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53188, 55729, 0.1573, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53188, 67539, 0.1573, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53188, 62110, 0.1573, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53188, 62118, 0.1573, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53188, 69957, 0.1311, 1, 0, 1, 1), -- 3Plans: Fists of Fury
    (53188, 69971, 0.1311, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53188, 67149, 0.1311, 1, 0, 1, 1), -- 3Heartbound Tome
    (53188, 67126, 0.1311, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53188, 52378, 0.1311, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (53188, 55286, 0.1311, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53188, 55367, 0.1311, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53188, 55691, 0.1311, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53188, 55700, 0.1311, 1, 0, 1, 1), -- 5Dandred Waistband
    (53188, 55296, 0.1311, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53188, 55386, 0.1311, 1, 0, 1, 1), -- 5Bladefist Mace
    (53188, 55414, 0.1311, 1, 0, 1, 1), -- 5Irontree Spear
    (53188, 55459, 0.1311, 1, 0, 1, 1), -- 5Irontree Sword
    (53188, 55567, 0.1311, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53188, 55621, 0.1311, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53188, 55774, 0.1311, 1, 0, 1, 1), -- 5Bluefen Cord
    (53188, 68783, 0.1049, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53188, 66931, 0.1049, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53188, 66968, 0.1049, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53188, 66991, 0.1049, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53188, 66941, 0.1049, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53188, 66974, 0.1049, 1, 0, 1, 1), -- 4Nightrend Choker
    (53188, 67124, 0.1049, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53188, 55340, 0.1049, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53188, 55287, 0.1049, 1, 0, 1, 1), -- 5Bladefist Axe
    (53188, 55341, 0.1049, 1, 0, 1, 1), -- 5Bladefist Staff
    (53188, 55350, 0.1049, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53188, 55359, 0.1049, 1, 0, 1, 1), -- 5Bladefist Gun
    (53188, 55692, 0.1049, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53188, 55351, 0.1049, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53188, 55450, 0.1049, 1, 0, 1, 1), -- 5Irontree Staff
    (53188, 55612, 0.1049, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53188, 55702, 0.1049, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53188, 62129, 0.1049, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53188, 67132, 0.0787, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (53188, 67135, 0.0787, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (53188, 67137, 0.0787, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (53188, 66969, 0.0787, 1, 0, 1, 1), -- 4Heart of the Vile
    (53188, 67061, 0.0787, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (53188, 67069, 0.0787, 1, 0, 1, 1), -- 4Shade of Death
    (53188, 67125, 0.0787, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53188, 55322, 0.0787, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53188, 55430, 0.0787, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53188, 55466, 0.0787, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53188, 55297, 0.0787, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53188, 55333, 0.0787, 1, 0, 1, 1), -- 5Irontree Dagger
    (53188, 55432, 0.0787, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53188, 67142, 0.0524, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (53188, 68787, 0.0524, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (53188, 68788, 0.0524, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (53188, 66940, 0.0524, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (53188, 66989, 0.0524, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53188, 66972, 0.0524, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53188, 66973, 0.0524, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53188, 66976, 0.0524, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53188, 67127, 0.0524, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53188, 52379, 0.0524, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53188, 52383, 0.0524, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (53188, 55358, 0.0524, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53188, 55449, 0.0524, 1, 0, 1, 1), -- 5Bladefist Staff
    (53188, 55315, 0.0524, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53188, 55342, 0.0524, 1, 0, 1, 1), -- 5Irontree Staff
    (53188, 55360, 0.0524, 1, 0, 1, 1), -- 5Irontree Gun
    (53188, 55396, 0.0524, 1, 0, 1, 1), -- 5Irontree Hammer
    (53188, 55468, 0.0524, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53188, 67133, 0.0262, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (53188, 67136, 0.0262, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (53188, 67138, 0.0262, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (53188, 67140, 0.0262, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (53188, 67141, 0.0262, 1, 0, 1, 1), -- 3Corefire Legplates
    (53188, 67143, 0.0262, 1, 0, 1, 1), -- 3Icebone Hauberk
    (53188, 67145, 0.0262, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (53188, 68781, 0.0262, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53188, 68789, 0.0262, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53188, 66932, 0.0262, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53188, 66971, 0.0262, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53188, 66990, 0.0262, 1, 0, 1, 1), -- 4Downfall Hammer
    (53188, 67119, 0.0262, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (53188, 67120, 0.0262, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53188, 67121, 0.0262, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53188, 67122, 0.0262, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53188, 66975, 0.0262, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53188, 67071, 0.0262, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53188, 52363, 0.0262, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53188, 52364, 0.0262, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53188, 52369, 0.0262, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53188, 52374, 0.0262, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (53188, 52377, 0.0262, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (53188, 55295, 0.0262, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53188, 55412, 0.0262, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53188, 55458, 0.0262, 1, 0, 1, 1), -- 5Bladefist Sword
    (53188, 55306, 0.0262, 1, 0, 1, 1), -- 5Irontree Bow
    (53188, 55324, 0.0262, 1, 0, 1, 1); -- 5Irontree Crossbow
    
    
    --  http://www.wowhead.com/npc=53206
    DELETE FROM `creature_loot_template` WHERE `entry` = 53206;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53206, 68729, 3.8402, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53206, 68972, 2.5950, 1, 0, 1, 1); -- 3Apparatus of Khaz'goroth
    
    --  http://www.wowhead.com/npc=53222
    DELETE FROM `creature_loot_template` WHERE `entry` = 53222;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53222, 68729, 5.2515, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53222, 71640, 3.0325, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53222, 68972, 2.7367, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53222, 71359, 2.6627, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53222, 71362, 2.5888, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53222, 71367, 2.5148, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53222, 68915, 2.2929, 1, 0, 1, 1), -- 3Scales of Life
    (53222, 71360, 2.2929, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53222, 71365, 2.1450, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53222, 70929, 1.7751, 1, 0, 1, 1), -- 3Firebound Gorget
    (53222, 71361, 1.7751, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53222, 71366, 1.7012, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53222, 55422, 1.2574, 1, 0, 1, 1), -- 5Thondroril Ring
    (53222, 62072, 1.0355, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53222, 62096, 0.9615, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53222, 55655, 0.8136, 1, 0, 1, 1), -- 5Dandred Boots
    (53222, 55404, 0.8136, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53222, 55441, 0.8136, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53222, 62063, 0.8136, 1, 0, 1, 1), -- 7Shattered War Mace
    (53222, 55575, 0.7396, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53222, 55405, 0.6657, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53222, 55709, 0.5917, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53222, 55494, 0.5917, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53222, 55674, 0.5917, 1, 0, 1, 1), -- 5Haldarr Hood
    (53222, 55630, 0.5917, 1, 0, 1, 1), -- 5Talondeep Belt
    (53222, 62084, 0.5917, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53222, 69960, 0.5178, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53222, 69969, 0.5178, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53222, 55547, 0.5178, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53222, 55736, 0.5178, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53222, 55602, 0.5178, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53222, 62087, 0.5178, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53222, 62113, 0.5178, 1, 0, 1, 1), -- 7Singed Gloves
    (53222, 55646, 0.4438, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53222, 55727, 0.4438, 1, 0, 1, 1), -- 5Everstill Sandals
    (53222, 55432, 0.4438, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53222, 55675, 0.4438, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53222, 55403, 0.3698, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53222, 55629, 0.3698, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53222, 62110, 0.3698, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53222, 62131, 0.3698, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53222, 55430, 0.2959, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53222, 55439, 0.2959, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53222, 55754, 0.2959, 1, 0, 1, 1), -- 5Everstill Leggings
    (53222, 55377, 0.2959, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53222, 55593, 0.2959, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53222, 55549, 0.2959, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53222, 67144, 0.2219, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (53222, 55639, 0.2219, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53222, 55666, 0.2219, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53222, 55738, 0.2219, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53222, 62080, 0.2219, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53222, 67057, 0.1479, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53222, 55349, 0.1479, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53222, 55503, 0.1479, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53222, 55656, 0.1479, 1, 0, 1, 1), -- 5Haldarr Boots
    (53222, 62085, 0.1479, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53222, 62106, 0.1479, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53222, 67121, 0.0740, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53222, 52363, 0.0740, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53222, 55673, 0.0740, 1, 0, 1, 1), -- 5Dandred Hood
    (53222, 55305, 0.0740, 1, 0, 1, 1); -- 5Bladefist Bow
    
    --  http://www.wowhead.com/npc=53223
    DELETE FROM `creature_loot_template` WHERE `entry` = 53223;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53223, 68729, 6.3191, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53223, 70929, 5.2133, 1, 0, 1, 1), -- 3Firebound Gorget
    (53223, 71367, 3.0016, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53223, 71366, 2.6066, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53223, 71361, 2.5276, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53223, 71360, 2.2907, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53223, 68915, 2.0537, 1, 0, 1, 1), -- 3Scales of Life
    (53223, 71365, 2.0537, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53223, 55440, 1.7378, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53223, 71362, 1.6588, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53223, 55709, 0.9479, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53223, 55530, 0.8689, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53223, 55439, 0.7899, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53223, 69970, 0.6319, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53223, 55422, 0.6319, 1, 0, 1, 1), -- 5Thondroril Ring
    (53223, 55576, 0.6319, 1, 0, 1, 1), -- 5Talondeep Vest
    (53223, 62102, 0.6319, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53223, 69960, 0.5529, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53223, 55538, 0.5529, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53223, 55655, 0.4739, 1, 0, 1, 1), -- 5Dandred Boots
    (53223, 67539, 0.3160, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53223, 62084, 0.3160, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53223, 62129, 0.3160, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53223, 55646, 0.2370, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53223, 55494, 0.2370, 1, 0, 1, 1); -- 5Stonewrought Vambraces
    
    --  http://www.wowhead.com/npc=53224
    DELETE FROM `creature_loot_template` WHERE `entry` = 53224;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53224, 68729, 7.5556, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53224, 71360, 4.8889, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53224, 71365, 4.8889, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53224, 68915, 4.0000, 1, 0, 1, 1), -- 3Scales of Life
    (53224, 70929, 3.1111, 1, 0, 1, 1), -- 3Firebound Gorget
    (53224, 71366, 3.1111, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53224, 55612, 3.1111, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53224, 62066, 2.6667, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53224, 68972, 2.2222, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53224, 71362, 2.2222, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53224, 62077, 2.2222, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53224, 71367, 1.7778, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53224, 55774, 1.7778, 1, 0, 1, 1), -- 5Bluefen Cord
    (53224, 62093, 1.7778, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53224, 62068, 1.7778, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53224, 62069, 1.7778, 1, 0, 1, 1), -- 7Plugged Rifle
    (53224, 69961, 1.3333, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53224, 71361, 1.3333, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53224, 55619, 1.3333, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53224, 55754, 1.3333, 1, 0, 1, 1), -- 5Everstill Leggings
    (53224, 55368, 1.3333, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53224, 55485, 1.3333, 1, 0, 1, 1), -- 5Thondroril Wand
    (53224, 55396, 1.3333, 1, 0, 1, 1), -- 5Irontree Hammer
    (53224, 55423, 1.3333, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53224, 62079, 1.3333, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53224, 62064, 1.3333, 1, 0, 1, 1), -- 7Warped Greatsword
    (53224, 62128, 1.3333, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53224, 62129, 1.3333, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53224, 69973, 0.8889, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53224, 69974, 0.8889, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53224, 69975, 0.8889, 1, 0, 1, 1), -- 3Pattern: Endless Dream Walkers
    (53224, 69976, 0.8889, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53224, 71640, 0.8889, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53224, 66971, 0.8889, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53224, 67067, 0.8889, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53224, 55349, 0.8889, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53224, 55439, 0.8889, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53224, 55448, 0.8889, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53224, 55484, 0.8889, 1, 0, 1, 1), -- 5Mereldar Wand
    (53224, 55493, 0.8889, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53224, 55538, 0.8889, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53224, 55547, 0.8889, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53224, 55664, 0.8889, 1, 0, 1, 1), -- 5Dandred Gloves
    (53224, 55673, 0.8889, 1, 0, 1, 1), -- 5Dandred Hood
    (53224, 55422, 0.8889, 1, 0, 1, 1), -- 5Thondroril Ring
    (53224, 55674, 0.8889, 1, 0, 1, 1), -- 5Haldarr Hood
    (53224, 55746, 0.8889, 1, 0, 1, 1), -- 5Mystral Cowl
    (53224, 55441, 0.8889, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53224, 55540, 0.8889, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53224, 55576, 0.8889, 1, 0, 1, 1), -- 5Talondeep Vest
    (53224, 55594, 0.8889, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53224, 62074, 0.8889, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53224, 62078, 0.8889, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53224, 62088, 0.8889, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53224, 62092, 0.8889, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53224, 62095, 0.8889, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53224, 62096, 0.8889, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53224, 62098, 0.8889, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53224, 62099, 0.8889, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53224, 62100, 0.8889, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53224, 62101, 0.8889, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53224, 62103, 0.8889, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53224, 62071, 0.8889, 1, 0, 1, 1), -- 7Corroded Blade
    (53224, 62110, 0.8889, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53224, 69960, 0.4444, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53224, 69963, 0.4444, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53224, 69966, 0.4444, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53224, 69969, 0.4444, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53224, 69970, 0.4444, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53224, 69971, 0.4444, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53224, 71359, 0.4444, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53224, 68789, 0.4444, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53224, 66931, 0.4444, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53224, 66941, 0.4444, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53224, 55286, 0.4444, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53224, 55376, 0.4444, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53224, 55394, 0.4444, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53224, 55421, 0.4444, 1, 0, 1, 1), -- 5Mereldar Ring
    (53224, 55520, 0.4444, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53224, 55529, 0.4444, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53224, 55610, 0.4444, 1, 0, 1, 1), -- 5Highperch Legguards
    (53224, 55637, 0.4444, 1, 0, 1, 1), -- 5Dandred Bindings
    (53224, 55709, 0.4444, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53224, 55718, 0.4444, 1, 0, 1, 1), -- 5Everstill Robe
    (53224, 55727, 0.4444, 1, 0, 1, 1), -- 5Everstill Sandals
    (53224, 55736, 0.4444, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53224, 55745, 0.4444, 1, 0, 1, 1), -- 5Everstill Cowl
    (53224, 55296, 0.4444, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53224, 55305, 0.4444, 1, 0, 1, 1), -- 5Bladefist Bow
    (53224, 55314, 0.4444, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53224, 55350, 0.4444, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53224, 55386, 0.4444, 1, 0, 1, 1), -- 5Bladefist Mace
    (53224, 55395, 0.4444, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53224, 55449, 0.4444, 1, 0, 1, 1), -- 5Bladefist Staff
    (53224, 55467, 0.4444, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53224, 55494, 0.4444, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53224, 55503, 0.4444, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53224, 55530, 0.4444, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53224, 55548, 0.4444, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53224, 55593, 0.4444, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53224, 55683, 0.4444, 1, 0, 1, 1), -- 5Haldarr Britches
    (53224, 55692, 0.4444, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53224, 55710, 0.4444, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53224, 55755, 0.4444, 1, 0, 1, 1), -- 5Mystral Leggings
    (53224, 55773, 0.4444, 1, 0, 1, 1), -- 5Mystral Cord
    (53224, 55378, 0.4444, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53224, 55387, 0.4444, 1, 0, 1, 1), -- 5Irontree Mace
    (53224, 55459, 0.4444, 1, 0, 1, 1), -- 5Irontree Sword
    (53224, 55504, 0.4444, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53224, 55522, 0.4444, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53224, 55549, 0.4444, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53224, 55585, 0.4444, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53224, 55621, 0.4444, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53224, 55648, 0.4444, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53224, 55702, 0.4444, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53224, 55720, 0.4444, 1, 0, 1, 1), -- 5Bluefen Robe
    (53224, 55747, 0.4444, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53224, 62080, 0.4444, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53224, 62085, 0.4444, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53224, 62086, 0.4444, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53224, 62087, 0.4444, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53224, 62089, 0.4444, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53224, 62091, 0.4444, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53224, 62094, 0.4444, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53224, 62104, 0.4444, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53224, 62063, 0.4444, 1, 0, 1, 1), -- 7Shattered War Mace
    (53224, 62065, 0.4444, 1, 0, 1, 1), -- 7Melted Cleaver
    (53224, 62070, 0.4444, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53224, 62105, 0.4444, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53224, 62107, 0.4444, 1, 0, 1, 1), -- 7Singed Belt
    (53224, 62108, 0.4444, 1, 0, 1, 1), -- 7Singed Armor
    (53224, 62109, 0.4444, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53224, 62112, 0.4444, 1, 0, 1, 1), -- 7Singed Pants
    (53224, 62117, 0.4444, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53224, 62118, 0.4444, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53224, 62136, 0.4444, 1, 0, 1, 1); -- 7Sooty Mail Circlet
    
    --  http://www.wowhead.com/npc=53244
    DELETE FROM `creature_loot_template` WHERE `entry` = 53244;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53244, 68729, 4.7016, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53244, 71360, 3.0139, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53244, 71361, 2.9536, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53244, 71359, 2.8632, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53244, 68915, 2.7426, 1, 0, 1, 1), -- 3Scales of Life
    (53244, 71362, 2.7426, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53244, 68972, 2.5919, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53244, 70929, 2.5919, 1, 0, 1, 1), -- 3Firebound Gorget
    (53244, 71365, 2.3207, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53244, 71367, 2.3207, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53244, 71366, 2.1700, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53244, 71640, 1.8686, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53244, 62067, 1.2357, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53244, 62068, 1.1453, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53244, 62065, 1.1151, 1, 0, 1, 1), -- 7Melted Cleaver
    (53244, 62084, 1.0247, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53244, 55423, 0.9343, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53244, 62069, 0.9343, 1, 0, 1, 1), -- 7Plugged Rifle
    (53244, 55529, 0.9042, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53244, 55503, 0.8740, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53244, 62064, 0.8439, 1, 0, 1, 1), -- 7Warped Greatsword
    (53244, 55422, 0.8137, 1, 0, 1, 1), -- 5Thondroril Ring
    (53244, 62071, 0.8137, 1, 0, 1, 1), -- 7Corroded Blade
    (53244, 55738, 0.7836, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53244, 55440, 0.7535, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53244, 55728, 0.7535, 1, 0, 1, 1), -- 5Mystral Sandals
    (53244, 62072, 0.7535, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53244, 55421, 0.6932, 1, 0, 1, 1), -- 5Mereldar Ring
    (53244, 62082, 0.6932, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53244, 62066, 0.6932, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53244, 62070, 0.6932, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53244, 55485, 0.6631, 1, 0, 1, 1), -- 5Thondroril Wand
    (53244, 55702, 0.6329, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53244, 62098, 0.6329, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53244, 69974, 0.6028, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53244, 62077, 0.6028, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53244, 62063, 0.6028, 1, 0, 1, 1), -- 7Shattered War Mace
    (53244, 55439, 0.5726, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53244, 55682, 0.5726, 1, 0, 1, 1), -- 5Dandred Britches
    (53244, 55639, 0.5726, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53244, 62085, 0.5726, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53244, 55619, 0.5425, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53244, 55700, 0.5425, 1, 0, 1, 1), -- 5Dandred Waistband
    (53244, 55727, 0.5425, 1, 0, 1, 1), -- 5Everstill Sandals
    (53244, 55772, 0.5425, 1, 0, 1, 1), -- 5Everstill Cord
    (53244, 55765, 0.5425, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53244, 62079, 0.5425, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53244, 69969, 0.5124, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53244, 55746, 0.5124, 1, 0, 1, 1), -- 5Mystral Cowl
    (53244, 55755, 0.5124, 1, 0, 1, 1), -- 5Mystral Leggings
    (53244, 55432, 0.5124, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53244, 55486, 0.5124, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53244, 55747, 0.5124, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53244, 55774, 0.5124, 1, 0, 1, 1), -- 5Bluefen Cord
    (53244, 62095, 0.5124, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53244, 62117, 0.5124, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53244, 55709, 0.4822, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53244, 55754, 0.4822, 1, 0, 1, 1), -- 5Everstill Leggings
    (53244, 55530, 0.4822, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53244, 55710, 0.4822, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53244, 55719, 0.4822, 1, 0, 1, 1), -- 5Mystral Robe
    (53244, 55764, 0.4822, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53244, 55405, 0.4822, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53244, 55540, 0.4822, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53244, 62081, 0.4822, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53244, 62091, 0.4822, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53244, 62093, 0.4822, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53244, 62097, 0.4822, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53244, 69976, 0.4521, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53244, 55494, 0.4521, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53244, 55512, 0.4521, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53244, 55701, 0.4521, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53244, 55369, 0.4521, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53244, 55693, 0.4521, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53244, 62119, 0.4521, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53244, 62120, 0.4521, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53244, 62126, 0.4521, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53244, 62136, 0.4521, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53244, 69968, 0.4219, 1, 0, 1, 1), -- 3Plans: Warboots of Mighty Lords
    (53244, 55484, 0.4219, 1, 0, 1, 1), -- 5Mereldar Wand
    (53244, 55637, 0.4219, 1, 0, 1, 1), -- 5Dandred Bindings
    (53244, 55665, 0.4219, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53244, 55504, 0.4219, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53244, 55720, 0.4219, 1, 0, 1, 1), -- 5Bluefen Robe
    (53244, 62090, 0.4219, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53244, 62092, 0.4219, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53244, 62101, 0.4219, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53244, 62127, 0.4219, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53244, 62134, 0.4219, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53244, 69959, 0.3918, 1, 0, 1, 1), -- 3Plans: Holy Flame Gauntlets
    (53244, 69960, 0.3918, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53244, 55736, 0.3918, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53244, 55548, 0.3918, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53244, 55773, 0.3918, 1, 0, 1, 1), -- 5Mystral Cord
    (53244, 55630, 0.3918, 1, 0, 1, 1), -- 5Talondeep Belt
    (53244, 55684, 0.3918, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53244, 67539, 0.3918, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53244, 62073, 0.3918, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53244, 62074, 0.3918, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53244, 62087, 0.3918, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53244, 62088, 0.3918, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53244, 62105, 0.3918, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53244, 62124, 0.3918, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53244, 62125, 0.3918, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53244, 62129, 0.3918, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53244, 62132, 0.3918, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53244, 69971, 0.3617, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53244, 55538, 0.3617, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53244, 55547, 0.3617, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53244, 55583, 0.3617, 1, 0, 1, 1), -- 5Highperch Greaves
    (53244, 55601, 0.3617, 1, 0, 1, 1), -- 5Highperch Helm
    (53244, 55621, 0.3617, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53244, 55675, 0.3617, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53244, 55729, 0.3617, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53244, 62080, 0.3617, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53244, 62083, 0.3617, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53244, 62104, 0.3617, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53244, 62106, 0.3617, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53244, 62116, 0.3617, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53244, 62123, 0.3617, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53244, 69958, 0.3315, 1, 0, 1, 1), -- 3Plans: Eternal Elementium Handguards
    (53244, 69963, 0.3315, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53244, 69972, 0.3315, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53244, 55331, 0.3315, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53244, 55457, 0.3315, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53244, 55493, 0.3315, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53244, 55592, 0.3315, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53244, 55745, 0.3315, 1, 0, 1, 1), -- 5Everstill Cowl
    (53244, 55539, 0.3315, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53244, 55557, 0.3315, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53244, 55513, 0.3315, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53244, 55522, 0.3315, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53244, 55585, 0.3315, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53244, 62118, 0.3315, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53244, 69962, 0.3014, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53244, 69970, 0.3014, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53244, 55511, 0.3014, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53244, 55691, 0.3014, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53244, 55377, 0.3014, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53244, 55575, 0.3014, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53244, 55602, 0.3014, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53244, 55441, 0.3014, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53244, 55603, 0.3014, 1, 0, 1, 1), -- 5Talondeep Helm
    (53244, 55666, 0.3014, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53244, 62076, 0.3014, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53244, 62078, 0.3014, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53244, 62086, 0.3014, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53244, 62089, 0.3014, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53244, 62102, 0.3014, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53244, 62108, 0.3014, 1, 0, 1, 1), -- 7Singed Armor
    (53244, 62111, 0.3014, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53244, 69957, 0.2712, 1, 0, 1, 1), -- 3Plans: Fists of Fury
    (53244, 69966, 0.2712, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53244, 55673, 0.2712, 1, 0, 1, 1), -- 5Dandred Hood
    (53244, 55368, 0.2712, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53244, 55566, 0.2712, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53244, 55620, 0.2712, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53244, 55315, 0.2712, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53244, 55378, 0.2712, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53244, 55576, 0.2712, 1, 0, 1, 1), -- 5Talondeep Vest
    (53244, 55756, 0.2712, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53244, 62075, 0.2712, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53244, 62107, 0.2712, 1, 0, 1, 1), -- 7Singed Belt
    (53244, 62109, 0.2712, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53244, 62114, 0.2712, 1, 0, 1, 1), -- 7Singed Bracers
    (53244, 62128, 0.2712, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53244, 62131, 0.2712, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53244, 69965, 0.2411, 1, 0, 1, 1), -- 3Pattern: Grips of Altered Reality
    (53244, 69973, 0.2411, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53244, 55286, 0.2411, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53244, 55403, 0.2411, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53244, 55404, 0.2411, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53244, 55521, 0.2411, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53244, 55593, 0.2411, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53244, 55656, 0.2411, 1, 0, 1, 1), -- 5Haldarr Boots
    (53244, 55692, 0.2411, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53244, 55297, 0.2411, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53244, 55351, 0.2411, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53244, 55558, 0.2411, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53244, 55594, 0.2411, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53244, 62096, 0.2411, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53244, 62100, 0.2411, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53244, 62103, 0.2411, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53244, 62115, 0.2411, 1, 0, 1, 1), -- 7Singed Boots
    (53244, 62133, 0.2411, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53244, 67125, 0.2110, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53244, 55295, 0.2110, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53244, 55313, 0.2110, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53244, 55430, 0.2110, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53244, 55520, 0.2110, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53244, 55556, 0.2110, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53244, 55610, 0.2110, 1, 0, 1, 1), -- 5Highperch Legguards
    (53244, 55664, 0.2110, 1, 0, 1, 1), -- 5Dandred Gloves
    (53244, 55386, 0.2110, 1, 0, 1, 1), -- 5Bladefist Mace
    (53244, 55458, 0.2110, 1, 0, 1, 1), -- 5Bladefist Sword
    (53244, 55467, 0.2110, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53244, 55584, 0.2110, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53244, 55611, 0.2110, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53244, 55683, 0.2110, 1, 0, 1, 1), -- 5Haldarr Britches
    (53244, 55288, 0.2110, 1, 0, 1, 1), -- 5Irontree Axe
    (53244, 55531, 0.2110, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53244, 62094, 0.2110, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53244, 62099, 0.2110, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53244, 62113, 0.2110, 1, 0, 1, 1), -- 7Singed Gloves
    (53244, 69975, 0.1808, 1, 0, 1, 1), -- 3Pattern: Endless Dream Walkers
    (53244, 67150, 0.1808, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (53244, 66970, 0.1808, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (53244, 66972, 0.1808, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53244, 55367, 0.1808, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53244, 55718, 0.1808, 1, 0, 1, 1), -- 5Everstill Robe
    (53244, 55763, 0.1808, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53244, 55332, 0.1808, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53244, 55341, 0.1808, 1, 0, 1, 1), -- 5Bladefist Staff
    (53244, 55395, 0.1808, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53244, 55647, 0.1808, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53244, 55495, 0.1808, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53244, 55612, 0.1808, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53244, 55648, 0.1808, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53244, 55657, 0.1808, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53244, 62110, 0.1808, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53244, 62112, 0.1808, 1, 0, 1, 1), -- 7Singed Pants
    (53244, 62121, 0.1808, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53244, 62130, 0.1808, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53244, 66942, 0.1507, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53244, 66973, 0.1507, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53244, 67067, 0.1507, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53244, 67071, 0.1507, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53244, 67123, 0.1507, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53244, 67124, 0.1507, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53244, 55502, 0.1507, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53244, 55565, 0.1507, 1, 0, 1, 1), -- 5Highperch Bracers
    (53244, 55574, 0.1507, 1, 0, 1, 1), -- 5Highperch Vest
    (53244, 55655, 0.1507, 1, 0, 1, 1), -- 5Dandred Boots
    (53244, 55287, 0.1507, 1, 0, 1, 1), -- 5Bladefist Axe
    (53244, 55314, 0.1507, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53244, 55449, 0.1507, 1, 0, 1, 1), -- 5Bladefist Staff
    (53244, 55629, 0.1507, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53244, 55638, 0.1507, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53244, 55737, 0.1507, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53244, 55414, 0.1507, 1, 0, 1, 1), -- 5Irontree Spear
    (53244, 55450, 0.1507, 1, 0, 1, 1), -- 5Irontree Staff
    (53244, 55549, 0.1507, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53244, 62122, 0.1507, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53244, 67147, 0.1206, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (53244, 66932, 0.1206, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53244, 52379, 0.1206, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53244, 55376, 0.1206, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53244, 55385, 0.1206, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53244, 55412, 0.1206, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53244, 55448, 0.1206, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53244, 55646, 0.1206, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53244, 55431, 0.1206, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53244, 55674, 0.1206, 1, 0, 1, 1), -- 5Haldarr Hood
    (53244, 55333, 0.1206, 1, 0, 1, 1), -- 5Irontree Dagger
    (53244, 55342, 0.1206, 1, 0, 1, 1), -- 5Irontree Staff
    (53244, 55396, 0.1206, 1, 0, 1, 1), -- 5Irontree Hammer
    (53244, 55711, 0.1206, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53244, 68782, 0.0904, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53244, 66969, 0.0904, 1, 0, 1, 1), -- 4Heart of the Vile
    (53244, 66975, 0.0904, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53244, 66994, 0.0904, 1, 0, 1, 1), -- 4Soul's Anguish
    (53244, 55304, 0.0904, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53244, 55340, 0.0904, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53244, 55628, 0.0904, 1, 0, 1, 1), -- 5Highperch Belt
    (53244, 55305, 0.0904, 1, 0, 1, 1), -- 5Bladefist Bow
    (53244, 55350, 0.0904, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53244, 55387, 0.0904, 1, 0, 1, 1), -- 5Irontree Mace
    (53244, 55459, 0.0904, 1, 0, 1, 1), -- 5Irontree Sword
    (53244, 55468, 0.0904, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53244, 62135, 0.0904, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53244, 69961, 0.0603, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53244, 67132, 0.0603, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (53244, 67134, 0.0603, 1, 0, 1, 1), -- 3Dory's Finery
    (53244, 67136, 0.0603, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (53244, 67149, 0.0603, 1, 0, 1, 1), -- 3Heartbound Tome
    (53244, 66931, 0.0603, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53244, 66940, 0.0603, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (53244, 67061, 0.0603, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (53244, 67120, 0.0603, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53244, 67122, 0.0603, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53244, 66976, 0.0603, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53244, 67126, 0.0603, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53244, 52378, 0.0603, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (53244, 55394, 0.0603, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53244, 55466, 0.0603, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53244, 55296, 0.0603, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53244, 55567, 0.0603, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53244, 67133, 0.0301, 1, 0, 1, 1), -- 3Dizze's Whirling Robe
    (53244, 67137, 0.0301, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (53244, 67139, 0.0301, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (53244, 67142, 0.0301, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (53244, 67145, 0.0301, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (53244, 67146, 0.0301, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (53244, 68783, 0.0301, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53244, 68787, 0.0301, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (53244, 68789, 0.0301, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53244, 66968, 0.0301, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53244, 66989, 0.0301, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53244, 66990, 0.0301, 1, 0, 1, 1), -- 4Downfall Hammer
    (53244, 66991, 0.0301, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53244, 67057, 0.0301, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53244, 67121, 0.0301, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53244, 66941, 0.0301, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53244, 66992, 0.0301, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53244, 66993, 0.0301, 1, 0, 1, 1), -- 4Sorrow's End
    (53244, 52364, 0.0301, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53244, 52366, 0.0301, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (53244, 52368, 0.0301, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53244, 55349, 0.0301, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53244, 55413, 0.0301, 1, 0, 1, 1); -- 5Bladefist Spear
    
        
    --  http://www.wowhead.com/npc=53545
    DELETE FROM `creature_loot_template` WHERE `entry` = 53545;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53545, 71366, 8.5714, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53545, 55423, 8.5714, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53545, 70929, 5.7143, 1, 0, 1, 1), -- 3Firebound Gorget
    (53545, 55549, 5.7143, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53545, 55558, 5.7143, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53545, 62065, 5.7143, 1, 0, 1, 1), -- 7Melted Cleaver
    (53545, 62133, 5.7143, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53545, 68972, 2.8571, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53545, 71362, 2.8571, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53545, 71365, 2.8571, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53545, 71367, 2.8571, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53545, 68729, 2.8571, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53545, 55405, 2.8571, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53545, 55495, 2.8571, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53545, 55513, 2.8571, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53545, 55531, 2.8571, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53545, 55540, 2.8571, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53545, 55630, 2.8571, 1, 0, 1, 1), -- 5Talondeep Belt
    (53545, 55648, 2.8571, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53545, 55675, 2.8571, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53545, 55702, 2.8571, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53545, 55720, 2.8571, 1, 0, 1, 1), -- 5Bluefen Robe
    (53545, 62063, 2.8571, 1, 0, 1, 1), -- 7Shattered War Mace
    (53545, 62069, 2.8571, 1, 0, 1, 1), -- 7Plugged Rifle
    (53545, 62070, 2.8571, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53545, 62071, 2.8571, 1, 0, 1, 1), -- 7Corroded Blade
    (53545, 62117, 2.8571, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53545, 62122, 2.8571, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53545, 62131, 2.8571, 1, 0, 1, 1); -- 7Sooty Mail Belt
    
    --  http://www.wowhead.com/npc=53575
    DELETE FROM `creature_loot_template` WHERE `entry` = 53575;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53575, 68729, 4.2870, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53575, 70929, 3.6101, 1, 0, 1, 1), -- 3Firebound Gorget
    (53575, 68915, 3.3845, 1, 0, 1, 1), -- 3Scales of Life
    (53575, 71367, 3.2040, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53575, 55423, 3.0686, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53575, 71640, 2.8881, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53575, 71362, 2.8430, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53575, 68972, 2.7076, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53575, 71360, 2.7076, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53575, 71365, 2.6173, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53575, 62110, 2.6173, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53575, 71361, 2.5722, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53575, 71359, 2.5271, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53575, 71366, 2.4368, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53575, 55756, 1.8502, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53575, 55540, 1.7599, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53575, 62069, 1.7599, 1, 0, 1, 1), -- 7Plugged Rifle
    (53575, 55729, 1.6245, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53575, 55720, 1.5343, 1, 0, 1, 1), -- 5Bluefen Robe
    (53575, 55405, 1.4892, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53575, 55603, 1.3989, 1, 0, 1, 1), -- 5Talondeep Helm
    (53575, 55738, 1.3989, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53575, 55747, 1.3989, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53575, 62070, 1.3989, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53575, 55441, 1.3538, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53575, 55486, 1.3538, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53575, 55693, 1.2635, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53575, 55711, 1.2635, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53575, 55765, 1.2635, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53575, 62067, 1.2635, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53575, 62068, 1.2635, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53575, 62133, 1.2635, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53575, 62066, 1.2184, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53575, 55612, 1.1733, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53575, 62072, 1.1733, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53575, 55549, 1.0830, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53575, 62071, 1.0830, 1, 0, 1, 1), -- 7Corroded Blade
    (53575, 55558, 1.0379, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53575, 55702, 0.9928, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53575, 62063, 0.9928, 1, 0, 1, 1), -- 7Shattered War Mace
    (53575, 62123, 0.9477, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53575, 55585, 0.9025, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53575, 62065, 0.9025, 1, 0, 1, 1), -- 7Melted Cleaver
    (53575, 62112, 0.9025, 1, 0, 1, 1), -- 7Singed Pants
    (53575, 55657, 0.8574, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53575, 55513, 0.8123, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53575, 55522, 0.8123, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53575, 55531, 0.8123, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53575, 62106, 0.8123, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53575, 69971, 0.7671, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53575, 55567, 0.7671, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53575, 55675, 0.7671, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53575, 55684, 0.7671, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53575, 55774, 0.7671, 1, 0, 1, 1), -- 5Bluefen Cord
    (53575, 62121, 0.7671, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53575, 62135, 0.7671, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53575, 62136, 0.7671, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53575, 69957, 0.7220, 1, 0, 1, 1), -- 3Plans: Fists of Fury
    (53575, 69973, 0.7220, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53575, 62064, 0.7220, 1, 0, 1, 1), -- 7Warped Greatsword
    (53575, 62115, 0.7220, 1, 0, 1, 1), -- 7Singed Boots
    (53575, 62126, 0.7220, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53575, 62127, 0.7220, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53575, 69965, 0.6769, 1, 0, 1, 1), -- 3Pattern: Grips of Altered Reality
    (53575, 55369, 0.6769, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53575, 69976, 0.6318, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53575, 55648, 0.6318, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53575, 55666, 0.6318, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53575, 62113, 0.6318, 1, 0, 1, 1), -- 7Singed Gloves
    (53575, 62122, 0.6318, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53575, 62125, 0.6318, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53575, 69968, 0.5866, 1, 0, 1, 1), -- 3Plans: Warboots of Mighty Lords
    (53575, 62117, 0.5866, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53575, 62124, 0.5866, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53575, 62128, 0.5866, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53575, 55297, 0.5415, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53575, 55387, 0.5415, 1, 0, 1, 1), -- 5Irontree Mace
    (53575, 55495, 0.5415, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53575, 62108, 0.5415, 1, 0, 1, 1), -- 7Singed Armor
    (53575, 62119, 0.5415, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53575, 62132, 0.5415, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53575, 69958, 0.4964, 1, 0, 1, 1), -- 3Plans: Eternal Elementium Handguards
    (53575, 69966, 0.4964, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53575, 69972, 0.4964, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53575, 55594, 0.4964, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53575, 55630, 0.4964, 1, 0, 1, 1), -- 5Talondeep Belt
    (53575, 62109, 0.4964, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53575, 62130, 0.4964, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53575, 69959, 0.4513, 1, 0, 1, 1), -- 3Plans: Holy Flame Gauntlets
    (53575, 69960, 0.4513, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53575, 69961, 0.4513, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53575, 69975, 0.4513, 1, 0, 1, 1), -- 3Pattern: Endless Dream Walkers
    (53575, 55315, 0.4513, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53575, 55333, 0.4513, 1, 0, 1, 1), -- 5Irontree Dagger
    (53575, 55396, 0.4513, 1, 0, 1, 1), -- 5Irontree Hammer
    (53575, 55432, 0.4513, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53575, 62114, 0.4513, 1, 0, 1, 1), -- 7Singed Bracers
    (53575, 62129, 0.4513, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53575, 69962, 0.4061, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53575, 66975, 0.4061, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53575, 55342, 0.4061, 1, 0, 1, 1), -- 5Irontree Staff
    (53575, 55504, 0.4061, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53575, 55576, 0.4061, 1, 0, 1, 1), -- 5Talondeep Vest
    (53575, 55621, 0.4061, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53575, 62111, 0.4061, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53575, 62134, 0.4061, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53575, 69969, 0.3610, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53575, 55351, 0.3610, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53575, 55459, 0.3610, 1, 0, 1, 1), -- 5Irontree Sword
    (53575, 55639, 0.3610, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53575, 62105, 0.3610, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53575, 62116, 0.3610, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53575, 62120, 0.3610, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53575, 69963, 0.3159, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53575, 67126, 0.3159, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53575, 55288, 0.3159, 1, 0, 1, 1), -- 5Irontree Axe
    (53575, 55414, 0.3159, 1, 0, 1, 1), -- 5Irontree Spear
    (53575, 62118, 0.3159, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53575, 62131, 0.3159, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53575, 66993, 0.2708, 1, 0, 1, 1), -- 4Sorrow's End
    (53575, 62107, 0.2708, 1, 0, 1, 1), -- 7Singed Belt
    (53575, 69974, 0.2256, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53575, 55360, 0.2256, 1, 0, 1, 1), -- 5Irontree Gun
    (53575, 55450, 0.2256, 1, 0, 1, 1), -- 5Irontree Staff
    (53575, 55378, 0.1805, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53575, 55468, 0.1805, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53575, 66973, 0.1354, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53575, 66974, 0.1354, 1, 0, 1, 1), -- 4Nightrend Choker
    (53575, 67069, 0.1354, 1, 0, 1, 1), -- 4Shade of Death
    (53575, 67124, 0.1354, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53575, 67125, 0.1354, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53575, 55306, 0.1354, 1, 0, 1, 1), -- 5Irontree Bow
    (53575, 55324, 0.1354, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53575, 67140, 0.0903, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (53575, 67142, 0.0903, 1, 0, 1, 1), -- 3Zom's Electrostatic Cloak
    (53575, 67150, 0.0903, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (53575, 66942, 0.0903, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53575, 66976, 0.0903, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53575, 66992, 0.0903, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53575, 67067, 0.0903, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53575, 67071, 0.0903, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53575, 67123, 0.0903, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53575, 52371, 0.0903, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (53575, 52372, 0.0903, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (53575, 67539, 0.0903, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53575, 69970, 0.0451, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53575, 67129, 0.0451, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (53575, 67131, 0.0451, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (53575, 67132, 0.0451, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (53575, 67138, 0.0451, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (53575, 67143, 0.0451, 1, 0, 1, 1), -- 3Icebone Hauberk
    (53575, 67145, 0.0451, 1, 0, 1, 1), -- 3Blockade's Lost Shield
    (53575, 68789, 0.0451, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53575, 66941, 0.0451, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53575, 66972, 0.0451, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53575, 67127, 0.0451, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53575, 52376, 0.0451, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53575, 52378, 0.0451, 1, 0, 1, 1), -- 5Design: Regal Jasper
    (53575, 52379, 0.0451, 1, 0, 1, 1); -- 5Design: Nimble Jasper
    
    
    --  http://www.wowhead.com/npc=53616
    DELETE FROM `creature_loot_template` WHERE `entry` = 53616;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53616, 68915, 7.5446, 1, 0, 1, 1), -- 3Scales of Life
    (53616, 71365, 6.5158, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53616, 71366, 6.5158, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53616, 71640, 6.0357, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53616, 71360, 5.8299, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53616, 70929, 5.5556, 1, 0, 1, 1), -- 3Firebound Gorget
    (53616, 68972, 5.1440, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53616, 71367, 4.6639, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53616, 71361, 4.5953, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53616, 71359, 4.3896, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53616, 71362, 3.9095, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53616, 69968, 2.4005, 1, 0, 1, 1), -- 3Plans: Warboots of Mighty Lords
    (53616, 62072, 1.7833, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53616, 69973, 1.5089, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53616, 62123, 1.5089, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53616, 62064, 1.4403, 1, 0, 1, 1), -- 7Warped Greatsword
    (53616, 62067, 1.4403, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53616, 69965, 1.3717, 1, 0, 1, 1), -- 3Pattern: Grips of Altered Reality
    (53616, 69959, 1.3032, 1, 0, 1, 1), -- 3Plans: Holy Flame Gauntlets
    (53616, 62063, 1.3032, 1, 0, 1, 1), -- 7Shattered War Mace
    (53616, 69960, 1.2346, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53616, 62071, 1.2346, 1, 0, 1, 1), -- 7Corroded Blade
    (53616, 69974, 1.1660, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53616, 62065, 1.1660, 1, 0, 1, 1), -- 7Melted Cleaver
    (53616, 62068, 1.1660, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53616, 62107, 1.0974, 1, 0, 1, 1), -- 7Singed Belt
    (53616, 62118, 1.0974, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53616, 62132, 1.0974, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53616, 69966, 1.0288, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53616, 62119, 1.0288, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53616, 62125, 1.0288, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53616, 69971, 0.9602, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53616, 69972, 0.9602, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53616, 62066, 0.9602, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53616, 62070, 0.9602, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53616, 62106, 0.9602, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53616, 62115, 0.9602, 1, 0, 1, 1), -- 7Singed Boots
    (53616, 62133, 0.9602, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53616, 69957, 0.8916, 1, 0, 1, 1), -- 3Plans: Fists of Fury
    (53616, 62129, 0.8916, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53616, 62135, 0.8916, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53616, 69961, 0.8230, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53616, 62069, 0.8230, 1, 0, 1, 1), -- 7Plugged Rifle
    (53616, 62114, 0.8230, 1, 0, 1, 1), -- 7Singed Bracers
    (53616, 62122, 0.8230, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53616, 62127, 0.8230, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53616, 62110, 0.7545, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53616, 62111, 0.7545, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53616, 62120, 0.7545, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53616, 62128, 0.7545, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53616, 62131, 0.7545, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53616, 62136, 0.7545, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53616, 62105, 0.6859, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53616, 62109, 0.6859, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53616, 62113, 0.6859, 1, 0, 1, 1), -- 7Singed Gloves
    (53616, 69963, 0.6173, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53616, 69970, 0.6173, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53616, 69975, 0.6173, 1, 0, 1, 1), -- 3Pattern: Endless Dream Walkers
    (53616, 62112, 0.6173, 1, 0, 1, 1), -- 7Singed Pants
    (53616, 62124, 0.6173, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53616, 62130, 0.6173, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53616, 69958, 0.5487, 1, 0, 1, 1), -- 3Plans: Eternal Elementium Handguards
    (53616, 62117, 0.5487, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53616, 62116, 0.4801, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53616, 69962, 0.4115, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53616, 69969, 0.4115, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53616, 67150, 0.4115, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (53616, 66972, 0.4115, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53616, 62108, 0.4115, 1, 0, 1, 1), -- 7Singed Armor
    (53616, 62126, 0.4115, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53616, 62134, 0.4115, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53616, 69976, 0.3429, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53616, 66973, 0.3429, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53616, 67123, 0.3429, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53616, 67124, 0.3429, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53616, 67125, 0.3429, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53616, 66975, 0.2743, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53616, 67126, 0.2743, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53616, 62121, 0.2743, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53616, 66976, 0.2058, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53616, 67067, 0.2058, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53616, 66941, 0.1372, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53616, 67131, 0.0686, 1, 0, 1, 1), -- 3Ritssyn's Ruminous Drape
    (53616, 67136, 0.0686, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (53616, 67141, 0.0686, 1, 0, 1, 1), -- 3Corefire Legplates
    (53616, 68787, 0.0686, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (53616, 66942, 0.0686, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53616, 66974, 0.0686, 1, 0, 1, 1), -- 4Nightrend Choker
    (53616, 66992, 0.0686, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53616, 66993, 0.0686, 1, 0, 1, 1), -- 4Sorrow's End
    (53616, 66994, 0.0686, 1, 0, 1, 1), -- 4Soul's Anguish
    (53616, 67069, 0.0686, 1, 0, 1, 1), -- 4Shade of Death
    (53616, 67127, 0.0686, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53616, 52368, 0.0686, 1, 0, 1, 1), -- 5Design: Purified Nightstone
    (53616, 52375, 0.0686, 1, 0, 1, 1), -- 5Design: Deft Hessonite
    (53616, 52377, 0.0686, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (53616, 7068, 0.0686, 1, 0, 1, 1), -- 6Elemental Fire
    (53616, 4787, 0.0686, 1, 0, 1, 1); -- 7Burning Pitch
    
    --  http://www.wowhead.com/npc=53617
    DELETE FROM `creature_loot_template` WHERE `entry` = 53617;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53617, 71365, 42.8571, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53617, 69966, 14.2857, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53617, 55639, 14.2857, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53617, 55648, 14.2857, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53617, 55702, 14.2857, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53617, 55774, 14.2857, 1, 0, 1, 1), -- 5Bluefen Cord
    (53617, 62117, 14.2857, 1, 0, 1, 1); -- 7Sodden Cloth Gloves
    
    --  http://www.wowhead.com/npc=53619
    DELETE FROM `creature_loot_template` WHERE `entry` = 53619;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53619, 53010, 78.9849, 1, 0, 1, 1), -- 6Embersilk Cloth
    (53619, 68198, 18.3866, 1, 0, 1, 1), -- 7Ruined Embersilk Scraps
    (53619, 68197, 6.1505, 1, 0, 1, 1); -- 7Scavenged Animal Parts
    
    --  http://www.wowhead.com/npc=53631
    DELETE FROM `creature_loot_template` WHERE `entry` = 53631;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53631, 53010, 56.6998, 1, 0, 1, 1), -- 6Embersilk Cloth
    (53631, 68198, 14.6402, 1, 0, 1, 1), -- 7Ruined Embersilk Scraps
    (53631, 68197, 6.0794, 1, 0, 1, 1), -- 7Scavenged Animal Parts
    (53631, 62120, 2.2746, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53631, 68729, 0.7031, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53631, 71365, 0.4549, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53631, 68972, 0.4136, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53631, 71366, 0.4136, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53631, 55439, 0.4136, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53631, 71361, 0.3722, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53631, 71367, 0.3722, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53631, 71360, 0.2068, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53631, 66973, 0.1654, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53631, 55754, 0.1654, 1, 0, 1, 1), -- 5Everstill Leggings
    (53631, 55737, 0.1654, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53631, 55441, 0.1654, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53631, 62082, 0.1654, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53631, 55619, 0.1241, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53631, 62115, 0.1241, 1, 0, 1, 1), -- 7Singed Boots
    (53631, 55556, 0.0827, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53631, 55655, 0.0827, 1, 0, 1, 1), -- 5Dandred Boots
    (53631, 55701, 0.0827, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53631, 62135, 0.0827, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53631, 55412, 0.0414, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53631, 62095, 0.0414, 1, 0, 1, 1); -- 7Perforated Plate Bracers
    
    --  http://www.wowhead.com/npc=53635
    DELETE FROM `creature_loot_template` WHERE `entry` = 53635;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53635, 68729, 4.1067, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53635, 62100, 0.6325, 1, 0, 1, 1); -- 7Pockmarked Cloth Belt
    
    --  http://www.wowhead.com/npc=53639
    DELETE FROM `creature_loot_template` WHERE `entry` = 53639;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53639, 68729, 3.9082, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53639, 71360, 2.9760, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53639, 68972, 2.8326, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53639, 70929, 2.7967, 1, 0, 1, 1), -- 3Firebound Gorget
    (53639, 71367, 2.7608, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53639, 71362, 2.5099, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53639, 71640, 2.4381, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53639, 68915, 2.3664, 1, 0, 1, 1), -- 3Scales of Life
    (53639, 71365, 2.3306, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53639, 71366, 2.3306, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53639, 71359, 2.2947, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53639, 71361, 2.2230, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53639, 62075, 1.3984, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53639, 62070, 1.2191, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53639, 62069, 1.1115, 1, 0, 1, 1), -- 7Plugged Rifle
    (53639, 62068, 1.0398, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53639, 55422, 1.0039, 1, 0, 1, 1), -- 5Thondroril Ring
    (53639, 55440, 1.0039, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53639, 62066, 1.0039, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53639, 62071, 1.0039, 1, 0, 1, 1), -- 7Corroded Blade
    (53639, 62063, 0.9681, 1, 0, 1, 1), -- 7Shattered War Mace
    (53639, 62065, 0.9681, 1, 0, 1, 1), -- 7Melted Cleaver
    (53639, 62067, 0.9681, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53639, 62064, 0.9322, 1, 0, 1, 1), -- 7Warped Greatsword
    (53639, 55738, 0.8605, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53639, 62081, 0.8605, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53639, 62092, 0.8605, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53639, 55441, 0.8247, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53639, 62072, 0.7888, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53639, 55421, 0.7530, 1, 0, 1, 1), -- 5Mereldar Ring
    (53639, 69969, 0.7171, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53639, 62117, 0.7171, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53639, 55746, 0.6812, 1, 0, 1, 1), -- 5Mystral Cowl
    (53639, 55423, 0.6812, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53639, 62083, 0.6454, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53639, 69968, 0.6095, 1, 0, 1, 1), -- 3Plans: Warboots of Mighty Lords
    (53639, 69975, 0.6095, 1, 0, 1, 1), -- 3Pattern: Endless Dream Walkers
    (53639, 69958, 0.5737, 1, 0, 1, 1), -- 3Plans: Eternal Elementium Handguards
    (53639, 62074, 0.5737, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53639, 55763, 0.5378, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53639, 55692, 0.5378, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53639, 55594, 0.5378, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53639, 55684, 0.5378, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53639, 62082, 0.5378, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53639, 62102, 0.5378, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53639, 62111, 0.5378, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53639, 62135, 0.5378, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53639, 55727, 0.5020, 1, 0, 1, 1), -- 5Everstill Sandals
    (53639, 55774, 0.5020, 1, 0, 1, 1), -- 5Bluefen Cord
    (53639, 62089, 0.5020, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53639, 62091, 0.5020, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53639, 62122, 0.5020, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53639, 62128, 0.5020, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53639, 69974, 0.4661, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53639, 55439, 0.4661, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53639, 55557, 0.4661, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53639, 55540, 0.4661, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53639, 55576, 0.4661, 1, 0, 1, 1), -- 5Talondeep Vest
    (53639, 55747, 0.4661, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53639, 62073, 0.4661, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53639, 62080, 0.4661, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53639, 62085, 0.4661, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53639, 62098, 0.4661, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53639, 62099, 0.4661, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53639, 62100, 0.4661, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53639, 62105, 0.4661, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53639, 62119, 0.4661, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53639, 69960, 0.4303, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53639, 69961, 0.4303, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53639, 55691, 0.4303, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53639, 55745, 0.4303, 1, 0, 1, 1), -- 5Everstill Cowl
    (53639, 55485, 0.4303, 1, 0, 1, 1), -- 5Thondroril Wand
    (53639, 55755, 0.4303, 1, 0, 1, 1), -- 5Mystral Leggings
    (53639, 55558, 0.4303, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53639, 55702, 0.4303, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53639, 62133, 0.4303, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53639, 69966, 0.3944, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53639, 55673, 0.3944, 1, 0, 1, 1), -- 5Dandred Hood
    (53639, 55736, 0.3944, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53639, 55602, 0.3944, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53639, 55585, 0.3944, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53639, 67539, 0.3944, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53639, 62079, 0.3944, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53639, 62101, 0.3944, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53639, 69970, 0.3586, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53639, 55547, 0.3586, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53639, 55314, 0.3586, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53639, 55449, 0.3586, 1, 0, 1, 1), -- 5Bladefist Staff
    (53639, 55620, 0.3586, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53639, 55683, 0.3586, 1, 0, 1, 1), -- 5Haldarr Britches
    (53639, 55728, 0.3586, 1, 0, 1, 1), -- 5Mystral Sandals
    (53639, 55378, 0.3586, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53639, 55495, 0.3586, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53639, 55522, 0.3586, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53639, 55630, 0.3586, 1, 0, 1, 1), -- 5Talondeep Belt
    (53639, 55648, 0.3586, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53639, 55756, 0.3586, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53639, 62084, 0.3586, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53639, 62094, 0.3586, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53639, 62107, 0.3586, 1, 0, 1, 1), -- 7Singed Belt
    (53639, 62115, 0.3586, 1, 0, 1, 1), -- 7Singed Boots
    (53639, 62123, 0.3586, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53639, 62129, 0.3586, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53639, 62130, 0.3586, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53639, 62136, 0.3586, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53639, 69963, 0.3227, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53639, 69971, 0.3227, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53639, 69972, 0.3227, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53639, 69976, 0.3227, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53639, 55403, 0.3227, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53639, 55520, 0.3227, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53639, 55637, 0.3227, 1, 0, 1, 1), -- 5Dandred Bindings
    (53639, 55593, 0.3227, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53639, 55665, 0.3227, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53639, 55459, 0.3227, 1, 0, 1, 1), -- 5Irontree Sword
    (53639, 55657, 0.3227, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53639, 55675, 0.3227, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53639, 55765, 0.3227, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53639, 62086, 0.3227, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53639, 62093, 0.3227, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53639, 62109, 0.3227, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53639, 62132, 0.3227, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53639, 69959, 0.2868, 1, 0, 1, 1), -- 3Plans: Holy Flame Gauntlets
    (53639, 69965, 0.2868, 1, 0, 1, 1), -- 3Pattern: Grips of Altered Reality
    (53639, 68781, 0.2868, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53639, 55484, 0.2868, 1, 0, 1, 1), -- 5Mereldar Wand
    (53639, 55502, 0.2868, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53639, 55655, 0.2868, 1, 0, 1, 1), -- 5Dandred Boots
    (53639, 55682, 0.2868, 1, 0, 1, 1), -- 5Dandred Britches
    (53639, 55709, 0.2868, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53639, 55431, 0.2868, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53639, 55521, 0.2868, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53639, 55647, 0.2868, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53639, 55701, 0.2868, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53639, 55432, 0.2868, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53639, 55504, 0.2868, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53639, 55693, 0.2868, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53639, 55729, 0.2868, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53639, 62076, 0.2868, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53639, 62096, 0.2868, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53639, 62116, 0.2868, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53639, 62134, 0.2868, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53639, 69973, 0.2510, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53639, 55340, 0.2510, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53639, 55385, 0.2510, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53639, 55430, 0.2510, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53639, 55511, 0.2510, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53639, 55619, 0.2510, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53639, 55646, 0.2510, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53639, 55332, 0.2510, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53639, 55404, 0.2510, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53639, 55494, 0.2510, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53639, 55539, 0.2510, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53639, 55566, 0.2510, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53639, 55611, 0.2510, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53639, 55710, 0.2510, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53639, 55764, 0.2510, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53639, 55369, 0.2510, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53639, 55513, 0.2510, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53639, 55549, 0.2510, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53639, 55666, 0.2510, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53639, 62087, 0.2510, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53639, 62097, 0.2510, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53639, 62104, 0.2510, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53639, 62120, 0.2510, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53639, 62126, 0.2510, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53639, 69957, 0.2151, 1, 0, 1, 1), -- 3Plans: Fists of Fury
    (53639, 69962, 0.2151, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53639, 66990, 0.2151, 1, 0, 1, 1), -- 4Downfall Hammer
    (53639, 55601, 0.2151, 1, 0, 1, 1), -- 5Highperch Helm
    (53639, 55610, 0.2151, 1, 0, 1, 1), -- 5Highperch Legguards
    (53639, 55664, 0.2151, 1, 0, 1, 1), -- 5Dandred Gloves
    (53639, 55718, 0.2151, 1, 0, 1, 1), -- 5Everstill Robe
    (53639, 55754, 0.2151, 1, 0, 1, 1), -- 5Everstill Leggings
    (53639, 55350, 0.2151, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53639, 55377, 0.2151, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53639, 55530, 0.2151, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53639, 55656, 0.2151, 1, 0, 1, 1), -- 5Haldarr Boots
    (53639, 55674, 0.2151, 1, 0, 1, 1), -- 5Haldarr Hood
    (53639, 55719, 0.2151, 1, 0, 1, 1), -- 5Mystral Robe
    (53639, 55773, 0.2151, 1, 0, 1, 1), -- 5Mystral Cord
    (53639, 55297, 0.2151, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53639, 55324, 0.2151, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53639, 55405, 0.2151, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53639, 55486, 0.2151, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53639, 55612, 0.2151, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53639, 62078, 0.2151, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53639, 62095, 0.2151, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53639, 62103, 0.2151, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53639, 62113, 0.2151, 1, 0, 1, 1), -- 7Singed Gloves
    (53639, 62118, 0.2151, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53639, 62124, 0.2151, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53639, 62127, 0.2151, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53639, 67067, 0.1793, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53639, 55286, 0.1793, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53639, 55313, 0.1793, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53639, 55448, 0.1793, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53639, 55538, 0.1793, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53639, 55556, 0.1793, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53639, 55629, 0.1793, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53639, 55603, 0.1793, 1, 0, 1, 1), -- 5Talondeep Helm
    (53639, 55621, 0.1793, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53639, 55639, 0.1793, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53639, 62108, 0.1793, 1, 0, 1, 1), -- 7Singed Armor
    (53639, 62110, 0.1793, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53639, 62112, 0.1793, 1, 0, 1, 1), -- 7Singed Pants
    (53639, 62114, 0.1793, 1, 0, 1, 1), -- 7Singed Bracers
    (53639, 62131, 0.1793, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53639, 67123, 0.1434, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53639, 55367, 0.1434, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53639, 55376, 0.1434, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53639, 55412, 0.1434, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53639, 55493, 0.1434, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53639, 55529, 0.1434, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53639, 55565, 0.1434, 1, 0, 1, 1), -- 5Highperch Bracers
    (53639, 55574, 0.1434, 1, 0, 1, 1), -- 5Highperch Vest
    (53639, 55628, 0.1434, 1, 0, 1, 1), -- 5Highperch Belt
    (53639, 55700, 0.1434, 1, 0, 1, 1), -- 5Dandred Waistband
    (53639, 55368, 0.1434, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53639, 55386, 0.1434, 1, 0, 1, 1), -- 5Bladefist Mace
    (53639, 55413, 0.1434, 1, 0, 1, 1), -- 5Bladefist Spear
    (53639, 55458, 0.1434, 1, 0, 1, 1), -- 5Bladefist Sword
    (53639, 55503, 0.1434, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53639, 55584, 0.1434, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53639, 55638, 0.1434, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53639, 55351, 0.1434, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53639, 55387, 0.1434, 1, 0, 1, 1), -- 5Irontree Mace
    (53639, 55531, 0.1434, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53639, 55711, 0.1434, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53639, 62077, 0.1434, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53639, 62106, 0.1434, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53639, 62121, 0.1434, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53639, 62125, 0.1434, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53639, 67132, 0.1076, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (53639, 67134, 0.1076, 1, 0, 1, 1), -- 3Dory's Finery
    (53639, 66975, 0.1076, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53639, 55295, 0.1076, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53639, 55349, 0.1076, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53639, 55583, 0.1076, 1, 0, 1, 1), -- 5Highperch Greaves
    (53639, 55592, 0.1076, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53639, 55287, 0.1076, 1, 0, 1, 1), -- 5Bladefist Axe
    (53639, 55341, 0.1076, 1, 0, 1, 1), -- 5Bladefist Staff
    (53639, 55512, 0.1076, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53639, 55737, 0.1076, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53639, 55414, 0.1076, 1, 0, 1, 1), -- 5Irontree Spear
    (53639, 55468, 0.1076, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53639, 55567, 0.1076, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53639, 55720, 0.1076, 1, 0, 1, 1), -- 5Bluefen Robe
    (53639, 67135, 0.0717, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (53639, 67141, 0.0717, 1, 0, 1, 1), -- 3Corefire Legplates
    (53639, 68782, 0.0717, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53639, 66940, 0.0717, 1, 0, 1, 1), -- 4Staff of Solemn Secrecy
    (53639, 66968, 0.0717, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53639, 67120, 0.0717, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53639, 67122, 0.0717, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53639, 66976, 0.0717, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53639, 67124, 0.0717, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53639, 52377, 0.0717, 1, 0, 1, 1), -- 5Design: Keen Hessonite
    (53639, 55331, 0.0717, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53639, 55358, 0.0717, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53639, 55772, 0.0717, 1, 0, 1, 1), -- 5Everstill Cord
    (53639, 55296, 0.0717, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53639, 55323, 0.0717, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (53639, 55548, 0.0717, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53639, 55575, 0.0717, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53639, 55288, 0.0717, 1, 0, 1, 1), -- 5Irontree Axe
    (53639, 62088, 0.0717, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53639, 62090, 0.0717, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53639, 67138, 0.0359, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (53639, 67139, 0.0359, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (53639, 67144, 0.0359, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (53639, 67150, 0.0359, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (53639, 66931, 0.0359, 1, 0, 1, 1), -- 4Mercury-Coated Hood
    (53639, 66932, 0.0359, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53639, 66970, 0.0359, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (53639, 66971, 0.0359, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53639, 66991, 0.0359, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53639, 67057, 0.0359, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53639, 66941, 0.0359, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53639, 66942, 0.0359, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53639, 66973, 0.0359, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53639, 66974, 0.0359, 1, 0, 1, 1), -- 4Nightrend Choker
    (53639, 66992, 0.0359, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53639, 66993, 0.0359, 1, 0, 1, 1), -- 4Sorrow's End
    (53639, 67125, 0.0359, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53639, 67127, 0.0359, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53639, 52366, 0.0359, 1, 0, 1, 1), -- 5Design: Defender's Nightstone
    (53639, 52367, 0.0359, 1, 0, 1, 1), -- 5Design: Guardian's Nightstone
    (53639, 52369, 0.0359, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53639, 52382, 0.0359, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (53639, 52388, 0.0359, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (53639, 55394, 0.0359, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53639, 55457, 0.0359, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53639, 55466, 0.0359, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53639, 55305, 0.0359, 1, 0, 1, 1), -- 5Bladefist Bow
    (53639, 55359, 0.0359, 1, 0, 1, 1), -- 5Bladefist Gun
    (53639, 55395, 0.0359, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53639, 55306, 0.0359, 1, 0, 1, 1), -- 5Irontree Bow
    (53639, 55315, 0.0359, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53639, 55342, 0.0359, 1, 0, 1, 1), -- 5Irontree Staff
    (53639, 55396, 0.0359, 1, 0, 1, 1), -- 5Irontree Hammer
    (53639, 55450, 0.0359, 1, 0, 1, 1); -- 5Irontree Staff
    
    --  http://www.wowhead.com/npc=53640
    DELETE FROM `creature_loot_template` WHERE `entry` = 53640;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53640, 68729, 4.0043, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53640, 71366, 3.1783, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53640, 71367, 2.8012, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53640, 68915, 2.7653, 1, 0, 1, 1), -- 3Scales of Life
    (53640, 71359, 2.5678, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53640, 71361, 2.5678, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53640, 71362, 2.5678, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53640, 68972, 2.5498, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53640, 71360, 2.5139, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53640, 70929, 2.4780, 1, 0, 1, 1), -- 3Firebound Gorget
    (53640, 71640, 2.4780, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53640, 71365, 2.1548, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53640, 62097, 1.1672, 1, 0, 1, 1), -- 7Clammy Mail Armor
    (53640, 62066, 1.0953, 1, 0, 1, 1), -- 7Wolk's Blunted Shiv
    (53640, 55422, 1.0594, 1, 0, 1, 1), -- 5Thondroril Ring
    (53640, 55423, 0.9517, 1, 0, 1, 1), -- 5Blackwolf Ring
    (53640, 62063, 0.9517, 1, 0, 1, 1), -- 7Shattered War Mace
    (53640, 62069, 0.8799, 1, 0, 1, 1), -- 7Plugged Rifle
    (53640, 62068, 0.8619, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53640, 62070, 0.8440, 1, 0, 1, 1), -- 7Rusted Timber Axe
    (53640, 62067, 0.8260, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53640, 62065, 0.7901, 1, 0, 1, 1), -- 7Melted Cleaver
    (53640, 62072, 0.7901, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53640, 55441, 0.7542, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53640, 62071, 0.7003, 1, 0, 1, 1), -- 7Corroded Blade
    (53640, 55763, 0.6644, 1, 0, 1, 1), -- 5Everstill Shoulderpads
    (53640, 69958, 0.6464, 1, 0, 1, 1), -- 3Plans: Eternal Elementium Handguards
    (53640, 69968, 0.6464, 1, 0, 1, 1), -- 3Plans: Warboots of Mighty Lords
    (53640, 55421, 0.6464, 1, 0, 1, 1), -- 5Mereldar Ring
    (53640, 55566, 0.6464, 1, 0, 1, 1), -- 5Thornsnarl Bracers
    (53640, 55439, 0.6285, 1, 0, 1, 1), -- 5Mereldar Spellblade
    (53640, 62089, 0.6285, 1, 0, 1, 1), -- 7Dirt-Caked Belt
    (53640, 55754, 0.5746, 1, 0, 1, 1), -- 5Everstill Leggings
    (53640, 55485, 0.5746, 1, 0, 1, 1), -- 5Thondroril Wand
    (53640, 62081, 0.5746, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53640, 62121, 0.5746, 1, 0, 1, 1), -- 7Sooty Mail Shoulderpads
    (53640, 69971, 0.5567, 1, 0, 1, 1), -- 3Pattern: Earthen Scale Sabatons
    (53640, 69975, 0.5567, 1, 0, 1, 1), -- 3Pattern: Endless Dream Walkers
    (53640, 62064, 0.5567, 1, 0, 1, 1), -- 7Warped Greatsword
    (53640, 69976, 0.5387, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53640, 62116, 0.5387, 1, 0, 1, 1), -- 7Sodden Cloth Pants
    (53640, 55511, 0.5207, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53640, 55727, 0.5207, 1, 0, 1, 1), -- 5Everstill Sandals
    (53640, 55440, 0.5207, 1, 0, 1, 1), -- 5Thondroril Spellblade
    (53640, 55756, 0.5207, 1, 0, 1, 1), -- 5Bluefen Leggings
    (53640, 62090, 0.5207, 1, 0, 1, 1), -- 7Perforated Plate Belt
    (53640, 62098, 0.5207, 1, 0, 1, 1), -- 7Clammy Mail Shoulderpads
    (53640, 62101, 0.5207, 1, 0, 1, 1), -- 7Clammy Mail Circlet
    (53640, 62122, 0.5207, 1, 0, 1, 1), -- 7Sooty Mail Pants
    (53640, 55728, 0.5028, 1, 0, 1, 1), -- 5Mystral Sandals
    (53640, 55404, 0.4848, 1, 0, 1, 1), -- 5Thondroril Amulet
    (53640, 55683, 0.4848, 1, 0, 1, 1), -- 5Haldarr Britches
    (53640, 55684, 0.4848, 1, 0, 1, 1), -- 5Ravenholdt Britches
    (53640, 62077, 0.4848, 1, 0, 1, 1), -- 7Perforated Plate Gloves
    (53640, 62079, 0.4848, 1, 0, 1, 1), -- 7Dirt-Caked Shoulderpads
    (53640, 55736, 0.4669, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53640, 55755, 0.4669, 1, 0, 1, 1), -- 5Mystral Leggings
    (53640, 55405, 0.4669, 1, 0, 1, 1), -- 5Blackwolf Amulet
    (53640, 55747, 0.4669, 1, 0, 1, 1), -- 5Bluefen Cowl
    (53640, 62123, 0.4669, 1, 0, 1, 1), -- 7Sooty Mail Gloves
    (53640, 62134, 0.4669, 1, 0, 1, 1), -- 7Bleached Plate Helmet
    (53640, 55628, 0.4489, 1, 0, 1, 1), -- 5Highperch Belt
    (53640, 55773, 0.4489, 1, 0, 1, 1), -- 5Mystral Cord
    (53640, 55612, 0.4489, 1, 0, 1, 1), -- 5Talondeep Legguards
    (53640, 62074, 0.4489, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53640, 62093, 0.4489, 1, 0, 1, 1), -- 7Pockmarked Cloth Pants
    (53640, 62124, 0.4489, 1, 0, 1, 1), -- 7Sooty Mail Bracers
    (53640, 69973, 0.4310, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53640, 55774, 0.4310, 1, 0, 1, 1), -- 5Bluefen Cord
    (53640, 62080, 0.4310, 1, 0, 1, 1), -- 7Perforated Plate Boots
    (53640, 62082, 0.4310, 1, 0, 1, 1), -- 7Dirt-Caked Pants
    (53640, 62127, 0.4310, 1, 0, 1, 1), -- 7Bleached Plate Shoulderpads
    (53640, 55484, 0.4130, 1, 0, 1, 1), -- 5Mereldar Wand
    (53640, 62086, 0.4130, 1, 0, 1, 1), -- 7Dirt-Caked Gloves
    (53640, 62111, 0.4130, 1, 0, 1, 1), -- 7Singed Shoulderpads
    (53640, 69966, 0.3950, 1, 0, 1, 1), -- 3Pattern: Don Tayo's Inferno Mittens
    (53640, 62088, 0.3950, 1, 0, 1, 1), -- 7Dirt-Caked Boots
    (53640, 62120, 0.3950, 1, 0, 1, 1), -- 7Sodden Cloth Belt
    (53640, 69972, 0.3771, 1, 0, 1, 1), -- 3Pattern: Footwraps of Quenched Fire
    (53640, 55493, 0.3771, 1, 0, 1, 1), -- 5Ravencrest Vambraces
    (53640, 55664, 0.3771, 1, 0, 1, 1), -- 5Dandred Gloves
    (53640, 55682, 0.3771, 1, 0, 1, 1), -- 5Dandred Britches
    (53640, 55700, 0.3771, 1, 0, 1, 1), -- 5Dandred Waistband
    (53640, 55314, 0.3771, 1, 0, 1, 1), -- 5Thondroril Cloak
    (53640, 55530, 0.3771, 1, 0, 1, 1), -- 5Stonewrought Helm
    (53640, 55737, 0.3771, 1, 0, 1, 1), -- 5Mystral Handwraps
    (53640, 55369, 0.3771, 1, 0, 1, 1), -- 5Blackwolf Scepter
    (53640, 55621, 0.3771, 1, 0, 1, 1), -- 5Talondeep Spaulders
    (53640, 55666, 0.3771, 1, 0, 1, 1), -- 5Ravenholdt Gloves
    (53640, 62094, 0.3771, 1, 0, 1, 1), -- 7Pockmarked Cloth Gloves
    (53640, 62114, 0.3771, 1, 0, 1, 1), -- 7Singed Bracers
    (53640, 62131, 0.3771, 1, 0, 1, 1), -- 7Sooty Mail Belt
    (53640, 69961, 0.3591, 1, 0, 1, 1), -- 3Pattern: Gloves of Unforgiving Flame
    (53640, 69969, 0.3591, 1, 0, 1, 1), -- 3Plans: Mirrored Boots
    (53640, 69970, 0.3591, 1, 0, 1, 1), -- 3Plans: Emberforged Elementium Boots
    (53640, 55583, 0.3591, 1, 0, 1, 1), -- 5Highperch Greaves
    (53640, 55548, 0.3591, 1, 0, 1, 1), -- 5Stonewrought Pauldrons
    (53640, 55620, 0.3591, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53640, 55746, 0.3591, 1, 0, 1, 1), -- 5Mystral Cowl
    (53640, 55675, 0.3591, 1, 0, 1, 1), -- 5Ravenholdt Hood
    (53640, 55729, 0.3591, 1, 0, 1, 1), -- 5Bluefen Sandals
    (53640, 62078, 0.3591, 1, 0, 1, 1), -- 7Perforated Plate Chestpiece
    (53640, 62092, 0.3591, 1, 0, 1, 1), -- 7Pockmarked Cloth Shoulderpads
    (53640, 62110, 0.3591, 1, 0, 1, 1), -- 7Sodden Cloth Shoulderpads
    (53640, 62128, 0.3591, 1, 0, 1, 1), -- 7Bleached Plate Bracers
    (53640, 55529, 0.3412, 1, 0, 1, 1), -- 5Ravencrest Helm
    (53640, 55547, 0.3412, 1, 0, 1, 1), -- 5Ravencrest Pauldrons
    (53640, 55601, 0.3412, 1, 0, 1, 1), -- 5Highperch Helm
    (53640, 55674, 0.3412, 1, 0, 1, 1), -- 5Haldarr Hood
    (53640, 55719, 0.3412, 1, 0, 1, 1), -- 5Mystral Robe
    (53640, 55585, 0.3412, 1, 0, 1, 1), -- 5Talondeep Greaves
    (53640, 62096, 0.3412, 1, 0, 1, 1), -- 7Clammy Mail Belt
    (53640, 62103, 0.3412, 1, 0, 1, 1), -- 7Pockmarked Hat
    (53640, 55538, 0.3232, 1, 0, 1, 1), -- 5Ravencrest Legplates
    (53640, 55646, 0.3232, 1, 0, 1, 1), -- 5Dandred Jerkin
    (53640, 55772, 0.3232, 1, 0, 1, 1), -- 5Everstill Cord
    (53640, 55593, 0.3232, 1, 0, 1, 1), -- 5Thornsnarl Gauntlets
    (53640, 55647, 0.3232, 1, 0, 1, 1), -- 5Haldarr Jerkin
    (53640, 55665, 0.3232, 1, 0, 1, 1), -- 5Haldarr Gloves
    (53640, 55603, 0.3232, 1, 0, 1, 1), -- 5Talondeep Helm
    (53640, 55702, 0.3232, 1, 0, 1, 1), -- 5Ravenholdt Waistband
    (53640, 55738, 0.3232, 1, 0, 1, 1), -- 5Bluefen Handwraps
    (53640, 62075, 0.3232, 1, 0, 1, 1), -- 7Perforated Plate Shoulderpads
    (53640, 62108, 0.3232, 1, 0, 1, 1), -- 7Singed Armor
    (53640, 62109, 0.3232, 1, 0, 1, 1), -- 7Sodden Cloth Vest
    (53640, 62112, 0.3232, 1, 0, 1, 1), -- 7Singed Pants
    (53640, 69974, 0.3053, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53640, 55556, 0.3053, 1, 0, 1, 1), -- 5Ravencrest Girdle
    (53640, 55574, 0.3053, 1, 0, 1, 1), -- 5Highperch Vest
    (53640, 55718, 0.3053, 1, 0, 1, 1), -- 5Everstill Robe
    (53640, 55745, 0.3053, 1, 0, 1, 1), -- 5Everstill Cowl
    (53640, 55557, 0.3053, 1, 0, 1, 1), -- 5Stonewrought Girdle
    (53640, 55701, 0.3053, 1, 0, 1, 1), -- 5Haldarr Waistband
    (53640, 55764, 0.3053, 1, 0, 1, 1), -- 5Mystral Shoulderpads
    (53640, 55486, 0.3053, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53640, 55531, 0.3053, 1, 0, 1, 1), -- 5Crystalvein Helm
    (53640, 55630, 0.3053, 1, 0, 1, 1), -- 5Talondeep Belt
    (53640, 55648, 0.3053, 1, 0, 1, 1), -- 5Ravenholdt Jerkin
    (53640, 55720, 0.3053, 1, 0, 1, 1), -- 5Bluefen Robe
    (53640, 62083, 0.3053, 1, 0, 1, 1), -- 7Clammy Mail Boots
    (53640, 62084, 0.3053, 1, 0, 1, 1), -- 7Pockmarked Cloth Bracers
    (53640, 62091, 0.3053, 1, 0, 1, 1), -- 7Pockmarked Cloth Vest
    (53640, 62104, 0.3053, 1, 0, 1, 1), -- 7Perforated Plate Helmet
    (53640, 62126, 0.3053, 1, 0, 1, 1), -- 7Bleached Plate Chestpiece
    (53640, 62135, 0.3053, 1, 0, 1, 1), -- 7Singed Leather Helmet
    (53640, 69960, 0.2873, 1, 0, 1, 1), -- 3Pattern: Dragonfire Gloves
    (53640, 69962, 0.2873, 1, 0, 1, 1), -- 3Pattern: Clutches of Evil
    (53640, 69963, 0.2873, 1, 0, 1, 1), -- 3Pattern: Heavenly Gloves of the Moon
    (53640, 66993, 0.2873, 1, 0, 1, 1), -- 4Sorrow's End
    (53640, 55565, 0.2873, 1, 0, 1, 1), -- 5Highperch Bracers
    (53640, 55494, 0.2873, 1, 0, 1, 1), -- 5Stonewrought Vambraces
    (53640, 55512, 0.2873, 1, 0, 1, 1), -- 5Stonewrought Sabatons
    (53640, 55602, 0.2873, 1, 0, 1, 1), -- 5Thornsnarl Helm
    (53640, 55495, 0.2873, 1, 0, 1, 1), -- 5Crystalvein Vambraces
    (53640, 55594, 0.2873, 1, 0, 1, 1), -- 5Talondeep Gauntlets
    (53640, 55639, 0.2873, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53640, 55765, 0.2873, 1, 0, 1, 1), -- 5Bluefen Shoulderpads
    (53640, 62099, 0.2873, 1, 0, 1, 1), -- 7Clammy Mail Pants
    (53640, 62100, 0.2873, 1, 0, 1, 1), -- 7Pockmarked Cloth Belt
    (53640, 62133, 0.2873, 1, 0, 1, 1), -- 7Sodden Cloth Hat
    (53640, 69959, 0.2693, 1, 0, 1, 1), -- 3Plans: Holy Flame Gauntlets
    (53640, 55367, 0.2693, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53640, 55673, 0.2693, 1, 0, 1, 1), -- 5Dandred Hood
    (53640, 55638, 0.2693, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53640, 55656, 0.2693, 1, 0, 1, 1), -- 5Haldarr Boots
    (53640, 55567, 0.2693, 1, 0, 1, 1), -- 5Talondeep Bracers
    (53640, 55711, 0.2693, 1, 0, 1, 1), -- 5Bluefen Wristwraps
    (53640, 62095, 0.2693, 1, 0, 1, 1), -- 7Perforated Plate Bracers
    (53640, 62107, 0.2693, 1, 0, 1, 1), -- 7Singed Belt
    (53640, 62117, 0.2693, 1, 0, 1, 1), -- 7Sodden Cloth Gloves
    (53640, 62119, 0.2693, 1, 0, 1, 1), -- 7Sodden Cloth Boots
    (53640, 62125, 0.2693, 1, 0, 1, 1), -- 7Sooty Mail Boots
    (53640, 69965, 0.2514, 1, 0, 1, 1), -- 3Pattern: Grips of Altered Reality
    (53640, 55592, 0.2514, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53640, 55610, 0.2514, 1, 0, 1, 1), -- 5Highperch Legguards
    (53640, 55710, 0.2514, 1, 0, 1, 1), -- 5Mystral Wristwraps
    (53640, 55459, 0.2514, 1, 0, 1, 1), -- 5Irontree Sword
    (53640, 62087, 0.2514, 1, 0, 1, 1), -- 7Dirt-Caked Bracers
    (53640, 62102, 0.2514, 1, 0, 1, 1), -- 7Dirt-Caked Leather Helmet
    (53640, 69957, 0.2334, 1, 0, 1, 1), -- 3Plans: Fists of Fury
    (53640, 55376, 0.2334, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53640, 55619, 0.2334, 1, 0, 1, 1), -- 5Highperch Spaulders
    (53640, 55503, 0.2334, 1, 0, 1, 1), -- 5Stonewrought Breastplate
    (53640, 55521, 0.2334, 1, 0, 1, 1), -- 5Stonewrought Gauntlets
    (53640, 55576, 0.2334, 1, 0, 1, 1), -- 5Talondeep Vest
    (53640, 67539, 0.2334, 1, 0, 1, 1), -- 6Tiny Treasure Chest
    (53640, 62073, 0.2334, 1, 0, 1, 1), -- 7Clammy Mail Gloves
    (53640, 62085, 0.2334, 1, 0, 1, 1), -- 7Pockmarked Cloth Boots
    (53640, 62130, 0.2334, 1, 0, 1, 1), -- 7Bleached Plate Belt
    (53640, 66941, 0.2155, 1, 0, 1, 1), -- 4Triple-Loop Belt
    (53640, 55457, 0.2155, 1, 0, 1, 1), -- 5Mardenholde Sword
    (53640, 55520, 0.2155, 1, 0, 1, 1), -- 5Ravencrest Gauntlets
    (53640, 55350, 0.2155, 1, 0, 1, 1), -- 5Bladefist Knuckles
    (53640, 55611, 0.2155, 1, 0, 1, 1), -- 5Thornsnarl Legguards
    (53640, 55629, 0.2155, 1, 0, 1, 1), -- 5Thornsnarl Belt
    (53640, 55693, 0.2155, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53640, 62132, 0.2155, 1, 0, 1, 1), -- 7Sooty Mail Armor
    (53640, 55349, 0.1975, 1, 0, 1, 1), -- 5Mardenholde Knuckles
    (53640, 55430, 0.1975, 1, 0, 1, 1), -- 5Ravencrest Shield
    (53640, 55655, 0.1975, 1, 0, 1, 1), -- 5Dandred Boots
    (53640, 55691, 0.1975, 1, 0, 1, 1), -- 5Dandred Shoulders
    (53640, 55368, 0.1975, 1, 0, 1, 1), -- 5Thondroril Scepter
    (53640, 55539, 0.1975, 1, 0, 1, 1), -- 5Stonewrought Legplates
    (53640, 55575, 0.1975, 1, 0, 1, 1), -- 5Thornsnarl Vest
    (53640, 55692, 0.1975, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53640, 55378, 0.1975, 1, 0, 1, 1), -- 5Blackwolf Crystal
    (53640, 55504, 0.1975, 1, 0, 1, 1), -- 5Crystalvein Breastplate
    (53640, 55558, 0.1975, 1, 0, 1, 1), -- 5Crystalvein Girdle
    (53640, 62076, 0.1975, 1, 0, 1, 1), -- 7Perforated Plate Pants
    (53640, 62105, 0.1975, 1, 0, 1, 1), -- 7Bleached Plate Pants
    (53640, 62106, 0.1975, 1, 0, 1, 1), -- 7Bleached Plate Gloves
    (53640, 62136, 0.1975, 1, 0, 1, 1), -- 7Sooty Mail Circlet
    (53640, 55403, 0.1796, 1, 0, 1, 1), -- 5Mereldar Amulet
    (53640, 55502, 0.1796, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53640, 55296, 0.1796, 1, 0, 1, 1), -- 5Bladefist Broadaxe
    (53640, 55377, 0.1796, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53640, 55458, 0.1796, 1, 0, 1, 1), -- 5Bladefist Sword
    (53640, 55522, 0.1796, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53640, 62113, 0.1796, 1, 0, 1, 1), -- 7Singed Gloves
    (53640, 62115, 0.1796, 1, 0, 1, 1), -- 7Singed Boots
    (53640, 52382, 0.1616, 1, 0, 1, 1), -- 5Design: Piercing Jasper
    (53640, 55313, 0.1616, 1, 0, 1, 1), -- 5Mereldar Cloak
    (53640, 55385, 0.1616, 1, 0, 1, 1), -- 5Mardenholde Mace
    (53640, 55412, 0.1616, 1, 0, 1, 1), -- 5Mardenholde Spear
    (53640, 55637, 0.1616, 1, 0, 1, 1), -- 5Dandred Bindings
    (53640, 55709, 0.1616, 1, 0, 1, 1), -- 5Everstill Wristwraps
    (53640, 55386, 0.1616, 1, 0, 1, 1), -- 5Bladefist Mace
    (53640, 55288, 0.1616, 1, 0, 1, 1), -- 5Irontree Axe
    (53640, 55333, 0.1616, 1, 0, 1, 1), -- 5Irontree Dagger
    (53640, 55396, 0.1616, 1, 0, 1, 1), -- 5Irontree Hammer
    (53640, 55513, 0.1616, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53640, 55540, 0.1616, 1, 0, 1, 1), -- 5Crystalvein Legplates
    (53640, 62129, 0.1616, 1, 0, 1, 1), -- 7Bleached Plate Boots
    (53640, 67057, 0.1437, 1, 0, 1, 1), -- 4Oath-Bound Gauntlets
    (53640, 55467, 0.1437, 1, 0, 1, 1), -- 5Bladefist Greatsword
    (53640, 55584, 0.1437, 1, 0, 1, 1), -- 5Thornsnarl Greaves
    (53640, 55315, 0.1437, 1, 0, 1, 1), -- 5Blackwolf Cloak
    (53640, 55549, 0.1437, 1, 0, 1, 1), -- 5Crystalvein Pauldrons
    (53640, 66968, 0.1257, 1, 0, 1, 1), -- 4Lhakaz's Swiftblade
    (53640, 66974, 0.1257, 1, 0, 1, 1), -- 4Nightrend Choker
    (53640, 66975, 0.1257, 1, 0, 1, 1), -- 4Hood of the Crying Rogue
    (53640, 67071, 0.1257, 1, 0, 1, 1), -- 4Staff of Old Woes
    (53640, 55394, 0.1257, 1, 0, 1, 1), -- 5Mardenholde Hammer
    (53640, 55287, 0.1257, 1, 0, 1, 1), -- 5Bladefist Axe
    (53640, 55413, 0.1257, 1, 0, 1, 1), -- 5Bladefist Spear
    (53640, 55351, 0.1257, 1, 0, 1, 1), -- 5Irontree Knuckles
    (53640, 55657, 0.1257, 1, 0, 1, 1), -- 5Ravenholdt Boots
    (53640, 62118, 0.1257, 1, 0, 1, 1), -- 7Sodden Cloth Bracers
    (53640, 67135, 0.1077, 1, 0, 1, 1), -- 3Morrie's Waywalker Wrap
    (53640, 55448, 0.1077, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53640, 55332, 0.1077, 1, 0, 1, 1), -- 5Bladefist Dagger
    (53640, 67134, 0.0898, 1, 0, 1, 1), -- 3Dory's Finery
    (53640, 68789, 0.0898, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Mighty Intellect
    (53640, 67127, 0.0898, 1, 0, 1, 1), -- 4Bracers of Caustic Purification
    (53640, 55286, 0.0898, 1, 0, 1, 1), -- 5Mardenholde Axe
    (53640, 55295, 0.0898, 1, 0, 1, 1), -- 5Mardenholde Broadaxe
    (53640, 55466, 0.0898, 1, 0, 1, 1), -- 5Mardenholde Greatsword
    (53640, 55342, 0.0898, 1, 0, 1, 1), -- 5Irontree Staff
    (53640, 55468, 0.0898, 1, 0, 1, 1), -- 5Irontree Greatsword
    (53640, 67143, 0.0718, 1, 0, 1, 1), -- 3Icebone Hauberk
    (53640, 67147, 0.0718, 1, 0, 1, 1), -- 3Je'Tze's Sparkling Tiara
    (53640, 68781, 0.0718, 1, 0, 1, 1), -- 4Design: Agile Shadowspirit Diamond
    (53640, 68788, 0.0718, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Major Strength
    (53640, 66971, 0.0718, 1, 0, 1, 1), -- 4Highland Padded Leggings
    (53640, 66990, 0.0718, 1, 0, 1, 1), -- 4Downfall Hammer
    (53640, 66991, 0.0718, 1, 0, 1, 1), -- 4Cloak of Rich Anger
    (53640, 66972, 0.0718, 1, 0, 1, 1), -- 4Crystalline Geoknife
    (53640, 67067, 0.0718, 1, 0, 1, 1), -- 4Belt of Guardianship
    (53640, 67126, 0.0718, 1, 0, 1, 1), -- 4Roffle's Ruffly Gloves
    (53640, 55431, 0.0718, 1, 0, 1, 1), -- 5Stonewrought Shield
    (53640, 55414, 0.0718, 1, 0, 1, 1), -- 5Irontree Spear
    (53640, 55450, 0.0718, 1, 0, 1, 1), -- 5Irontree Staff
    (53640, 67139, 0.0539, 1, 0, 1, 1), -- 3Blauvelt's Family Crest
    (53640, 66969, 0.0539, 1, 0, 1, 1), -- 4Heart of the Vile
    (53640, 67061, 0.0539, 1, 0, 1, 1), -- 4Bulwark of the Scorned Man
    (53640, 66973, 0.0539, 1, 0, 1, 1), -- 4Ravenheart Longbow
    (53640, 66976, 0.0539, 1, 0, 1, 1), -- 4Spaulders of the Savage Beast
    (53640, 66992, 0.0539, 1, 0, 1, 1), -- 4Harbinger's Breastplate
    (53640, 67123, 0.0539, 1, 0, 1, 1), -- 4Sinman's Helm of Succor
    (53640, 67124, 0.0539, 1, 0, 1, 1), -- 4Zulian Swirling Shield
    (53640, 67125, 0.0539, 1, 0, 1, 1), -- 4Bone-Inlaid Sarcophagus Key
    (53640, 52385, 0.0539, 1, 0, 1, 1), -- 5Design: Forceful Jasper
    (53640, 55340, 0.0539, 1, 0, 1, 1), -- 5Mardenholde Staff
    (53640, 55449, 0.0539, 1, 0, 1, 1), -- 5Bladefist Staff
    (53640, 55432, 0.0539, 1, 0, 1, 1), -- 5Crystalvein Shield
    (53640, 67137, 0.0359, 1, 0, 1, 1), -- 3Don Rodrigo's Fabulous Necklace
    (53640, 67138, 0.0359, 1, 0, 1, 1), -- 3Buc-Zakai Choker
    (53640, 68787, 0.0359, 1, 0, 1, 1), -- 4Formula: Enchant Bracer - Agility
    (53640, 66932, 0.0359, 1, 0, 1, 1), -- 4Kuang's Locket of Secrets
    (53640, 66970, 0.0359, 1, 0, 1, 1), -- 4Safecracker's Gloves
    (53640, 66989, 0.0359, 1, 0, 1, 1), -- 4Endwyn's Flickering Gauntlets
    (53640, 67121, 0.0359, 1, 0, 1, 1), -- 4Chestguard of the Caring Ursine
    (53640, 67122, 0.0359, 1, 0, 1, 1), -- 4Helm of Holy Visions
    (53640, 66942, 0.0359, 1, 0, 1, 1), -- 4Immaculate Br'etc Signet
    (53640, 52376, 0.0359, 1, 0, 1, 1), -- 5Design: Fine Hessonite
    (53640, 55322, 0.0359, 1, 0, 1, 1), -- 5Mardenholde Crossbow
    (53640, 55331, 0.0359, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53640, 55395, 0.0359, 1, 0, 1, 1), -- 5Bladefist Hammer
    (53640, 55297, 0.0359, 1, 0, 1, 1), -- 5Irontree Broadaxe
    (53640, 55324, 0.0359, 1, 0, 1, 1), -- 5Irontree Crossbow
    (53640, 55360, 0.0359, 1, 0, 1, 1), -- 5Irontree Gun
    (53640, 55387, 0.0359, 1, 0, 1, 1), -- 5Irontree Mace
    (53640, 67129, 0.0180, 1, 0, 1, 1), -- 3Signet of High Arcanist Savor
    (53640, 67132, 0.0180, 1, 0, 1, 1), -- 3Grips of the Failed Immortal
    (53640, 67136, 0.0180, 1, 0, 1, 1), -- 3Gilnean Ring of Ruination
    (53640, 67140, 0.0180, 1, 0, 1, 1), -- 3Drape of Inimitable Fate
    (53640, 67141, 0.0180, 1, 0, 1, 1), -- 3Corefire Legplates
    (53640, 67144, 0.0180, 1, 0, 1, 1), -- 3Pauldrons of Edward the Odd
    (53640, 67146, 0.0180, 1, 0, 1, 1), -- 3Woundsplicer Handwraps
    (53640, 67150, 0.0180, 1, 0, 1, 1), -- 3Arrowsinger Legguards
    (53640, 68782, 0.0180, 1, 0, 1, 1), -- 4Design: Reverberating Shadowspirit Diamond
    (53640, 68783, 0.0180, 1, 0, 1, 1), -- 4Design: Burning Shadowspirit Diamond
    (53640, 67119, 0.0180, 1, 0, 1, 1), -- 4Thousand Bandage Drape
    (53640, 67120, 0.0180, 1, 0, 1, 1), -- 4Mace of Apotheosis
    (53640, 66994, 0.0180, 1, 0, 1, 1), -- 4Soul's Anguish
    (53640, 52363, 0.0180, 1, 0, 1, 1), -- 5Design: Flashing Carnelian
    (53640, 52364, 0.0180, 1, 0, 1, 1), -- 5Design: Stormy Zephyrite
    (53640, 52365, 0.0180, 1, 0, 1, 1), -- 5Design: Subtle Alicite
    (53640, 52369, 0.0180, 1, 0, 1, 1), -- 5Design: Retaliating Nightstone
    (53640, 52371, 0.0180, 1, 0, 1, 1), -- 5Design: Inscribed Hessonite
    (53640, 52372, 0.0180, 1, 0, 1, 1), -- 5Design: Deadly Hessonite
    (53640, 52374, 0.0180, 1, 0, 1, 1), -- 5Design: Fierce Hessonite
    (53640, 52379, 0.0180, 1, 0, 1, 1), -- 5Design: Nimble Jasper
    (53640, 52383, 0.0180, 1, 0, 1, 1), -- 5Design: Steady Jasper
    (53640, 52388, 0.0180, 1, 0, 1, 1), -- 5Design: Zen Jasper
    (53640, 69820, 0.0180, 1, 0, 1, 1), -- 5Design: Reckless Hessonite
    (53640, 55304, 0.0180, 1, 0, 1, 1), -- 5Mardenholde Bow
    (53640, 55358, 0.0180, 1, 0, 1, 1), -- 5Mardenholde Gun
    (53640, 55323, 0.0180, 1, 0, 1, 1), -- 5Bladefist Crossbow
    (53640, 55341, 0.0180, 1, 0, 1, 1); -- 5Bladefist Staff
    
    --  http://www.wowhead.com/npc=53642
    DELETE FROM `creature_loot_template` WHERE `entry` = 53642;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53642, 68729, 4.3180, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53642, 55421, 0.7216, 1, 0, 1, 1), -- 5Mereldar Ring
    (53642, 55711, 0.6861, 1, 0, 1, 1); -- 5Bluefen Wristwraps
    
    --  http://www.wowhead.com/npc=53648
    DELETE FROM `creature_loot_template` WHERE `entry` = 53648;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53648, 55700, 33.3333, 1, 0, 1, 1), -- 5Dandred Waistband
    (53648, 55638, 33.3333, 1, 0, 1, 1), -- 5Haldarr Bindings
    (53648, 55756, 33.3333, 1, 0, 1, 1); -- 5Bluefen Leggings
    
    
    --  http://www.wowhead.com/npc=53732
    DELETE FROM `creature_loot_template` WHERE `entry` = 53732;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53732, 68729, 3.8480, 1, 0, 1, 1); -- 5Elementium Lockbox
    
    --  http://www.wowhead.com/npc=53901
    DELETE FROM `creature_loot_template` WHERE `entry` = 53901;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53901, 68729, 4.6251, 1, 0, 1, 1), -- 5Elementium Lockbox
    (53901, 71366, 3.5923, 1, 0, 1, 1), -- 3Lava Bolt Crossbow
    (53901, 70929, 3.1881, 1, 0, 1, 1), -- 3Firebound Gorget
    (53901, 71359, 3.0085, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (53901, 71365, 3.0085, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (53901, 71361, 2.8289, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (53901, 71640, 2.7391, 1, 0, 1, 1), -- 3Riplimb's Lost Collar
    (53901, 68972, 2.6044, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (53901, 71362, 2.5146, 1, 0, 1, 1), -- 3Obsidium Cleaver
    (53901, 71360, 2.2452, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (53901, 71367, 2.2452, 1, 0, 1, 1), -- 3Theck's Emberseal
    (53901, 62068, 1.3471, 1, 0, 1, 1), -- 7Knog's Bow of Ineptitude
    (53901, 55486, 1.0328, 1, 0, 1, 1), -- 5Blackwolf Wand
    (53901, 62067, 0.9430, 1, 0, 1, 1), -- 7Flamewashed Mace
    (53901, 55441, 0.8532, 1, 0, 1, 1), -- 5Blackwolf Spellblade
    (53901, 69973, 0.7634, 1, 0, 1, 1), -- 3Pattern: Treads of the Craft
    (53901, 55565, 0.7634, 1, 0, 1, 1), -- 5Highperch Bracers
    (53901, 55422, 0.7634, 1, 0, 1, 1), -- 5Thondroril Ring
    (53901, 55637, 0.6286, 1, 0, 1, 1), -- 5Dandred Bindings
    (53901, 55513, 0.6286, 1, 0, 1, 1), -- 5Crystalvein Sabatons
    (53901, 62081, 0.6286, 1, 0, 1, 1), -- 7Dirt-Caked Armor
    (53901, 69965, 0.5837, 1, 0, 1, 1), -- 3Pattern: Grips of Altered Reality
    (53901, 55367, 0.5837, 1, 0, 1, 1), -- 5Mereldar Scepter
    (53901, 55754, 0.5388, 1, 0, 1, 1), -- 5Everstill Leggings
    (53901, 62115, 0.5388, 1, 0, 1, 1), -- 7Singed Boots
    (53901, 69958, 0.4939, 1, 0, 1, 1), -- 3Plans: Eternal Elementium Handguards
    (53901, 55592, 0.4939, 1, 0, 1, 1), -- 5Highperch Gauntlets
    (53901, 55720, 0.4939, 1, 0, 1, 1), -- 5Bluefen Robe
    (53901, 62074, 0.4939, 1, 0, 1, 1), -- 7Clammy Mail Bracers
    (53901, 62072, 0.4939, 1, 0, 1, 1), -- 7Robble's Wobbly Staff
    (53901, 55376, 0.4490, 1, 0, 1, 1), -- 5Mereldar Crystal
    (53901, 55421, 0.4490, 1, 0, 1, 1), -- 5Mereldar Ring
    (53901, 55736, 0.4041, 1, 0, 1, 1), -- 5Everstill Handwraps
    (53901, 55692, 0.4041, 1, 0, 1, 1), -- 5Haldarr Shoulders
    (53901, 69976, 0.3592, 1, 0, 1, 1), -- 3Pattern: Boots of the Black Flame
    (53901, 55511, 0.3592, 1, 0, 1, 1), -- 5Ravencrest Sabatons
    (53901, 55377, 0.3592, 1, 0, 1, 1), -- 5Thondroril Crystal
    (53901, 55485, 0.3143, 1, 0, 1, 1), -- 5Thondroril Wand
    (53901, 55774, 0.3143, 1, 0, 1, 1), -- 5Bluefen Cord
    (53901, 69974, 0.2694, 1, 0, 1, 1), -- 3Pattern: Ethereal Footfalls
    (53901, 66974, 0.2694, 1, 0, 1, 1), -- 4Nightrend Choker
    (53901, 55331, 0.2694, 1, 0, 1, 1), -- 5Mardenholde Dagger
    (53901, 55574, 0.2694, 1, 0, 1, 1), -- 5Highperch Vest
    (53901, 55655, 0.2694, 1, 0, 1, 1), -- 5Dandred Boots
    (53901, 55683, 0.2694, 1, 0, 1, 1), -- 5Haldarr Britches
    (53901, 55576, 0.2694, 1, 0, 1, 1), -- 5Talondeep Vest
    (53901, 55620, 0.2245, 1, 0, 1, 1), -- 5Thornsnarl Spaulders
    (53901, 55459, 0.2245, 1, 0, 1, 1), -- 5Irontree Sword
    (53901, 55522, 0.2245, 1, 0, 1, 1), -- 5Crystalvein Gauntlets
    (53901, 55639, 0.2245, 1, 0, 1, 1), -- 5Ravenholdt Bindings
    (53901, 55693, 0.2245, 1, 0, 1, 1), -- 5Ravenholdt Shoulders
    (53901, 55502, 0.1796, 1, 0, 1, 1), -- 5Ravencrest Breastplate
    (53901, 55673, 0.1796, 1, 0, 1, 1); -- 5Dandred Hood
    
    --  http://www.wowhead.com/npc=54073
    DELETE FROM `creature_loot_template` WHERE `entry` = 54073;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (54073, 62112, 6.3745, 1, 0, 1, 1); -- 7Singed Pants
    
    --  http://www.wowhead.com/npc=54143
    DELETE FROM `creature_loot_template` WHERE `entry` = 54143;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (54143, 68729, 4.2540, 1, 0, 1, 1), -- 5Elementium Lockbox
    (54143, 71361, 4.0708, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (54143, 68915, 3.7248, 1, 0, 1, 1), -- 3Scales of Life
    (54143, 71367, 3.5416, 1, 0, 1, 1), -- 3Theck's Emberseal
    (54143, 68972, 3.5213, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (54143, 71360, 3.1752, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (54143, 71640, 3.0531, 1, 0, 1, 1); -- 3Riplimb's Lost Collar
    
        
    --  http://www.wowhead.com/npc=54161
    DELETE FROM `creature_loot_template` WHERE `entry` = 54161;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (54161, 70929, 3.6155, 1, 0, 1, 1), -- 3Firebound Gorget
    (54161, 71360, 3.5669, 1, 0, 1, 1), -- 3Spire of Scarlet Pain
    (54161, 71359, 3.4017, 1, 0, 1, 1), -- 3Chelley's Sterilized Scalpel
    (54161, 71365, 3.3725, 1, 0, 1, 1), -- 3Hide-Bound Chains
    (54161, 68972, 3.3239, 1, 0, 1, 1), -- 3Apparatus of Khaz'goroth
    (54161, 71367, 3.2948, 1, 0, 1, 1), -- 3Theck's Emberseal
    (54161, 68915, 3.2559, 1, 0, 1, 1), -- 3Scales of Life
    (54161, 71361, 3.2365, 1, 0, 1, 1), -- 3Ranseur of Hatred
    (54161, 71366, 2.8769, 1, 0, 1, 1); -- 3Lava Bolt Crossbow
    
    
    --  http://www.wowhead.com/npc=53094
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53094;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53094, 52976, 100.6408, 1, 0, 1, 6), -- 6Savage Leather
    (53094, 67495, 2.6644, 1, 0, 1, 1); -- 6Strange Bloated Stomach
    UPDATE `creature_template` SET `skinloot` = 53094 WHERE `entry` = 53094;
    
    --  http://www.wowhead.com/npc=53095
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53095;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53095, 52976, 100.9091, 1, 0, 1, 6), -- 6Savage Leather
    (53095, 67495, 3.0909, 1, 0, 1, 1); -- 6Strange Bloated Stomach
    UPDATE `creature_template` SET `skinloot` = 53095 WHERE `entry` = 53095;
    
    --  http://www.wowhead.com/npc=53096
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53096;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53096, 52976, 100.5996, 1, 0, 1, 7), -- 6Savage Leather
    (53096, 67495, 2.9395, 1, 0, 1, 1); -- 6Strange Bloated Stomach
    UPDATE `creature_template` SET `skinloot` = 53096 WHERE `entry` = 53096;
    
    --  http://www.wowhead.com/npc=53127
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53127;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53127, 52976, 105.6810, 1, 0, 1, 7), -- 6Savage Leather
    (53127, 67495, 3.3546, 1, 0, 1, 1); -- 6Strange Bloated Stomach
    UPDATE `creature_template` SET `skinloot` = 53127 WHERE `entry` = 53127;
    
    --  http://www.wowhead.com/npc=53128
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53128;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53128, 52976, 106.6177, 1, 0, 1, 11); -- 6Savage Leather
    UPDATE `creature_template` SET `skinloot` = 53128 WHERE `entry` = 53128;
    
    --  http://www.wowhead.com/npc=53134
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53134;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53134, 17012, 108.0947, 1, 0, 1, 6), -- 6Core Leather
    (53134, 52976, 107.3058, 1, 0, 1, 10); -- 6Savage Leather
    UPDATE `creature_template` SET `skinloot` = 53134 WHERE `entry` = 53134;
    
        
    --  http://www.wowhead.com/npc=53545
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53545;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53545, 52976, 108.0258, 1, 0, 1, 10); -- 6Savage Leather
    UPDATE `creature_template` SET `skinloot` = 53545 WHERE `entry` = 53545;
    
    --  http://www.wowhead.com/npc=53617
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53617;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53617, 52976, 109.4840, 1, 0, 1, 11); -- 6Savage Leather
    UPDATE `creature_template` SET `skinloot` = 53617 WHERE `entry` = 53617;
    
    --  http://www.wowhead.com/npc=53631
    DELETE FROM `skinning_loot_template` WHERE `entry` = 53631;
    INSERT INTO `skinning_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES 
    (53631, 52976, 99.9416, 1, 0, 1, 6), -- 6Savage Leather
    (53631, 67495, 2.9206, 1, 0, 1, 1); -- 6Strange Bloated Stomach
    UPDATE `creature_template` SET `skinloot` = 53631 WHERE `entry` = 53631;


    Status : udah saya test, loot TM FL udah bukan dropan Boss lagi
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  9. #38
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL]Dragon Soul boss status loot and some trash mobs

    Description : bosses hp - damage-loot - spells ability etc plus some trash mobs

    Reference : here

    Code :

    Spoiler untuk SQL :

    Code:
    -- http://old.wowhead.com/npc=58036
    DELETE FROM `npc_vendor` WHERE `entry` = 58036;
    INSERT INTO `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`, `type`) VALUES
    (58036, 0, 58274, 0, 0, 0, 1), -- 6Fresh Water
    (58036, 0, 58257, 0, 0, 0, 1), -- 6Highland Spring Water
    (58036, 0, 58269, 0, 0, 0, 1), -- 6Massive Turkey Leg
    (58036, 0, 58268, 0, 0, 0, 1), -- 6Roasted Beef
    (58036, 0, 58256, 0, 0, 0, 1), -- 6Sparkling Oasis Water
    (58036, 0, 58280, 0, 0, 0, 1); -- 6Stewed Rabbit
     
     
    -- http://old.wowhead.com/npc=55689
    DELETE FROM `pickpocketing_loot_template` WHERE `entry` = 55689;
    INSERT INTO `pickpocketing_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
    (55689, 74246, 172.5904, 1, 0, 1, 1), -- 6Cryptomancer's Decoder Ring
    (55689, 78421, 0.3012, 1, 0, 1, 1), -- 3Signet of Grasping Mouths
    (55689, 78427, 0.3012, 1, 0, 1, 1), -- 3Ring of the Riven
    (55689, 78874, 0.3012, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Vanquisher
    (55689, 78876, 0.3012, 1, 0, 1, 1); -- 3Shoulders of the Corrupted Protector
    UPDATE `creature_template` SET `pickpocketloot` = 55689 WHERE `entry` = 55689;
     
    -- http://old.wowhead.com/npc=55689
    DELETE FROM `creature_loot_template` WHERE `entry` = 55689;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
    (55689, 77952, 107.5110, 1, 0, 1, 1), -- 2Elementium Gem Cluster
    (55689, 71998, 93.5398, 1, 0, 1, 1), -- 3Essence of Destruction
    (55689, 78170, 60.9392, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Vanquisher
    (55689, 78180, 50.4238, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Conqueror
    (55689, 78175, 49.8174, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Protector
    (55689, 78874, 41.7551, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Vanquisher
    (55689, 52078, 38.5646, 1, 0, 1, 1), -- 4Chaos Orb
    (55689, 78875, 36.5491, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Conqueror
    (55689, 78876, 32.0666, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Protector
    (55689, 78011, 25.5616, 1, 0, 1, 1), -- 3Signet of Grasping Mouths
    (55689, 78012, 25.2687, 1, 0, 1, 1), -- 3Ring of the Riven
    (55689, 77221, 22.6571, 1, 0, 1, 1), -- 3Lightning Rod
    (55689, 78427, 19.6320, 1, 0, 1, 1), -- 3Ring of the Riven
    (55689, 77250, 19.4425, 1, 0, 1, 1), -- 3Runescriven Demon Collar
    (55689, 77249, 19.2530, 1, 0, 1, 1), -- 3Bracers of the Banished
    (55689, 77251, 19.1566, 1, 0, 1, 1), -- 3Treads of Dormant Dreams
    (55689, 78421, 18.5157, 1, 0, 1, 1), -- 3Signet of Grasping Mouths
    (55689, 78425, 15.7800, 1, 0, 1, 1), -- 3Bracers of the Banished
    (55689, 77220, 15.6009, 1, 0, 1, 1), -- 3Electrowing Dagger
    (55689, 78423, 14.9945, 1, 0, 1, 1), -- 3Treads of Dormant Dreams
    (55689, 78861, 13.1787, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Vanquisher
    (55689, 78424, 12.9961, 1, 0, 1, 1), -- 3Runescriven Demon Collar
    (55689, 78422, 12.6826, 1, 0, 1, 1), -- 3Electrowing Dagger
    (55689, 77248, 12.3725, 1, 0, 1, 1), -- 3Girdle of the Grotesque
    (55689, 78859, 11.2045, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Conqueror
    (55689, 78860, 10.4224, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Protector
    (55689, 78428, 9.2613, 1, 0, 1, 1), -- 3Girdle of the Grotesque
    (55689, 78419, 7.5662, 1, 0, 1, 1), -- 3Ring of the Riven
    (55689, 78413, 7.0114, 1, 0, 1, 1), -- 3Signet of Grasping Mouths
    (55689, 78418, 6.4292, 1, 0, 1, 1), -- 3Lightning Rod
    (55689, 78417, 5.8469, 1, 0, 1, 1), -- 3Bracers of the Banished
    (55689, 78416, 5.5747, 1, 0, 1, 1), -- 3Runescriven Demon Collar
    (55689, 78415, 5.5196, 1, 0, 1, 1), -- 3Treads of Dormant Dreams
    (55689, 78414, 4.9683, 1, 0, 1, 1), -- 3Electrowing Dagger
    (55689, 78420, 3.6659, 1, 0, 1, 1), -- 3Girdle of the Grotesque
    (55689, 77209, 1.4402, 1, 0, 1, 1), -- 3Windward Heart
    (55689, 77232, 1.3920, 1, 0, 1, 1), -- 3Hardheart Ring
    (55689, 78862, 1.3747, 1, 0, 1, 1), -- 3Chest of the Corrupted Vanquisher
    (55689, 77229, 1.3644, 1, 0, 1, 1), -- 3Signet of Suturing
    (55689, 77211, 1.3230, 1, 0, 1, 1), -- 3Indomitable Pride
    (55689, 77231, 1.2989, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55689, 77230, 1.2817, 1, 0, 1, 1), -- 3Breathstealer Band
    (55689, 78868, 1.2300, 1, 0, 1, 1), -- 3Crown of the Corrupted Vanquisher
    (55689, 78871, 1.2197, 1, 0, 1, 1), -- 3Leggings of the Corrupted Vanquisher
    (55689, 77208, 1.1818, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55689, 77207, 1.1783, 1, 0, 1, 1), -- 3Vial of Shadows
    (55689, 77210, 1.1611, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55689, 78497, 1.1508, 1, 0, 1, 1), -- 3Breathstealer Band
    (55689, 77979, 1.1439, 1, 0, 1, 1), -- 3Vial of Shadows
    (55689, 78869, 1.1267, 1, 0, 1, 1), -- 3Crown of the Corrupted Conqueror
    (55689, 78865, 1.1060, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Vanquisher
    (55689, 78867, 1.0991, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Protector
    (55689, 77228, 1.0922, 1, 0, 1, 1), -- 3Infinite Loop
    (55689, 78863, 1.0233, 1, 0, 1, 1), -- 3Chest of the Corrupted Conqueror
    (55689, 78872, 0.9992, 1, 0, 1, 1), -- 3Leggings of the Corrupted Conqueror
    (55689, 78866, 0.9682, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Conqueror
    (55689, 78498, 0.9578, 1, 0, 1, 1), -- 3Hardheart Ring
    (55689, 78864, 0.9440, 1, 0, 1, 1), -- 3Chest of the Corrupted Protector
    (55689, 77980, 0.9234, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55689, 78496, 0.9061, 1, 0, 1, 1), -- 3Signet of Suturing
    (55689, 77982, 0.8924, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55689, 77983, 0.8614, 1, 0, 1, 1), -- 3Indomitable Pride
    (55689, 78873, 0.8614, 1, 0, 1, 1), -- 3Leggings of the Corrupted Protector
    (55689, 78495, 0.7821, 1, 0, 1, 1), -- 3Infinite Loop
    (55689, 78870, 0.7339, 1, 0, 1, 1), -- 3Crown of the Corrupted Protector
    (55689, 78494, 0.7063, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55689, 77981, 0.6719, 1, 0, 1, 1), -- 3Windward Heart
    (55689, 77999, 0.4307, 1, 0, 1, 1), -- 3Vial of Shadows
    (55689, 78492, 0.4135, 1, 0, 1, 1), -- 3Breathstealer Band
    (55689, 78493, 0.4100, 1, 0, 1, 1), -- 3Hardheart Ring
    (55689, 78001, 0.3790, 1, 0, 1, 1), -- 3Windward Heart
    (55689, 78002, 0.3756, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55689, 78003, 0.3514, 1, 0, 1, 1), -- 3Indomitable Pride
    (55689, 78000, 0.3480, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55689, 78491, 0.3239, 1, 0, 1, 1), -- 3Signet of Suturing
    (55689, 78490, 0.3032, 1, 0, 1, 1), -- 3Infinite Loop
    (55689, 78489, 0.2998, 1, 0, 1, 1); -- 3Seal of Primordial Shadow
    -- http://www.wowhead.com/npc=55689
    DELETE FROM `creature_template` WHERE `entry`=55689 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 55689, 0, 0, 0, 0, 0, 39318, 0, 0, 0, "Hagara the Stormbinder", "", "", 0, 86, 86, 3, 16, 16, 0, 1.0, 1.57143, 1.0, 1, 4209, 5077, 0, 1, 7.4, 2000, 0, 2, 0, 0, 0, 0, 0, 0, 0, 4209, 5077, 1, 7, 108, 55689, 55689, 0, 0, 0, 0, 0, 0, 0, 64238, 0, 108934, 107850, 107851, 109325, 105256, 104448, 0, 0, 120000, 681619, "SmartAI", 0, 3, 1436.9084, 105.1755, 1.0, 0, 0, 0, 0, 0, 0, 0, 157, 1, 0, 0, 1, "", "15595");
     
    -- http://www.wowhead.com/npc=55312
    DELETE FROM `creature_template` WHERE `entry`=55312 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 55312, 0, 0, 0, 0, 0, 39101, 0, 0, 0, "Yor'sahj the Unsleeping", "", "", 0, 86, 86, 3, 16, 16, 0, 3.2, 2.0, 1.0, 3, 5021, 6012, 0, 1, 7.0, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 5021, 6012, 1, 10, 108, 55312, 0, 0, 0, 0, 0, 0, 0, 0, 104898, 26662, 104894, 105027, 104897, 105171, 104901, 105033, 0, 0, 120000, 744525, "SmartAI", 0, 3, 1561.8395, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 187, 1, 0, 0, 1, "", "15595");
    -- http://old.wowhead.com/npc=55312
    DELETE FROM `creature_loot_template` WHERE `entry` = 55312;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
    (55312, 77952, 82.4730, 1, 0, 1, 1), -- 2Elementium Gem Cluster
    (55312, 71998, 72.6633, 1, 0, 1, 1), -- 3Essence of Destruction
    (55312, 78871, 62.6505, 1, 0, 1, 1), -- 3Leggings of the Corrupted Vanquisher
    (55312, 78872, 55.2260, 1, 0, 1, 1), -- 3Leggings of the Corrupted Conqueror
    (55312, 78873, 48.4556, 1, 0, 1, 1), -- 3Leggings of the Corrupted Protector
    (55312, 78171, 42.8258, 1, 0, 1, 1), -- 3Leggings of the Corrupted Vanquisher
    (55312, 78181, 35.2524, 1, 0, 1, 1), -- 3Leggings of the Corrupted Conqueror
    (55312, 78176, 34.6054, 1, 0, 1, 1), -- 3Leggings of the Corrupted Protector
    (55312, 77971, 30.2555, 1, 0, 1, 1), -- 3Insignia of the Corrupted Mind
    (55312, 78408, 20.8544, 1, 0, 1, 1), -- 3Interrogator's Bloody Footpads
    (55312, 77203, 19.3548, 1, 0, 1, 1), -- 3Insignia of the Corrupted Mind
    (55312, 77970, 18.9227, 1, 0, 1, 1), -- 3Soulshifter Vortex
    (55312, 77219, 17.9946, 1, 0, 1, 1), -- 3Scalpel of Unrelenting Agony
    (55312, 77217, 15.5812, 1, 0, 1, 1), -- 3Experimental Specimen Slicer
    (55312, 78411, 15.2104, 1, 0, 1, 1), -- 3Mindstrainer Treads
    (55312, 78412, 14.4854, 1, 0, 1, 1), -- 3Heartblood Wristplates
    (55312, 77206, 14.3579, 1, 0, 1, 1), -- 3Soulshifter Vortex
    (55312, 78858, 13.5951, 1, 0, 1, 1), -- 3Leggings of the Corrupted Vanquisher
    (55312, 77254, 13.3495, 1, 0, 1, 1), -- 3Interrogator's Bloody Footpads
    (55312, 77218, 13.0614, 1, 0, 1, 1), -- 3Spire of Coagulated Globules
    (55312, 78856, 11.2478, 1, 0, 1, 1), -- 3Leggings of the Corrupted Conqueror
    (55312, 78857, 11.1982, 1, 0, 1, 1), -- 3Leggings of the Corrupted Protector
    (55312, 77252, 9.9702, 1, 0, 1, 1), -- 3Mindstrainer Treads
    (55312, 77253, 9.5334, 1, 0, 1, 1), -- 3Heartblood Wristplates
    (55312, 77991, 7.3537, 1, 0, 1, 1), -- 3Insignia of the Corrupted Mind
    (55312, 78874, 6.7562, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Vanquisher
    (55312, 78404, 6.7562, 1, 0, 1, 1), -- 3Scalpel of Unrelenting Agony
    (55312, 78862, 6.0502, 1, 0, 1, 1), -- 3Chest of the Corrupted Vanquisher
    (55312, 78868, 5.8943, 1, 0, 1, 1), -- 3Crown of the Corrupted Vanquisher
    (55312, 78403, 5.8471, 1, 0, 1, 1), -- 3Experimental Specimen Slicer
    (55312, 78865, 5.6322, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Vanquisher
    (55312, 77990, 5.3228, 1, 0, 1, 1), -- 3Soulshifter Vortex
    (55312, 78863, 5.3086, 1, 0, 1, 1), -- 3Chest of the Corrupted Conqueror
    (55312, 78875, 5.1292, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Conqueror
    (55312, 78401, 5.0040, 1, 0, 1, 1), -- 3Spire of Coagulated Globules
    (55312, 78402, 4.7797, 1, 0, 1, 1), -- 3Interrogator's Bloody Footpads
    (55312, 78867, 4.6026, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Protector
    (55312, 78876, 4.5931, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Protector
    (55312, 78869, 4.5506, 1, 0, 1, 1), -- 3Crown of the Corrupted Conqueror
    (55312, 78864, 4.3499, 1, 0, 1, 1), -- 3Chest of the Corrupted Protector
    (55312, 78870, 4.2578, 1, 0, 1, 1), -- 3Crown of the Corrupted Protector
    (55312, 78866, 3.9909, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Conqueror
    (55312, 78406, 3.8115, 1, 0, 1, 1), -- 3Heartblood Wristplates
    (55312, 78405, 3.7690, 1, 0, 1, 1), -- 3Mindstrainer Treads
    (55312, 78497, 1.5964, 1, 0, 1, 1), -- 3Breathstealer Band
    (55312, 77983, 1.5043, 1, 0, 1, 1), -- 3Indomitable Pride
    (55312, 77980, 1.4665, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55312, 77979, 1.4216, 1, 0, 1, 1), -- 3Vial of Shadows
    (55312, 78498, 1.3791, 1, 0, 1, 1), -- 3Hardheart Ring
    (55312, 77981, 1.3602, 1, 0, 1, 1), -- 3Windward Heart
    (55312, 78496, 1.3248, 1, 0, 1, 1), -- 3Signet of Suturing
    (55312, 77982, 1.2894, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55312, 78495, 1.2374, 1, 0, 1, 1), -- 3Infinite Loop
    (55312, 78494, 1.1642, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55312, 77211, 1.0957, 1, 0, 1, 1), -- 3Indomitable Pride
    (55312, 77228, 1.0580, 1, 0, 1, 1), -- 3Infinite Loop
    (55312, 77232, 1.0249, 1, 0, 1, 1), -- 3Hardheart Ring
    (55312, 77210, 0.9895, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55312, 77230, 0.9635, 1, 0, 1, 1), -- 3Breathstealer Band
    (55312, 77208, 0.9233, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55312, 77209, 0.9021, 1, 0, 1, 1), -- 3Windward Heart
    (55312, 77207, 0.8383, 1, 0, 1, 1), -- 3Vial of Shadows
    (55312, 77229, 0.8336, 1, 0, 1, 1), -- 3Signet of Suturing
    (55312, 77231, 0.8336, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55312, 78490, 0.3023, 1, 0, 1, 1), -- 3Infinite Loop
    (55312, 78003, 0.2763, 1, 0, 1, 1), -- 3Indomitable Pride
    (55312, 78000, 0.2739, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55312, 77999, 0.2621, 1, 0, 1, 1), -- 3Vial of Shadows
    (55312, 78492, 0.2243, 1, 0, 1, 1), -- 3Breathstealer Band
    (55312, 78001, 0.2196, 1, 0, 1, 1), -- 3Windward Heart
    (55312, 78002, 0.2031, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55312, 78491, 0.2031, 1, 0, 1, 1), -- 3Signet of Suturing
    (55312, 78493, 0.2031, 1, 0, 1, 1), -- 3Hardheart Ring
    (55312, 78489, 0.2007, 1, 0, 1, 1); -- 3Seal of Primordial Shadow
     
    -- http://www.wowhead.com/npc=55294
    DELETE FROM `creature_template` WHERE `entry`=55294 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 55294, 0, 0, 0, 0, 0, 39099, 0, 0, 0, "Ultraxion", "", "", 0, 86, 86, 3, 16, 16, 0, 1.0, 1.42857, 1.0, 1, 4261, 5014, 0, 1, 5.0, 2000, 2000, 1, 32832, 0, 0, 0, 0, 0, 0, 4261, 5014, 1, 2, 2097260, 55294, 0, 0, 0, 0, 0, 0, 0, 0, 109075, 106371, 106415, 106388, 106369, 106376, 0, 106377, 0, 1847, 0, 0, "SmartAI", 0, 3, 2568.0747, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 144, 1, 0, 0, 1, "", "15595");
     
    -- http://old.wowhead.com/npc=55294
    DELETE FROM `creature_loot_template` WHERE `entry` = 55294;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
    (55294, 78862, 26.0809, 1, 0, 1, 1), -- 3Chest of the Corrupted Vanquisher
    (55294, 78863, 25.6625, 1, 0, 1, 1), -- 3Chest of the Corrupted Conqueror
    (55294, 77952, 24.9651, 1, 0, 1, 1), -- 2Elementium Gem Cluster
    (55294, 71998, 22.1757, 1, 0, 1, 1), -- 3Essence of Destruction
    (55294, 78864, 21.8968, 1, 0, 1, 1), -- 3Chest of the Corrupted Protector
    (55294, 78174, 20.9205, 1, 0, 1, 1), -- 3Chest of the Corrupted Vanquisher
    (55294, 78184, 20.9205, 1, 0, 1, 1), -- 3Chest of the Corrupted Conqueror
    (55294, 78179, 17.8522, 1, 0, 1, 1), -- 3Chest of the Corrupted Protector
    (55294, 77972, 12.9707, 1, 0, 1, 1), -- 3Creche of the Final Dragon
    (55294, 78440, 11.2971, 1, 0, 1, 1), -- 3Curled Twilight Claw
    (55294, 78442, 10.0418, 1, 0, 1, 1), -- 3Treads of Sordid Screams
    (55294, 78443, 9.9024, 1, 0, 1, 1), -- 3Imperfect Specimens 27 and 28
    (55294, 78444, 9.7629, 1, 0, 1, 1), -- 3Dragonfracture Belt
    (55294, 77243, 9.4840, 1, 0, 1, 1), -- 3Treads of Sordid Screams
    (55294, 77245, 9.0656, 1, 0, 1, 1), -- 3Ledger of Revolting Rituals
    (55294, 78441, 8.6471, 1, 0, 1, 1), -- 3Ledger of Revolting Rituals
    (55294, 78013, 6.5551, 1, 0, 1, 1), -- 3Curled Twilight Claw
    (55294, 77223, 6.1367, 1, 0, 1, 1), -- 3Morningstar of Heroic Will
    (55294, 78439, 5.9972, 1, 0, 1, 1), -- 3Stillheart Warboots
    (55294, 77205, 5.9972, 1, 0, 1, 1), -- 3Creche of the Final Dragon
    (55294, 77242, 5.7183, 1, 0, 1, 1), -- 3Imperfect Specimens 27 and 28
    (55294, 77244, 5.5788, 1, 0, 1, 1), -- 3Dragonfracture Belt
    (55294, 77247, 5.0209, 1, 0, 1, 1), -- 3Bracers of Looming Darkness
    (55294, 78438, 4.6025, 1, 0, 1, 1), -- 3Bracers of Looming Darkness
    (55294, 77246, 4.4630, 1, 0, 1, 1), -- 3Stillheart Warboots
    (55294, 78865, 1.9526, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Vanquisher
    (55294, 78874, 1.2552, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Vanquisher
    (55294, 77207, 1.2552, 1, 0, 1, 1), -- 3Vial of Shadows
    (55294, 77980, 1.1158, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55294, 77983, 1.1158, 1, 0, 1, 1), -- 3Indomitable Pride
    (55294, 78496, 1.1158, 1, 0, 1, 1), -- 3Signet of Suturing
    (55294, 78494, 0.9763, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55294, 77230, 0.9763, 1, 0, 1, 1), -- 3Breathstealer Band
    (55294, 77979, 0.8368, 1, 0, 1, 1), -- 3Vial of Shadows
    (55294, 77981, 0.6974, 1, 0, 1, 1), -- 3Windward Heart
    (55294, 78498, 0.6974, 1, 0, 1, 1), -- 3Hardheart Ring
    (55294, 78868, 0.6974, 1, 0, 1, 1), -- 3Crown of the Corrupted Vanquisher
    (55294, 78872, 0.6974, 1, 0, 1, 1), -- 3Leggings of the Corrupted Conqueror
    (55294, 77209, 0.6974, 1, 0, 1, 1), -- 3Windward Heart
    (55294, 77228, 0.6974, 1, 0, 1, 1), -- 3Infinite Loop
    (55294, 77232, 0.6974, 1, 0, 1, 1), -- 3Hardheart Ring
    (55294, 78876, 0.5579, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Protector
    (55294, 77210, 0.5579, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55294, 77211, 0.5579, 1, 0, 1, 1), -- 3Indomitable Pride
    (55294, 78495, 0.4184, 1, 0, 1, 1), -- 3Infinite Loop
    (55294, 78875, 0.4184, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Conqueror
    (55294, 77208, 0.4184, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55294, 77982, 0.2789, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55294, 78497, 0.1395, 1, 0, 1, 1), -- 3Breathstealer Band
    (55294, 78866, 0.1395, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Conqueror
    (55294, 78867, 0.1395, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Protector
    (55294, 78869, 0.1395, 1, 0, 1, 1), -- 3Crown of the Corrupted Conqueror
    (55294, 78870, 0.1395, 1, 0, 1, 1), -- 3Crown of the Corrupted Protector
    (55294, 78871, 0.1395, 1, 0, 1, 1), -- 3Leggings of the Corrupted Vanquisher
    (55294, 78873, 0.1395, 1, 0, 1, 1), -- 3Leggings of the Corrupted Protector
    (55294, 77229, 0.1395, 1, 0, 1, 1), -- 3Signet of Suturing
    (55294, 77231, 0.1395, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55294, 77992, 0.1395, 1, 0, 1, 1), -- 3Creche of the Final Dragon
    (55294, 77999, 0.1395, 1, 0, 1, 1), -- 3Vial of Shadows
    (55294, 78000, 0.1395, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55294, 78001, 0.1395, 1, 0, 1, 1), -- 3Windward Heart
    (55294, 78002, 0.1395, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55294, 78003, 0.1395, 1, 0, 1, 1), -- 3Indomitable Pride
    (55294, 78429, 0.1395, 1, 0, 1, 1), -- 3Morningstar of Heroic Will
    (55294, 78430, 0.1395, 1, 0, 1, 1), -- 3Bracers of Looming Darkness
    (55294, 78431, 0.1395, 1, 0, 1, 1), -- 3Stillheart Warboots
    (55294, 78432, 0.1395, 1, 0, 1, 1), -- 3Curled Twilight Claw
    (55294, 78433, 0.1395, 1, 0, 1, 1), -- 3Ledger of Revolting Rituals
    (55294, 78434, 0.1395, 1, 0, 1, 1), -- 3Treads of Sordid Screams
    (55294, 78435, 0.1395, 1, 0, 1, 1), -- 3Imperfect Specimens 27 and 28
    (55294, 78436, 0.1395, 1, 0, 1, 1), -- 3Dragonfracture Belt
    (55294, 78489, 0.1395, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55294, 78490, 0.1395, 1, 0, 1, 1), -- 3Infinite Loop
    (55294, 78491, 0.1395, 1, 0, 1, 1), -- 3Signet of Suturing
    (55294, 78492, 0.1395, 1, 0, 1, 1), -- 3Breathstealer Band
    (55294, 78493, 0.1395, 1, 0, 1, 1), -- 3Hardheart Ring
    (55294, 78847, 0.1395, 1, 0, 1, 1), -- 3Chest of the Corrupted Conqueror
    (55294, 78848, 0.1395, 1, 0, 1, 1), -- 3Chest of the Corrupted Protector
    (55294, 78849, 0.1395, 1, 0, 1, 1); -- 3Chest of the Corrupted Vanquisher
     
    -- http://old.wowhead.com/npc=56427
    DELETE FROM `creature_loot_template` WHERE `entry` = 56427;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
    (56427, 77952, 107.4588, 1, 0, 1, 1), -- 2Elementium Gem Cluster
    (56427, 71998, 95.1772, 1, 0, 1, 1), -- 3Essence of Destruction
    (56427, 78172, 63.7575, 1, 0, 1, 1), -- 3Crown of the Corrupted Vanquisher
    (56427, 78868, 57.0244, 1, 0, 1, 1), -- 3Crown of the Corrupted Vanquisher
    (56427, 78182, 54.9314, 1, 0, 1, 1), -- 3Crown of the Corrupted Conqueror
    (56427, 78177, 52.5422, 1, 0, 1, 1), -- 3Crown of the Corrupted Protector
    (56427, 78869, 49.3484, 1, 0, 1, 1), -- 3Crown of the Corrupted Conqueror
    (56427, 78870, 44.7428, 1, 0, 1, 1), -- 3Crown of the Corrupted Protector
    (56427, 77973, 25.3727, 1, 0, 1, 1), -- 3Starcatcher Compass
    (56427, 77202, 24.5829, 1, 0, 1, 1), -- 3Starcatcher Compass
    (56427, 77224, 22.8502, 1, 0, 1, 1), -- Ataraxis, Cudgel of the Warmaster
    (56427, 77225, 21.1966, 1, 0, 1, 1), -- 3Visage of the Destroyer
    (56427, 77240, 18.8962, 1, 0, 1, 1), -- 3Shadow Wing Armbands
    (56427, 77241, 18.4964, 1, 0, 1, 1), -- 3Belt of the Beloved Companion
    (56427, 78454, 18.2200, 1, 0, 1, 1), -- 3Shadow Wing Armbands
    (56427, 77234, 17.6424, 1, 0, 1, 1), -- 3Janglespur Jackboots
    (56427, 77239, 17.2031, 1, 0, 1, 1), -- 3Goriona's Collar
    (56427, 77226, 17.0797, 1, 0, 1, 1), -- 3Blackhorn's Mighty Bulwark
    (56427, 77227, 16.9266, 1, 0, 1, 1), -- 3Timepiece of the Bronze Flight
    (56427, 78457, 16.7144, 1, 0, 1, 1), -- 3Janglespur Jackboots
    (56427, 78460, 16.0973, 1, 0, 1, 1), -- 3Goriona's Collar
    (56427, 78455, 15.9591, 1, 0, 1, 1), -- 3Belt of the Beloved Companion
    (56427, 78456, 15.0657, 1, 0, 1, 1), -- 3Blackhorn's Mighty Bulwark
    (56427, 78458, 15.0657, 1, 0, 1, 1), -- 3Timepiece of the Bronze Flight
    (56427, 78852, 10.0602, 1, 0, 1, 1), -- 3Crown of the Corrupted Vanquisher
    (56427, 78850, 8.5053, 1, 0, 1, 1), -- 3Crown of the Corrupted Conqueror
    (56427, 78851, 8.3374, 1, 0, 1, 1), -- 3Crown of the Corrupted Protector
    (56427, 77993, 4.7932, 1, 0, 1, 1), -- 3Starcatcher Compass
    (56427, 78445, 4.3686, 1, 0, 1, 1), -- Ataraxis, Cudgel of the Warmaster
    (56427, 78447, 4.1268, 1, 0, 1, 1), -- 3Belt of the Beloved Companion
    (56427, 78451, 4.0527, 1, 0, 1, 1), -- 3Visage of the Destroyer
    (56427, 78446, 3.7516, 1, 0, 1, 1), -- 3Shadow Wing Armbands
    (56427, 78449, 3.7319, 1, 0, 1, 1), -- 3Janglespur Jackboots
    (56427, 78874, 3.6825, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Vanquisher
    (56427, 78871, 3.5887, 1, 0, 1, 1), -- 3Leggings of the Corrupted Vanquisher
    (56427, 78862, 3.5492, 1, 0, 1, 1), -- 3Chest of the Corrupted Vanquisher
    (56427, 78452, 3.3172, 1, 0, 1, 1), -- 3Goriona's Collar
    (56427, 78448, 3.3123, 1, 0, 1, 1), -- 3Blackhorn's Mighty Bulwark
    (56427, 78865, 3.2481, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Vanquisher
    (56427, 78863, 3.2135, 1, 0, 1, 1), -- 3Chest of the Corrupted Conqueror
    (56427, 78875, 3.0852, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Conqueror
    (56427, 78450, 3.0112, 1, 0, 1, 1), -- 3Timepiece of the Bronze Flight
    (56427, 78876, 2.7397, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Protector
    (56427, 78872, 2.6064, 1, 0, 1, 1), -- 3Leggings of the Corrupted Conqueror
    (56427, 78864, 2.5422, 1, 0, 1, 1), -- 3Chest of the Corrupted Protector
    (56427, 78867, 2.4780, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Protector
    (56427, 78873, 2.3991, 1, 0, 1, 1), -- 3Leggings of the Corrupted Protector
    (56427, 78866, 2.2460, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Conqueror
    (56427, 77211, 1.3920, 1, 0, 1, 1), -- 3Indomitable Pride
    (56427, 77231, 1.2785, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (56427, 77232, 1.2736, 1, 0, 1, 1), -- 3Hardheart Ring
    (56427, 77209, 1.2440, 1, 0, 1, 1), -- 3Windward Heart
    (56427, 77229, 1.1946, 1, 0, 1, 1), -- 3Signet of Suturing
    (56427, 77230, 1.1699, 1, 0, 1, 1), -- 3Breathstealer Band
    (56427, 78498, 1.1304, 1, 0, 1, 1), -- 3Hardheart Ring
    (56427, 77228, 1.1304, 1, 0, 1, 1), -- 3Infinite Loop
    (56427, 77208, 1.1255, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (56427, 77210, 1.0811, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (56427, 77207, 1.0564, 1, 0, 1, 1), -- 3Vial of Shadows
    (56427, 77981, 1.0366, 1, 0, 1, 1), -- 3Windward Heart
    (56427, 78494, 1.0317, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (56427, 77979, 1.0169, 1, 0, 1, 1), -- 3Vial of Shadows
    (56427, 77982, 1.0119, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (56427, 77980, 0.9725, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (56427, 78496, 0.9527, 1, 0, 1, 1), -- 3Signet of Suturing
    (56427, 78497, 0.9132, 1, 0, 1, 1), -- 3Breathstealer Band
    (56427, 77983, 0.8540, 1, 0, 1, 1), -- 3Indomitable Pride
    (56427, 78495, 0.8293, 1, 0, 1, 1), -- 3Infinite Loop
    (56427, 78492, 0.3357, 1, 0, 1, 1), -- 3Breathstealer Band
    (56427, 78003, 0.2863, 1, 0, 1, 1), -- 3Indomitable Pride
    (56427, 78491, 0.2814, 1, 0, 1, 1), -- 3Signet of Suturing
    (56427, 78001, 0.2419, 1, 0, 1, 1), -- 3Windward Heart
    (56427, 78493, 0.2419, 1, 0, 1, 1), -- 3Hardheart Ring
    (56427, 78000, 0.2320, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (56427, 77999, 0.1975, 1, 0, 1, 1), -- 3Vial of Shadows
    (56427, 78490, 0.1975, 1, 0, 1, 1), -- 3Infinite Loop
    (56427, 78489, 0.1925, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (56427, 78002, 0.1826, 1, 0, 1, 1); -- 3Bone-Link Fetish
     
    -- http://www.wowhead.com/npc=56427
    DELETE FROM `creature_template` WHERE `entry`=56427 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 56427, 0, 0, 0, 0, 0, 39399, 0, 0, 0, "Warmaster Blackhorn", "", "", 0, 86, 86, 3, 16, 16, 0, 2.0, 2.0, 1.0, 1, 4892, 5204, 0, 1, 7.0, 1500, 2000, 1, 32832, 0, 0, 0, 0, 0, 0, 4892, 5204, 1, 7, 76, 56427, 0, 0, 0, 0, 0, 0, 0, 0, 26662, 108042, 108044, 110137, 108046, 108043, 108045, 0, 0, 0, 0, 0, "SmartAI", 0, 3, 541.7145, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 184, 1, 0, 0, 1, "", "15595");
     
    -- http://www.wowhead.com/npc=55308
    DELETE FROM `creature_template` WHERE `entry`=55308 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 55308, 0, 0, 0, 0, 0, 39138, 0, 0, 0, "Warlord Zon'ozz", "", "", 0, 86, 86, 3, 16, 16, 0, 3.2, 2.28571, 1.0, 3, 4156, 5015, 0, 0, 7.0, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 4156, 5015, 0, 10, 108, 55308, 0, 0, 0, 0, 0, 0, 0, 0, 26662, 104378, 103434, 104543, 104322, 0, 0, 0, 0, 0, 120000, 726832, "SmartAI", 0, 3, 1567.5474, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 204, 1, 0, 0, 1, "", "15595");
     
    -- http://old.wowhead.com/npc=53879
    DELETE FROM `creature_template` WHERE `entry`=53879 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 53879, 0, 0, 0, 0, 0, 35268, 35268, 35268, 35268, "Deathwing", "The Destroyer", "", 0, 86, 86, 3, 16, 16, 0, 1.0, 1.14286, 1.0, 1, 4301, 5065, 0, 1, 11.0, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 4301, 5065, 1, 10, 0, 53879, 0, 0, 0, 0, 0, 0, 0, 0, 109048, 0, 0, 0, 0, 0, 0, 0, 0, 0, 120000, 1088761, "", 0, 3, 3949.9624, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, "", "15595");
     
    -- http://old.wowhead.com/npc=53879
    DELETE FROM `creature_loot_template` WHERE `entry` = 53879;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
    (53879, 78466, 27.5607, 1, 0, 1, 1), -- 3Gloves of Liquid Smoke
    (53879, 78467, 27.4172, 1, 0, 1, 1), -- 3Molten Blood Footpads
    (53879, 77974, 26.4238, 1, 0, 1, 1), -- 3Wrath of Unchaining
    (53879, 77977, 26.2141, 1, 0, 1, 1), -- 3Eye of Unmaking
    (53879, 77975, 24.8896, 1, 0, 1, 1), -- 3Will of Unbinding
    (53879, 78470, 23.5872, 1, 0, 1, 1), -- 3Backbreaker Spaulders
    (53879, 77978, 18.8742, 1, 0, 1, 1), -- 3Resolve of Undying
    (53879, 78469, 18.8079, 1, 0, 1, 1), -- 3Gauntlets of the Golden Thorn
    (53879, 77976, 18.2892, 1, 0, 1, 1), -- 3Heart of Unliving
    (53879, 78468, 18.0132, 1, 0, 1, 1), -- 3Belt of Shattered Elementium
    (53879, 77952, 13.0353, 1, 0, 1, 1), -- 2Elementium Gem Cluster
    (53879, 71998, 10.3753, 1, 0, 1, 1), -- 3Essence of Destruction
    (53879, 77236, 5.9603, 1, 0, 1, 1), -- 3Backbreaker Spaulders
    (53879, 77238, 5.1325, 1, 0, 1, 1), -- 3Molten Blood Footpads
    (53879, 77198, 5.1104, 1, 0, 1, 1), -- 3Will of Unbinding
    (53879, 78357, 5.1104, 1, 0, 1, 1), -- 3Gloves of Liquid Smoke
    (53879, 77197, 4.6358, 1, 0, 1, 1), -- 3Wrath of Unchaining
    (53879, 77200, 4.3377, 1, 0, 1, 1), -- 3Eye of Unmaking
    (53879, 77199, 3.9294, 1, 0, 1, 1), -- 3Heart of Unliving
    (53879, 77201, 3.9294, 1, 0, 1, 1), -- 3Resolve of Undying
    (53879, 77237, 3.2340, 1, 0, 1, 1), -- 3Belt of Shattered Elementium
    (53879, 77235, 2.8035, 1, 0, 1, 1), -- 3Gauntlets of the Golden Thorn
    (53879, 77994, 0.0110, 1, 0, 1, 1), -- 3Wrath of Unchaining
    (53879, 77995, 0.0110, 1, 0, 1, 1), -- 3Will of Unbinding
    (53879, 77996, 0.0110, 1, 0, 1, 1), -- 3Heart of Unliving
    (53879, 77997, 0.0110, 1, 0, 1, 1), -- 3Eye of Unmaking
    (53879, 77998, 0.0110, 1, 0, 1, 1), -- 3Resolve of Undying
    (53879, 78461, 0.0110, 1, 0, 1, 1), -- 3Gloves of Liquid Smoke
    (53879, 78462, 0.0110, 1, 0, 1, 1), -- 3Molten Blood Footpads
    (53879, 78463, 0.0110, 1, 0, 1, 1), -- 3Belt of Shattered Elementium
    (53879, 78464, 0.0110, 1, 0, 1, 1), -- 3Gauntlets of the Golden Thorn
    (53879, 78465, 0.0110, 1, 0, 1, 1); -- 3Backbreaker Spaulders
     
    -- http://old.wowhead.com/npc=56173
    DELETE FROM `creature_template` WHERE `entry`=56173 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 56173, 0, 0, 0, 0, 0, 39355, 0, 0, 0, "Deathwing", "The Destroyer", "", 0, 86, 86, 3, 16, 16, 0, 1.0, 1.14286, 1.0, 1, 5001, 7213, 0, 2, 11.0, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 5001, 7213, 2, 4, 76, 56173, 0, 0, 0, 0, 0, 0, 0, 0, 107018, 64238, 106523, 108649, 108601, 105651, 0, 0, 0, 1849, 120000, 1088256, "", 0, 3, 3544.374, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, "", "15595");
     
    -- http://old.wowhead.com/npc=56173
    DELETE FROM `creature_loot_template` WHERE `entry` = 56173;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
    (56173, 78484, 55.5442, 1, 0, 1, 1), --
    (56173, 78487, 54.4724, 1, 0, 1, 1), --
    (56173, 78485, 53.3741, 1, 0, 1, 1), -- 3Maw of the Dragonlord
    (56173, 78481, 48.1431, 1, 0, 1, 1), --
    (56173, 78482, 45.2559, 1, 0, 1, 1), --
    (56173, 71998, 44.4482, 1, 0, 1, 1), -- 3Essence of Destruction
    (56173, 78483, 38.8927, 1, 0, 1, 1), -- 3Blade of the Unmaker
    (56173, 78488, 37.4321, 1, 0, 1, 1), -- 3Souldrinker
    (56173, 78480, 37.3981, 1, 0, 1, 1), --
    (56173, 78486, 30.4801, 1, 0, 1, 1), --
    (56173, 77952, 24.7056, 1, 0, 1, 1), -- 2Elementium Gem Cluster
    (56173, 77196, 12.2320, 1, 0, 1, 1), -- 3Maw of the Dragonlord
    (56173, 77195, 12.0962, 1, 0, 1, 1), --
    (56173, 77191, 11.3979, 1, 0, 1, 1), --
    (56173, 77188, 10.8545, 1, 0, 1, 1), --
    (56173, 77194, 9.6392, 1, 0, 1, 1), --
    (56173, 77193, 9.0504, 1, 0, 1, 1), -- 3Souldrinker
    (56173, 78359, 8.4994, 1, 0, 1, 1), --
    (56173, 77189, 8.3145, 1, 0, 1, 1), -- 3Blade of the Unmaker
    (56173, 77190, 6.4387, 1, 0, 1, 1), --
    (56173, 77067, 4.5894, 1, 0, 1, 1), -- 3Reins of the Blazing Drake
    (56173, 77069, 2.7816, 1, 0, 1, 1), -- 3Life-Binder's Handmaiden
    (56173, 78478, 1.1549, 1, 0, 1, 1), --
    (56173, 78476, 1.1171, 1, 0, 1, 1), -- 3Maw of the Dragonlord
    (56173, 78472, 1.0643, 1, 0, 1, 1), --
    (56173, 78475, 0.9737, 1, 0, 1, 1), --
    (56173, 78473, 0.9549, 1, 0, 1, 1), --
    (56173, 78479, 0.9435, 1, 0, 1, 1), -- 3Souldrinker
    (56173, 78471, 0.8567, 1, 0, 1, 1), --
    (56173, 78474, 0.7624, 1, 0, 1, 1), -- 3Blade of the Unmaker
    (56173, 78477, 0.5359, 1, 0, 1, 1), --
    (56173, 78352, -0.4755, 1, 0, 1, 1); -- 2Fragment of Deathwing's Jaw
     
    -- http://old.wowhead.com/npc=55308
    DELETE FROM `creature_loot_template` WHERE `entry` = 55308;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
    (55308, 77952, 89.1343, 1, 0, 1, 1), -- 2Elementium Gem Cluster
    (55308, 71998, 77.8590, 1, 0, 1, 1), -- 3Essence of Destruction
    (55308, 78865, 57.1316, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Vanquisher
    (55308, 78867, 49.7664, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Protector
    (55308, 78173, 49.6057, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Vanquisher
    (55308, 78866, 44.9493, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Conqueror
    (55308, 78178, 41.7096, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Protector
    (55308, 78183, 41.5216, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Conqueror
    (55308, 77969, 31.6781, 1, 0, 1, 1), -- 3Seal of the Seven Signs
    (55308, 78395, 28.4172, 1, 0, 1, 1), -- 3Belt of Flayed Skin
    (55308, 78396, 27.1219, 1, 0, 1, 1), -- 3Treads of Crushed Flesh
    (55308, 77204, 22.7507, 1, 0, 1, 1), -- 3Seal of the Seven Signs
    (55308, 78398, 21.3766, 1, 0, 1, 1), -- 3Cord of the Slain Champion
    (55308, 78399, 17.8062, 1, 0, 1, 1), -- 3Finger of Zon'ozz
    (55308, 78397, 17.7395, 1, 0, 1, 1), -- 3Graveheart Bracers
    (55308, 77255, 17.4240, 1, 0, 1, 1), -- 3Cord of the Slain Champion
    (55308, 77215, 17.1267, 1, 0, 1, 1), -- 3Horrifying Horn Arbalest
    (55308, 77260, 16.9690, 1, 0, 1, 1), -- 3Belt of Flayed Skin
    (55308, 77259, 16.6748, 1, 0, 1, 1), -- 3Treads of Crushed Flesh
    (55308, 77258, 15.0731, 1, 0, 1, 1), -- 3Graveheart Bracers
    (55308, 77216, 15.0337, 1, 0, 1, 1), -- 3Finger of Zon'ozz
    (55308, 78400, 13.3956, 1, 0, 1, 1), -- 3Grotesquely Writhing Bracers
    (55308, 77257, 11.5695, 1, 0, 1, 1), -- 3Grotesquely Writhing Bracers
    (55308, 78855, 10.7778, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Vanquisher
    (55308, 78854, 9.3096, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Protector
    (55308, 78853, 8.8364, 1, 0, 1, 1), -- 3Gauntlets of the Corrupted Conqueror
    (55308, 77989, 6.2489, 1, 0, 1, 1), -- 3Seal of the Seven Signs
    (55308, 78387, 4.5016, 1, 0, 1, 1), -- 3Horrifying Horn Arbalest
    (55308, 78389, 4.4561, 1, 0, 1, 1), -- 3Treads of Crushed Flesh
    (55308, 78391, 4.4470, 1, 0, 1, 1), -- 3Cord of the Slain Champion
    (55308, 78388, 4.4318, 1, 0, 1, 1), -- 3Belt of Flayed Skin
    (55308, 78392, 3.9192, 1, 0, 1, 1), -- 3Finger of Zon'ozz
    (55308, 78390, 3.8403, 1, 0, 1, 1), -- 3Graveheart Bracers
    (55308, 78393, 2.9121, 1, 0, 1, 1), -- 3Grotesquely Writhing Bracers
    (55308, 77980, 1.8201, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55308, 77983, 1.7897, 1, 0, 1, 1), -- 3Indomitable Pride
    (55308, 78495, 1.6441, 1, 0, 1, 1), -- 3Infinite Loop
    (55308, 78496, 1.6411, 1, 0, 1, 1), -- 3Signet of Suturing
    (55308, 78497, 1.5713, 1, 0, 1, 1), -- 3Breathstealer Band
    (55308, 78498, 1.5531, 1, 0, 1, 1), -- 3Hardheart Ring
    (55308, 77982, 1.4894, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55308, 77981, 1.4530, 1, 0, 1, 1), -- 3Windward Heart
    (55308, 77979, 1.4257, 1, 0, 1, 1), -- 3Vial of Shadows
    (55308, 78494, 1.3832, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55308, 77207, 1.2194, 1, 0, 1, 1), -- 3Vial of Shadows
    (55308, 77231, 1.1830, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55308, 77228, 1.1588, 1, 0, 1, 1), -- 3Infinite Loop
    (55308, 77209, 1.1375, 1, 0, 1, 1), -- 3Windward Heart
    (55308, 77210, 1.1315, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55308, 77208, 1.1224, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55308, 77230, 1.1193, 1, 0, 1, 1), -- 3Breathstealer Band
    (55308, 77232, 1.1193, 1, 0, 1, 1), -- 3Hardheart Ring
    (55308, 77229, 1.1011, 1, 0, 1, 1), -- 3Signet of Suturing
    (55308, 77211, 1.0223, 1, 0, 1, 1), -- 3Indomitable Pride
    (55308, 78874, 0.7826, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Vanquisher
    (55308, 78875, 0.7432, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Conqueror
    (55308, 78871, 0.7098, 1, 0, 1, 1), -- 3Leggings of the Corrupted Vanquisher
    (55308, 78869, 0.6643, 1, 0, 1, 1), -- 3Crown of the Corrupted Conqueror
    (55308, 78873, 0.5885, 1, 0, 1, 1), -- 3Leggings of the Corrupted Protector
    (55308, 78862, 0.5764, 1, 0, 1, 1), -- 3Chest of the Corrupted Vanquisher
    (55308, 78868, 0.5673, 1, 0, 1, 1), -- 3Crown of the Corrupted Vanquisher
    (55308, 78872, 0.5460, 1, 0, 1, 1), -- 3Leggings of the Corrupted Conqueror
    (55308, 78863, 0.5339, 1, 0, 1, 1), -- 3Chest of the Corrupted Conqueror
    (55308, 78864, 0.5217, 1, 0, 1, 1), -- 3Chest of the Corrupted Protector
    (55308, 78876, 0.5005, 1, 0, 1, 1), -- 3Shoulders of the Corrupted Protector
    (55308, 78870, 0.4550, 1, 0, 1, 1), -- 3Crown of the Corrupted Protector
    (55308, 78492, 0.3549, 1, 0, 1, 1), -- 3Breathstealer Band
    (55308, 78001, 0.3428, 1, 0, 1, 1), -- 3Windward Heart
    (55308, 77999, 0.3337, 1, 0, 1, 1), -- 3Vial of Shadows
    (55308, 78000, 0.3246, 1, 0, 1, 1), -- 3Cunning of the Cruel
    (55308, 78493, 0.3215, 1, 0, 1, 1), -- 3Hardheart Ring
    (55308, 78002, 0.3155, 1, 0, 1, 1), -- 3Bone-Link Fetish
    (55308, 78490, 0.3064, 1, 0, 1, 1), -- 3Infinite Loop
    (55308, 78489, 0.2882, 1, 0, 1, 1), -- 3Seal of Primordial Shadow
    (55308, 78491, 0.2700, 1, 0, 1, 1), -- 3Signet of Suturing
    (55308, 78003, 0.2548, 1, 0, 1, 1); -- 3Indomitable Pride
     
    -- http://www.wowhead.com/npc=55695
    DELETE FROM `creature_template` WHERE `entry`=55695 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 55695, 0, 0, 0, 0, 0, 30890, 0, 0, 0, "Ice Tomb", "", "", 0, 85, 85, 3, 16, 16, 0, 1.0, 1.14286, 1.0, 1, 3762, 4788, 0, 2000, 3.0, 2000, 2000, 1, 0, 0, 0, 0, 0, 0, 0, 3762, 4788, 2000, 10, 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", 0, 3, 5.9202, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, "", "15595");
     
    -- http://www.wowhead.com/npc=57823
    DELETE FROM `creature_loot_template` WHERE `entry` = 57823;
    DELETE FROM `creature_template` WHERE `entry`=57823 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 57823, 0, 0, 0, 0, 0, 39914, 0, 0, 0, "Stormbinder Adept", "", "", 0, 85, 85, 3, 14, 14, 0, 1.2, 1.42857, 1.0, 1, 3109, 3704, 0, 1, 6.0, 2000, 2000, 2, 0, 0, 0, 0, 0, 0, 0, 3109, 3704, 1, 4, 72, 57823, 0, 0, 0, 0, 0, 0, 0, 0, 109443, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "SmartAI", 0, 3, 63.4311, 2.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 186, 1, 0, 0, 0, "", "15595");
     
    -- http://www.wowhead.com/npc=27953
    DELETE FROM `creature_template` WHERE `entry`=27953 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 27953, 0, 0, 0, 0, 0, 14357, 14358, 14359, 14355, "Wyrmrest Protector", "", "", 0, 85, 85, 3, 2013, 2013, 0, 0.992063, 0.992063, 1.0, 1, 4722, 6422, 0, 642, 5.6, 2000, 2000, 1, 32768, 0, 0, 0, 0, 0, 0, 4722, 6422, 642, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15496, 17547, 6533, 23337, 16145, 0, 0, 0, 0, 0, 0, 0, "EventAI", 0, 3, 25.7975, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, "", "12340");
     
    -- http://www.wowhead.com/npc=57817
    DELETE FROM `creature_template` WHERE `entry`=57817 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 57817, 0, 0, 0, 0, 0, 39829, 0, 0, 0, "Stormborn Mymidon", "", "", 0, 85, 85, 3, 14, 14, 0, 1.2, 1.42857, 1.0, 1, 4109, 4176, 0, 1, 4.9, 2000, 2000, 2, 0, 0, 0, 0, 0, 0, 0, 4109, 4176, 1, 4, 72, 0, 0, 0, 0, 0, 0, 0, 0, 0, 109348, 109368, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "SmartAI", 0, 3, 71.8886, 2.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 186, 1, 0, 0, 0, "", "15595");
     
     
    -- http://old.wowhead.com/npc=57821
    DELETE FROM `creature_loot_template` WHERE `entry` = 57821;
    INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `lootmode`, `groupid`, `mincountOrRef`, `maxcount`) VALUES
    (57821, 78882, 8.2759, 1, 0, 1, 1), -- 3Nightblind Cinch
    (57821, 78886, 7.6393, 1, 0, 1, 1); -- 3Belt of Ghostly Graces
     
    -- http://old.wowhead.com/npc=57821
    DELETE FROM `creature_template` WHERE `entry`=57821 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 57821, 0, 0, 0, 0, 0, 39836, 0, 0, 0, "Lieutenant Shara", "", "", 0, 85, 85, 3, 16, 16, 0, 1.2, 1.42857, 1.0, 1, 3109, 3922, 0, 1, 4.9, 2000, 2000, 2, 0, 0, 0, 0, 0, 0, 0, 3109, 3922, 1, 4, 72, 57821, 0, 0, 0, 0, 0, 0, 0, 0, 109333, 109305, 109331, 109393, 0, 0, 0, 0, 0, 0, 32123, 63508, "SmartAI", 0, 3, 143.7772, 2.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 186, 1, 0, 0, 0, "", "15595");
     
    -- http://www.wowhead.com/npc=57751
    DELETE FROM `creature_template` WHERE `entry`=57751 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 57751, 0, 0, 0, 0, 0, 39125, 0, 0, 0, "Ruin Tentacle", "", "", 0, 85, 85, 3, 16, 16, 0, 1.2, 1.42857, 1.0, 1, 1902, 3044, 0, 1, 3.0, 2000, 2000, 2, 0, 0, 0, 0, 0, 0, 0, 1902, 3044, 1, 10, 72, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", 0, 3, 38.0587, 2.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 147, 1, 0, 0, 0, "", "15595");
     
    -- http://www.wowhead.com/npc=57807
    DELETE FROM `creature_loot_template` WHERE `entry` = 57807;
    DELETE FROM `creature_template` WHERE `entry`=57807 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 57807, 0, 0, 0, 0, 0, 39828, 0, 0, 0, "Twilight Frost Evoker", "", "", 0, 85, 85, 3, 16, 16, 0, 1.2, 1.42857, 1.0, 1, 3609, 3909, 0, 1, 4.8, 2000, 2000, 2, 0, 0, 0, 0, 0, 0, 0, 3609, 3909, 1, 4, 72, 0, 0, 0, 0, 0, 0, 0, 0, 0, 109360, 109334, 109423, 0, 0, 0, 0, 0, 0, 0, 0, 0, "SmartAI", 0, 3, 63.4311, 2.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 186, 1, 0, 0, 0, "", "15595");
     
     
    DELETE FROM `creature_template` WHERE `entry`=56144 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 56144, 0, 0, 0, 0, 0, 39346, 0, 0, 0, "Portent of Twilight", "Twilight Dragonflight", "", 0, 86, 86, 3, 1771, 1771, 0, 1.2, 3.57143, 1.0, 1, 2990, 4056, 0, 0, 4.0, 2000, 2000, 1, 256, 0, 0, 0, 0, 0, 0, 2990, 4056, 0, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", 0, 3, 9.6101, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 247, 1, 0, 0, 0, "", "15595");
     
    DELETE FROM `creature_template` WHERE `entry`=56140 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 56140, 0, 0, 0, 0, 0, 28667, 0, 0, 0, "Dream Warden", "Green Dragonflight", "", 0, 85, 85, 3, 1770, 1770, 0, 1.2, 3.57143, 1.0, 1, 2651, 2651, 0, 0, 4.0, 2000, 2000, 1, 256, 0, 0, 0, 0, 0, 0, 2651, 2651, 0, 2, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", 0, 3, 11.2855, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 247, 1, 0, 0, 0, "", "15595");



    Status : lom di test >.<
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  10. #39
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL]Elevators Fix for some Zone

    Throne of The Tides Elevator

    Code :

    Spoiler untuk SQL :

    Code:
    DELETE FROM `gameobject` WHERE `guid` = 200291;INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES(200291, 207209, 643, 3, 1, -215.916, 805.182, 253.9, 3.10993, 0, 0, 0.999875, 0.0158323, 86400, 0, 1);



    Thunderbluff

    Code :

    Spoiler untuk SQL :

    Code:
    UPDATE `gameobject_template` SET type=11, displayId=360, name='Mesa Elevator', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='4171';UPDATE `gameobject_template` SET type=11, displayId=360, name='Mesa Elevator', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='4170';UPDATE `gameobject_template` SET type=11, displayId=360, name='Mesa Elevator', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='47297';UPDATE `gameobject_template` SET type=11, displayId=360, name='Mesa Elevator', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='47296';


    Gnomeragan

    Code :

    Spoiler untuk SQL Versi 1 :

    Code:
    UPDATE gameobject_template SET flags =40 WHERE entry =205079;


    Spoiler untuk SQL Versi 2 :

    Code:
    -- Change the NPC: Torben Zapblast for SmartAI so he can use scripts like teleports, change the Icon and Flag so he can speak single gossip
    UPDATE creature_template SET AIName = 'SmartAI', IconName = 'Speak', type_flags = 134221824 WHERE entry = 46293;
    -- Assign the gossip menu to Torben Zapblast
    DELETE FROM gossip_menu WHERE entry = 12104 AND text_id = 16995;
    INSERT INTO gossip_menu (entry, text_id) VALUES (12104, 16995);
    -- Update the gossip menu option to show the gossip option to leave gnomeragan
    UPDATE gossip_menu_option SET option_id = 1, npc_option_npcflag = 1 WHERE menu_id = 12104 AND id = 1;
    -- Create the telelport smart script so gnomes can exit their starting location
    DELETE FROM smart_scripts WHERE entryorguid = 46293;
    INSERT INTO smart_scripts (entryorguid, source_type, id, link, event_type, event_phase_mask, event_chance, event_flags,
    event_param1, event_param2, event_param3, event_param4, action_type, action_param1, action_param2, action_param3,
    action_param4, action_param5, action_param6, target_type, target_param1, target_param2, target_param3, target_x, target_y, target_z, target_o, comment)
    VALUES (46293, 0, 1, 0, 62, 0, 100, 0, 12104, 1, 0, 0, 62, 0, 0, 0, 0, 0, 0, 0, 8, 0, 0, -5201.2856, 477.5454, 388.471, 5.2577, 'Teleport');


    In retail, Torben Zapblast teleports you to the surface when you talk to him, you can use this temporary fix too by Guat that makes this work like retail, however, since the icon name and flags are changed, trinity hasn't approved it, but it works fine, Now, when you speak to Zapblast, he will teleport you to the surface like retail.

    Orgrimmar

    Code :

    Spoiler untuk SQL :

    Code:
    UPDATE `gameobject_template` SET `flags`=40 WHERE `entry` IN (206609, 206610, 206608, 196837, 207889, 152614);
    DELETE FROM `gameobject` WHERE `guid` IN (884, 47997, 886, 48000, 885, 48001, 875, 48005, 878, 48004);
    INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
    (884, 206609, 1, 1, 1, 1902.046, -4373.103, 43.99677, 5.707206, 0, 0, 0.9563048, -0.2923717, 120, 255, 1),
    (886, 206610, 1, 1, 1, 1755.314, -4396.597, 42.34779, 3.744939, 0, 0, 0.9563048, -0.2923717, 120, 255, 1),
    (885, 206608, 1, 1, 1, 1704.782, -4265.96, 34.88367, 3.976283, 0, 0, 0.9563048, -0.2923717, 120, 255, 1),
    (875, 196837, 1, 1, 1, 3218.322, -4502.832, 266.3751, 1.570796, 0, 0, 0.7071069, 0.7071066, 120, 255, 1),
    (878, 207889, 1, 1, 1, 2936.059, -4993.609, 126.7327, 6.051209, 0, 0, 1, -4.371139E-08, 120, 255, 1),
    (47997, 152614, 1, 1, 1, 2263.702, -5565.56, 33.93858, 5.183629, 0, 0, -0.5224984, 0.8526402, 120, 255, 1);


    Stonetalon Mountain & Azshara

    Code :

    Spoiler untuk SQL 1 :

    Code:
    UPDATE `gameobject_template` SET type=11, displayId=360, name='Mesa Elevator', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='11899';UPDATE `gameobject_template` SET type=11, displayId=360, name='Mesa Elevator', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='11898';


    fix elevator Cliffwalker Post in Stonetalon Mountains


    name : Mesa Elevator

    .go 2048.465820 1178.001099 321.55797 1


    Spoiler untuk SQL 2 :

    Code:
    UPDATE `gameobject_template` SET type=11, displayId=9693, name='Doodad_Goblin_elevator01', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='204243';UPDATE `gameobject_template` SET type=11, displayId=9693, name='Doodad_Goblin_elevator01', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='204245';UPDATE `gameobject_template` SET type=11, displayId=9693, name='Doodad_Goblin_elevator01', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='204244';UPDATE `gameobject_template` SET type=11, displayId=9693, name='Doodad_Goblin_elevator01', faction=0, flags=40, size=1, questItem1=0, questItem2=0, questItem3=0, questItem4=0, questItem5=0, questItem6=0, data0=0, data1=0, data2=0, data3=0, data4=0, data5=0, data6=0, data7=0, data8=0, data9=0, data10=0, data11=0, data12=0, data13=0, data14=0, data15=0, data16=0, data17=0, data18=0, data19=0, data20=0, data21=0, data22=0, data23=0 WHERE entry='204246';


    fix elevator Azshara


    name : Doodad_Goblin_elevator01

    .go 2640,2 -6173,19 99,0974 1
    .go 3556,32 -4814,44 121,833 1
    .go 4599.494141 -7024.019043 115.227364 1
    .go 4488.496582 -5710.652832 107.120827 1


    Status : g saya test :P
    Last edited by Achernar_Altair; 30-05-13 at 22:55.
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  11. #40
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL]Vendor Fix for Twilight Highland

    Description : add Vendors Missing Items (entah masih missing atau enggak saat ini, ane post2 aja)

    Code :

    Spoiler untuk SQL :

    Code:
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49751','0','58256','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49751','0','58257','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49751','0','58260','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49751','0','58261','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49751','0','58274','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49751','0','58275','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49752','0','3371','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49752','0','6532','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49752','0','10648','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49752','0','14341','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49752','0','38426','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49752','0','39354','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49752','0','39501','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49752','0','39502','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49754','0','17020','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49754','0','17030','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49754','0','17031','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49754','0','17032','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49754','0','17034','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49756','0','2880','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49756','0','2901','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49756','0','3466','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49756','0','3857','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49756','0','5956','0','0','0');
    insert into `npc_vendor` (`entry`, `slot`, `item`, `maxcount`, `incrtime`, `ExtendedCost`) values('49756','0','18567','0','0','0');


    Status : males ngetest :P
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  12. #41
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL]Firelands Fix

    Description : sesuai yang tertulis, well tp bukan fix buat encounter, phasing dan script bossnya


    Reference : here


    Code :
    Spoiler untuk SQL :
    Code:
    DELETE FROM `creature` WHERE `id` IN (53520,53375,53698,53693,53487,53691,52530,53369,53680,53734,53896,53900) AND `map`=720;
    
    DELETE FROM `gameobject` WHERE `id` IN (209036,208966,201722,209035) AND `map`=720;
    
    UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x80 WHERE `entry` IN (53723,53154,53789,53792,53787,53788);
    
    UPDATE `creature_template` SET `minlevel`=88,`maxlevel`=88,`exp`=3,`faction_A`=16,`faction_H`=16,`speed_walk`=3.2,`speed_run`=2,`baseattacktime`=2000,`rangeattacktime`=2000,`unit_class`=2,`unit_flags`=0x2008140,`unit_flags2`=0x8000800,`VehicleId`=1673,`HoverHeight`=14,`mana_mod_extra`=1.72414 WHERE `entry` IN (52530,54044,54045,54046);
    
    UPDATE `creature_template` SET `minlevel`=87,`maxlevel`=87,`exp`=3,`faction_A`=16,`faction_H`=16,`speed_walk`=3.2,`speed_run`=2,`baseattacktime`=2000,`rangeattacktime`=2000,`unit_flags`=0x8000,`unit_flags2`=0x800,`VehicleId`=1695 WHERE `entry` IN (54056,54057); -- Blazing Monstrosity
    
    UPDATE `creature_template` SET `minlevel`=87,`maxlevel`=87,`exp`=3,`faction_A`=16,`faction_H`=16,`speed_walk`=1,`speed_run`=1,`baseattacktime`=2000,`rangeattacktime`=2000,`unit_flags`=0x8000,`unit_flags2`=0x8800 WHERE `entry` IN (53795,54059); -- Egg Pile
    
    UPDATE `creature_template` SET `spell1`=100076,`spell2`=100080,`spell3`=100078,`spell4`=100082 WHERE `entry`=53789;
    
    UPDATE `creature_template` SET `spell1`=100090,`spell2`=100089,`spell3`=100091,`spell4`=100092 WHERE `entry`=53792;
    
    UPDATE `creature_template` SET `minlevel`=85,`maxlevel`=85,`exp`=3,`faction_A`=14,`faction_H`=14,`speed_walk`=1.2,`speed_run`=0.428571,`unit_flags`=0x2000000,`unit_flags2`=0x2000800 WHERE `entry` IN (53787,53788); -- Molten Barrage
    
    UPDATE `creature_template` SET `minlevel`=85,`maxlevel`=85,`exp`=3,`faction_A`=16,`faction_H`=16,`speed_walk`=3.2,`speed_run`=2,`unit_flags`=0x8000,`unit_flags2`=0x800,`baseattacktime`=2000,`rangeattacktime`=2000 WHERE `entry` IN (53794,54058); -- Smouldering Hatchling
    
    UPDATE `creature_template` SET `minlevel`=86,`maxlevel`=86,`exp`=3,`faction_A`=16,`faction_H`=16,`speed_walk`=1,`speed_run`=1.14286,`unit_flags`=0,`unit_flags2`=0x800,`baseattacktime`=2000,`rangeattacktime`=2000,`unit_class`=8,`dynamicflags`=0 WHERE `entry` IN (53793,53973); -- Harbinger of Flame
    
    UPDATE `creature_template` SET `difficulty_entry_1`=54044,`difficulty_entry_2`=54045,`difficulty_entry_3`=54046 WHERE `entry`=52530; -- Alysrazor
    
    UPDATE `creature_template` SET `difficulty_entry_1`=54056 WHERE `entry`=53786; -- Blazing Monstrosity
    
    UPDATE `creature_template` SET `difficulty_entry_1`=54057 WHERE `entry`=53791; -- Blazing Monstrosity
    
    UPDATE `creature_template` SET `difficulty_entry_1`=54059 WHERE `entry`=53795; -- Egg Pile
    
    UPDATE `creature_template` SET `difficulty_entry_1`=54058 WHERE `entry`=53794; -- Smouldering Hatchling
    
    UPDATE `creature_template` SET `difficulty_entry_1`=53973 WHERE `entry`=53793; -- Harbinger of Flame
    
    DELETE FROM `creature_template_addon` WHERE `entry` IN (53786,53791,54056,54057,53794,54058,54276,54019,53224,53102,52530,54044,54045,54046,53900,53680,53520,53693,53698);
    
    INSERT INTO `creature_template_addon` (`entry`, `mount`, `bytes1`, `bytes2`, `auras`) VALUES
    
    (53786, 0, 0x0, 0x1, '100712 99480'), -- Blazing Monstrosity - Fire Hawk Smoke Cosmetic, Sleep (Ultra-High Priority)
    
    (53791, 0, 0x0, 0x1, '100712 99480'), -- Blazing Monstrosity - Fire Hawk Smoke Cosmetic, Sleep (Ultra-High Priority)
    
    (54056, 0, 0x0, 0x1, '100712 99480'), -- Blazing Monstrosity - Fire Hawk Smoke Cosmetic, Sleep (Ultra-High Priority)
    
    (54057, 0, 0x0, 0x1, '100712 99480'), -- Blazing Monstrosity - Fire Hawk Smoke Cosmetic, Sleep (Ultra-High Priority)
    
    (53794, 0, 0x0, 0x1, '100712'), -- Smouldering Hatchling - Fire Hawk Smoke Cosmetic
    
    (54058, 0, 0x0, 0x1, '100712'), -- Smouldering Hatchling - Fire Hawk Smoke Cosmetic
    
    (54276, 0, 0x0, 0x1, '101112'), -- Cinderslither Snake - Cinderslither Aura
    
    (54019, 0, 0x0, 0x1, '100556'), -- Captive Druid of the Talon - Smouldering Roots
    
    (53224, 0, 0x0, 0x1, '100743'), -- Flamewaker Taskmaster - Aura of Indomitability
    
    (53102, 0, 0x3000000, 0x1, '100712'), -- Inferno Hawk - Fire Hawk Smoke Cosmetic
    
    (52530, 0, 0x0, 0x1, '100712'), -- Alysrazor - Fire Hawk Smoke Cosmetic
    
    (54044, 0, 0x0, 0x1, '100712'), -- Alysrazor - Fire Hawk Smoke Cosmetic
    
    (54045, 0, 0x0, 0x1, '100712'), -- Alysrazor - Fire Hawk Smoke Cosmetic
    
    (54046, 0, 0x0, 0x1, '100712'), -- Alysrazor - Fire Hawk Smoke Cosmetic
    
    (53900, 0, 0x3000000, 0x1, '100712'), -- Blazing Broodmother - Fire Hawk Smoke Cosmetic
    
    (53680, 0, 0x3000000, 0x1, '100712'), -- Blazing Broodmother - Fire Hawk Smoke Cosmetic
    
    (53520, 0, 0x0, 0x1, '99327'), -- Plump Lava Worm - Fire Worm Cosmetic
    
    (53693, 0, 0x0, 0x1, '99793'), -- Fiery Vortex - Fiery Vortex
    
    (53698, 0, 0x0, 0x1, '99817'); -- Fiery Tornado - Fiery Tornado
    
    DELETE FROM `vehicle_template_accessory` WHERE `entry` IN (53786,53791);
    
    INSERT INTO `vehicle_template_accessory` (`entry`, `accessory_entry`, `minion`, `description`, `summontype`, `summontimer`) VALUES
    
    (53786,53789,1,'Blazing Monstrosity',5,0),
    
    (53791,53792,1,'Blazing Monstrosity',5,0);
    
    DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN (53786,53791,53789,53792);
    
    INSERT INTO `npc_spellclick_spells` (`npc_entry`,`spell_id`,`cast_flags`) VALUES
    
    (53786,98509,1),
    
    (53791,98509,1),
    
    (53789,93970,1),
    
    (53792,93970,1);
    
    DELETE FROM `creature_text` WHERE `entry`=53795;
    
    INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
    
    (53795, 0, 0, 'The Molten Eggs begin to ***** and splinter!', 41, 0, 100, 0, 0, 0, 'Molten Egg - EMOTE_CRACKING_EGGS');
    
    -- ScriptNames and conditions
    
    UPDATE `instance_template` SET `script`='instance_firelands' WHERE `map`=720;
    
    UPDATE `creature_template` SET `ScriptName`='npc_harbinger_of_flame' WHERE `entry`=53793;
    
    UPDATE `creature_template` SET `ScriptName`='npc_blazing_monstrosity' WHERE `entry` IN (53786,53791);
    
    UPDATE `creature_template` SET `ScriptName`='npc_molten_barrage' WHERE `entry` IN (53787,53788);
    
    UPDATE `creature_template` SET `ScriptName`='npc_egg_pile' WHERE `entry`=53795;
    
    DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_alysrazor_cosmetic_egg_xplosion';
    
    DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_alysrazor_turn_monstrosity';
    
    DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_alysrazor_aggro_closest';
    
    DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_alysrazor_fieroblast';
    
    INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
    
    (100099,'spell_alysrazor_cosmetic_egg_xplosion'),
    
    (100076,'spell_alysrazor_turn_monstrosity'),
    
    (100078,'spell_alysrazor_turn_monstrosity'),
    
    (100080,'spell_alysrazor_turn_monstrosity'),
    
    (100082,'spell_alysrazor_turn_monstrosity'),
    
    (100089,'spell_alysrazor_turn_monstrosity'),
    
    (100090,'spell_alysrazor_turn_monstrosity'),
    
    (100091,'spell_alysrazor_turn_monstrosity'),
    
    (100092,'spell_alysrazor_turn_monstrosity'),
    
    (100462,'spell_alysrazor_aggro_closest'),
    
    (100094,'spell_alysrazor_fieroblast'),
    
    (101223,'spell_alysrazor_fieroblast'),
    
    (101294,'spell_alysrazor_fieroblast'),
    
    (101295,'spell_alysrazor_fieroblast'),
    
    (101296,'spell_alysrazor_fieroblast');
    
    DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (100558,100071,100074,100070,100076,100078,100080,100082,100089,100090,100091,100092);
    
    INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorType`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
    
    (13,3,100558,0,0,31,0,3,54019,0,0,0,0,'','Sacrifice to the Flame - Captive Druid of the Talon'),
    
    (13,1,100071,0,0,31,0,3,53787,0,0,0,0,'','Molten Barrage'),
    
    (13,1,100074,0,0,31,0,3,53788,0,0,0,0,'','Molten Barrage'),
    
    (13,2,100070,0,0,31,0,3,53786,0,0,0,0,'','Molten Barrage - Blazing Monstrosity'),
    
    (13,2,100070,0,1,31,0,3,53791,0,0,0,0,'','Molten Barrage - Blazing Monstrosity'),
    
    (13,2,100070,0,2,31,0,3,53793,0,0,0,0,'','Molten Barrage - Harbinger of Flame'),
    
    (13,2,100070,0,3,31,0,3,53795,0,0,0,0,'','Molten Barrage - Egg Pile'),
    
    (13,2,100070,0,4,31,0,3,53794,0,0,0,0,'','Molten Barrage - Smouldering Hatchling'),
    
    (13,1,100076,0,0,31,0,3,53787,0,0,0,0,'','Left-Side Smack - Molten Barrage'),
    
    (13,2,100076,0,1,31,0,3,53786,0,0,0,0,'','Left-Side Smack - Blazing Monstrosity'),
    
    (13,1,100078,0,0,31,0,3,53787,0,0,0,0,'','Right-Side Smack - Molten Barrage'),
    
    (13,2,100078,0,1,31,0,3,53786,0,0,0,0,'','Right-Side Smack - Blazing Monstrosity'),
    
    (13,1,100080,0,0,31,0,3,53787,0,0,0,0,'','Head Bonk - Molten Barrage'),
    
    (13,2,100080,0,1,31,0,3,53786,0,0,0,0,'','Head Bonk - Blazing Monstrosity'),
    
    (13,1,100082,0,0,31,0,3,53787,0,0,0,0,'','Tickle - Molten Barrage'),
    
    (13,2,100082,0,1,31,0,3,53786,0,0,0,0,'','Tickle - Blazing Monstrosity'),
    
    (13,1,100089,0,0,31,0,3,53788,0,0,0,0,'','Head Bonk - Molten Barrage'),
    
    (13,2,100089,0,1,31,0,3,53791,0,0,0,0,'','Head Bonk - Blazing Monstrosity'),
    
    (13,1,100090,0,0,31,0,3,53788,0,0,0,0,'','Left-Side Smack - Molten Barrage'),
    
    (13,2,100090,0,1,31,0,3,53791,0,0,0,0,'','Left-Side Smack - Blazing Monstrosity'),
    
    (13,1,100091,0,0,31,0,3,53788,0,0,0,0,'','Right-Side Smack - Molten Barrage'),
    
    (13,2,100091,0,1,31,0,3,53791,0,0,0,0,'','Right-Side Smack - Blazing Monstrosity'),
    
    (13,1,100092,0,0,31,0,3,53788,0,0,0,0,'','Tickle - Molten Barrage'),
    
    (13,2,100092,0,1,31,0,3,53791,0,0,0,0,'','Tickle - Blazing Monstrosity');


    Status : lom sempet test before after, cm pernah apply dan gtau bedanya apa >.<
    Last edited by Achernar_Altair; 30-05-13 at 20:56.
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  13. #42
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL]Hero's Call : Deepholme quest fix

    Description : as the title said, cm gtau di AMPM ud worked apa blom, mau ngetes server DC2 terus g jelas

    Reference : here

    Code :

    Spoiler untuk SQL :

    Code:
    -- Fix some text and next quest in chain for quest 27726 - Hero's Call: Deepholm!
         
        UPDATE `quest_template` SET `NextQuestId` = 27203, `OfferRewardText` = "Our world is in danger, <name>! We need the help of great heroes, like you, to save it!" WHERE `id` = 27727;
         
        -- The MaelsTrom quest
         
        -- add chain quest id and text at reward
        UPDATE `quest_template` SET `NextQuestId` = 27123, `OfferRewardText` = "<Thrall's muscles strain as primal energy flows through him. His eyes shift your way, acknowledging your arrival.> It is good to see you, $N.",`StartScript` = 27203 WHERE `id` = 27203;
         
        -- quest start script (will cast spell 84463 - summoning portal to maelstrom);
        DELETE FROM `quest_start_scripts` WHERE `id` = 27203;
        INSERT INTO `quest_start_scripts` VALUES
        (27203,1,15,84463,0,0,0,0,0,0);
         
        -- fix script for portal
        UPDATE `gameobject_template` SET `AIName` = '', `ScriptName` = "go_portal_to_maelstrom" WHERE `entry` = 205268;
         
        -- fix script for spell which summons portal (gameobject);
        DELETE FROM `spell_script_names` WHERE `spell_id` = 84463;
        INSERT INTO `spell_script_names` VALUES
        (84463,"spell_portal_to_maelstrom");


    Status : males ngetest XD
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  14. #43
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [C++]Resilience Bug Fix

    Description : good bye bug abuser, no more Bloodthirsty user rusuh2 berasa dewa di hit damage masuk tinggal 1/4 apa cobak, with this fix, combat rating formula udah difix jadi formula Cata, bukan formula Wotlk sperti skarang

    Reference : here

    Code : spertinya this code goes to /src/server/game/Entities/Unit/Unit.cpp, not really sure karena g dikasih penjelasan

    Spoiler untuk C++ :

    Code:
    From 732d4af506bdddf0bad638b2737517bf5dc9502c Mon Sep 17 00:00:00 2001
    From: Northstrider <[email protected]>
    Date: Wed, 6 Feb 2013 19:13:31 +0100
    Subject: [PATCH] Core/Units: updated combat damage reduction to cataclysm.
     this will fix the relisience damage bug.
    
    ---
     src/server/game/Entities/Unit/Unit.cpp |   21 +++++++++++++--------
     1 file changed, 13 insertions(+), 8 deletions(-)
    
    diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
    index 37fbf93..17516d7 100644
    --- a/src/server/game/Entities/Unit/Unit.cpp
    +++ b/src/server/game/Entities/Unit/Unit.cpp
    @@ -15741,20 +15741,25 @@ void Unit::KnockbackFrom(float x, float y, float speedXY, float speedZ)
     
     float Unit::GetCombatRatingReduction(CombatRating cr) const
     {
    -    if (Player const* player = ToPlayer())
    -        return player->GetRatingBonusValue(cr);
    -    // Player's pet get resilience from owner
    -    else if (isPet() && GetOwner())
    -        if (Player* owner = GetOwner()->ToPlayer())
    -            return owner->GetRatingBonusValue(cr);
    +    if (GetTypeId() == TYPEID_PLAYER)
    +        return ((Player const*)this)->GetRatingBonusValue(cr);
    +    else if (((Creature const*)this)->isPet())
    +    {
    +        // Player's pet get resilience from owner
    +        if (Unit* owner = GetOwner())
    +            if (owner->GetTypeId() == TYPEID_PLAYER)
    +                return ((Player*)owner)->GetRatingBonusValue(cr);
    +    }
     
         return 0.0f;
     }
     
     uint32 Unit::GetCombatRatingDamageReduction(CombatRating cr, float rate, float cap, uint32 damage) const
     {
    -    float percent = std::min(GetCombatRatingReduction(cr) * rate, cap);
    -    return CalculatePct(damage, percent);
    +    float percent = GetCombatRatingReduction(cr) * rate;
    +    if (percent > cap)
    +        percent = cap;
    +    return uint32 (percent * damage / 100.0f);
     }
     
     uint32 Unit::GetModelForForm(ShapeshiftForm form) const
    -- 
    1.7.10.msysgit.1



    Status : jelas blom saya test sendiri
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  15. #44
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL & C++] Ragnaros 10 Man Encounter Scripts

    Description : yaaa script encounter Ragnaros di 10 Man Instance, tapi cuma bisa work with original trinity spawns for firelands


    Reference : g bisa kasih link, takut kedetect di google, yang punya closed projectnya, PM aja referencenya

    kata creatornya : if someone doesnt give credits or steal the code should be aware that i cancel this development....
    just sayin'

    di dalem scriptnya juga ada koq , jadi ya terserah GM mau dipakai atau gak nanti, hehehe


    Code : untuk C++ gtau ane goes kemana, mungkin TrinityCore/src/server/scripts/Kalimdor/Firelands kali ya lol XD

    Spoiler untuk boss_ragnaros_cata.cpp :

    Code:
    /*
    Script:     Ragnaros Encounter
    Complete:   80%
    Author:     Northstrider
    Todo:
    -Correct the positions of the engulfing flames (center got a circle of the border lane)
    -Molten Seed doesn't attack in any reason o.O
    -Lava Scions doesn't attack -.-
    -25 player mode
    -heroic mode
    
    !WARNING!
    This code is developed and owned by Northstrider (Dreadii).
    If you steal this code (copy pasting without copyrights) this project will
    instantly get canceled.
    */
    
    #include "firelands.h"
    
    enum Texts
    {
        SAY_ARRIVE          = 0,
        SAY_DEATH_NORMAL    = 1,
        SAY_DEATH_HEROIC    = 2,
        SAY_SLAY            = 3,
        SAY_ANNOUNCE_SPLIT  = 4,
        SAY_HAMMER_DROP     = 5,
        SAY_HAMMER_PICKUP   = 6,
        SAY_SONS_OF_FLAME   = 7,
        SAY_ANNOUNCE_EMERGE = 8,
        SAY_MAGMA_TRAP      = 9,
        SAY_SULFURAS_SMASH  = 10,
    };
    
    enum Spells
    {
        // Ragnaros Base Auras
        SPELL_BASE_VISUAL                       = 98860,
        SPELL_BURNING_WOUNDS_AURA               = 99401,
    
        // Spell Sulfuras Smash
        SPELL_SULFURAS_SMASH_DUMMY              = 98703, // Seems like this summoned npc is just the orientation dummy
        SPELL_SULFURAS_SMASH                    = 98710,
        SPELL_SULFURAS_SMASH_MISSILE            = 98708,
        SPELL_SULFURAS_SMASH_TARGET             = 98706,
    
        // Lava Wave Summons
        SPELL_LAVA_WAVE_DUMMY_NORTH             = 98874,
        SPELL_LAVA_WAVE_DUMMY_EAST              = 98875,
        SPELL_LAVA_WAVE_DUMMY_WEST              = 98876,
        SPELL_LAVA_POOL                         = 98712,
        SPELL_SCORCHED_GROUND                   = 98871,
    
        // Magma Strike
        SPELL_MAGMA_STRIKE                      = 98313,
    
        // Magma Trap
        SPELL_MAGMA_TRAP                        = 98164,
        SPELL_MAGMA_TRAP_SONAR                  = 98159, // For what is this ?
        SPELL_MAGMA_TRAP_VISUAL                 = 98179,
        SPELL_MAGMA_TRAP_PERIODIC               = 98172,
        SPELL_MAGMA_TRAP_PERIODIC_TICK          = 98171,
        SPELL_MAGMA_TRAP_ERUPTION               = 98175,
    
        // Hand of Ragnaros
        SPELL_HAND_OF_RAGNAROS                  = 98237,
    
        // Wrath of Ragnaros
        SPELL_WRATH_OF_RAGNAROS                 = 98263,
    
        // Lava Wave
        SPELL_LAVA_WAVE                         = 98873,
    
        // Splitting Blow
        SPELL_SUBMERGE                          = 100051,
        SPELL_SUBMERGE_AURA                     = 98982,
        SPELL_SPLITTING_BLOW_WEST               = 98953,
        SPELL_SPLITTING_BLOW_NORTH              = 98952,
        SPELL_SPLITTING_BLOW_EAST               = 98951,
    
        // Sulfuras, Hand of Ragnaros
        SPELL_INVOKE_SONS                       = 99054,
        SPELL_INVOKE_SONS_MISSILE               = 99050,
        SPELL_INVOKE_SONS_TRIGGERED_SPELL       = 99051,
        SPELL_SULFURAS_AURA                     = 100456,
    
        // Son of Flame
        SPELL_HIT_ME                            = 100446,
        SPELL_PRE_VISUAL                        = 98983,
        SPELL_BURNING_SPEED                     = 98473,
        SPELL_BURNING_SPEED_STACKS              = 99414,
        SPELL_SUPERNOVA                         = 99112,
    
        // Engulfing Flames
        SPELL_ENGULFING_FLAMES_BOTTOM           = 99236,
        SPELL_ENGULFING_FLAMES_CENTER           = 99235,
        SPELL_ENGULFING_FLAMES_MELEE            = 99172,
        SPELL_ENGULFING_FLAMES_VISUAL_MELEE     = 99216,
        SPELL_ENGULFING_FLAMES_VISUAL_CENTER    = 99217,
        SPELL_ENGULFING_FLAMES_VISUAL_BOTTOM    = 99218,
    
        // Molten Seed
        SPELL_MOLTEN_SEED                       = 98333,
        SPELL_MOLTEN_SEED_SUMMON                = 100141,
    
        SPELL_MOLTEN_SEED_MISSILE               = 98495,
        SPELL_MOLTEN_SEED_DAMAGE                = 98498,
        SPELL_UNK_1                             = 98497, // don't know yet for what this spell is
    
        // Molten Elemental
        SPELL_INVISIBLE_PRE_VISUAL              = 100153,
        SPELL_MOLTEN_SEED_VISUAL                = 98520,
        SPELL_MOLTEN_INFERNO                    = 98518,
        SPELL_MOLTEN_POWER_AURA                 = 100157,
        SPELL_MOLTEN_POWER_PERIODIC             = 100158,
    
        // Lava Scion
        SPELL_BLAZING_HEAT                      = 100460,
        SPELL_BLAZING_HEAT_SONAR                = 100459,
    
        // Blazing Heat
        SPELL_BLAZING_HEAT_AURA                 = 99126,
        SPELL_BLAZING_HEAT_SUMMON               = 99129,
        SPELL_BLAZING_HEAT_DUMMY                = 99125,
        SPELL_BLAZING_HEAT_DAMAGE_AURA          = 99128,
    
        // Living Meteor
        SPELL_LIVING_METEOR_MISSILE             = 99268,
        SPELL_LIVING_METEOR_DAMAGE_REDUCTION    = 100904,
        SPELL_LIVING_METEOR_COMBUSTIBLE         = 99296,
        SPELL_LIVING_METEOR_COMBUSTITION        = 99303, // Knockback Spell (only castable if the meteor has the aura)
        SPELL_LIVING_METEOR_EXPLOSION_TRIGGER   = 99269,
        SPELL_LIVING_METEOR_INCREASE_SPEED      = 100278,
        SPELL_LIVING_METEOR_FIXATE              = 99849,
        SPELL_LIVING_METEOR_UNK                 = 99267,
        SPELL_LIVING_METEOR_EXPLOSION           = 99287,
    };
    
    enum Phases
    {
        PHASE_INTRO             = 1,
        PHASE_1                 = 2,
        PHASE_2                 = 3,
        PHASE_3                 = 4,
        PHASE_SUBMERGED         = 5,
        PHASE_HEROIC            = 6,
    };
    
    enum Events
    {
        // Ragnaros
        EVENT_INTRO                     = 1,
        EVENT_ATTACK                    = 2,
        EVENT_SULFURAS_SMASH_TRIGGER    = 3,
        EVENT_SULFURAS_SMASH            = 4,
        EVENT_MAGMA_TRAP                = 5,
        EVENT_WRATH_OF_RAGNAROS         = 6,
        EVENT_HAND_OF_RAGNAROS          = 7,
        EVENT_SPLITTING_BLOW            = 8,
        EVENT_CALL_SONS                 = 9,
        EVENT_ANNOUNCE_EMERGE           = 10,
        EVENT_EMERGE                    = 11,
        EVENT_ENGULFING_FLAMES          = 12,
        EVENT_MOLTEN_SEED               = 13,
        EVENT_LIVING_METEOR             = 14,
    
        // Sulfuras Smash
        EVENT_SCORCH                    = 20,
        EVENT_MOVE_LAVA_WAVE            = 21,
        EVENT_SUMMON_WAVE_1             = 22,
        EVENT_SUMMON_WAVE_2             = 23,
        EVENT_SUMMON_WAVE_3             = 24,
    
        // Magma Trap
        EVENT_PREPARE_TRAP              = 25,
    
        // Son of Flame
        EVENT_MOVE_HAMMER               = 26, // We gonna schedule this every 2 seconds to prevent any stucking movement
    
        // Sulfuras, Hand of Ragnaros
        EVENT_CHECK_SONS                = 27,
    
        // Molten Elemental
        EVENT_ACTIVATE                  = 28,
    
        // Lava Scion
        EVENT_BLAZING_HEAT              = 29,
    
        // Living Meteor
        EVENT_STALK_PLAYER              = 30,
        EVENT_KILL_PLAYER               = 31,
        EVENT_ENABLE_KNOCKBACK          = 32,
    };
    
    enum Actions
    {
        ACTION_SON_KILLED       = 1,
        ACTION_ACTIVATE_SON     = 2,
        ACTION_INSTANT_EMERGE   = 3,
    };
    
    enum AnimKits
    {
        // Ragnaros
        ANIM_KIT_RESURFACE  = 1465,
        ANIM_KIT_EMERGE     = 1467,
        ANIM_KIT_TAUNT      = 1468,
        ANIM_KIT_STAND_UP   = 1486,
    
        // Son of Flame
        ANIM_KIT_UNK_1      = 1370,
    };
    
    Position const RagnarosSummonPosition = {1075.201f, -57.84896f, 55.42427f,  3.159046f   };
    Position const SplittingTriggerNorth  = {1023.55f,  -57.158f,   55.4215f,   3.12414f    };
    Position const SplittingTriggerEast   = {1035.45f,  -25.3646f,  55.4924f,   2.49582f    };
    Position const SplittingTriggerWest   = {1036.27f,  -89.2396f,  55.5098f,   3.83972f    };
    
    const Position SonsOfFlameWest[] =
    {
        {999.533f,  -45.74826f, 55.56229f, 5.009095f},
        {1065.372f, -108.8698f, 55.56829f, 2.373648f},
        {1034.168f, -15.93056f, 55.60827f, 4.049164f},
        {1051.76f,  0.1284722f, 55.44715f, 4.031711f},
        {1014.134f, -43.94445f, 55.42412f, 3.979351f},
        {1068.151f, -101.3924f, 55.56828f, 2.565634f},
        {1051.497f, -113.7292f, 55.44935f, 2.391101f},
        {1074.866f, -100.7882f, 55.42414f, 2.600541f},
    };
    
    const Position SonsOfFlameNorth[] =
    {
        {1065.372f, -108.8698f, 55.56829f, 2.373648f},
        {1030.372f, -23.63715f, 55.44154f, 4.049164f},
        {1014.325f, -88.80209f, 55.52722f, 1.919862f},
        {1051.760f, 0.1284722f, 55.44715f, 4.031711f},
        {1012.120f, -26.89063f, 55.564f,   4.398230f},
        {1055.556f, -8.875f,    55.43348f, 3.874631f},
        {1040.394f, -91.81944f, 55.42585f, 2.234021f},
        {1065.257f, -6.946181f, 55.56818f, 3.839724f},
    };
    
    const Position SonsOfFlameEast[] =
    {
        {1013.458f, -68.08507f, 55.42097f, 2.513274f},
        {1065.372f, -108.8698f, 55.56829f, 2.373648f},
        {1042.033f, -114.9132f, 55.44709f, 1.919862f},
        {1051.76f,  0.1284722f, 55.44715f, 4.031711f},
        {1061.34f, -16.74132f, 55.56819f, 3.769911f},
        {1051.497f, -113.7292f, 55.44935f, 2.391101f},
        {1024.845f, -97.67882f, 55.52884f, 2.234021f},
        {1074.866f, -100.7882f, 55.42414f, 2.600541f},
    };
    
    const Position EngulfingFlamesMelee[] =
    {
        {1086.55f, -18.0885f, 55.4228f, 1.57080f},
        {1091.83f, -21.9254f, 55.4241f, 4.71239f},
        {1092.52f, -92.3924f, 55.4241f, 4.71239f},
        {1079.15f, -15.5312f, 55.4230f, 4.71239f},
        {1078.01f, -97.7760f, 55.4227f, 1.57080f},
        {1065.44f, -17.7049f, 55.4250f, 5.00910f},
        {1063.59f, -97.0573f, 55.4934f, 1.23918f},
        {1051.80f, -24.0903f, 55.4258f, 5.41052f},
        {1049.27f, -90.6892f, 55.4259f, 0.89011f},
        {1042.34f, -32.1059f, 55.4254f, 5.68977f},
        {1041.26f, -81.4340f, 55.4240f, 0.57595f},
        {1036.82f, -44.3385f, 55.4425f, 6.02139f},
        {1036.34f, -69.8281f, 55.4425f, 0.31415f},
        {1034.76f, -63.9583f, 55.4397f, 6.26573f},
        {1033.93f, -57.0920f, 55.4225f, 6.26573f},
        {1086.42f, -96.7812f, 55.4226f, 1.57080f},
    };
    
    const Position EngulfingFlamesRange[] =
    {
        {1035.17f, -125.646f, 55.4471f, 0.0f},
        {1032.48f,  13.2708f, 55.4469f, 0.0f},
        {1023.83f,  12.9774f, 55.4470f, 0.0f},
        {1023.05f, -128.257f, 55.4471f, 0.0f},
        {1019.60f,  7.76910f, 55.4470f, 0.0f},
        {1018.29f, -117.833f, 55.4471f, 0.0f},
        {1012.70f, -4.83333f, 55.6050f, 0.0f},
        {1009.56f, -108.161f, 55.4697f, 0.0f},
        {1005.80f, -8.81771f, 55.4672f, 0.0f},
        {1000.81f, -14.5069f, 55.4566f, 0.0f},
        {999.755f, -98.4792f, 55.4426f, 0.0f},
        {991.799f, -25.0955f, 55.4441f, 0.0f},
        {991.738f, -87.1632f, 55.4445f, 0.0f},
        {989.866f, -66.0868f, 55.4331f, 0.0f},
        {988.208f, -50.3646f, 55.4291f, 0.0f},
        {986.608f, -37.7656f, 55.4411f, 0.0f},
        {985.180f, -77.3785f, 55.4409f, 0.0f},
        {980.927f, -58.2656f, 55.4542f, 0.0f},
    };
    
    const Position EngulfingFlamesCenter[] =
    {
        {1069.66f, -4.53993f, 55.4308f, 0.0f},
        {1062.94f, -4.34201f, 55.5682f, 0.0f},
        {1062.13f, -109.005f, 55.4259f, 0.0f},
        {1055.34f, 5.06771f,  55.4471f, 0.0f},
        {1057.03f, -4.10417f, 55.4258f, 0.0f},
        {1049.74f, -118.396f, 55.5661f, 0.0f},
        {1052.59f, -120.562f, 55.4563f, 0.0f},
        {1049.33f, 5.0434f,   55.4633f, 0.0f},
        {1049.98f, -7.22396f, 55.4537f, 0.0f},
        {1049.66f, -104.906f, 55.4556f, 0.0f},
        {1035.91f, 0.909722f, 55.4470f, 0.0f},
        {1035.56f, -114.156f, 55.4471f, 0.0f},
        {1038.53f, -100.254f, 55.6012f, 0.0f},
        {1036.90f, -14.6181f, 55.5715f, 0.0f},
        {1025.34f, -25.8472f, 55.4069f, 0.0f},
        {1025.29f, -86.2326f, 55.4071f, 0.0f},
        {1021.49f, -79.6076f, 55.4261f, 0.0f},
        {1018.47f, -43.7674f, 55.4218f, 0.0f},
        {1069.91f, -109.651f, 55.4277f, 0.0f},
        {1014.15f, -17.3281f, 55.4629f, 0.0f},
        {1018.29f, -70.1875f, 55.4231f, 0.0f},
        {1012.09f, -97.5122f, 55.4570f, 0.0f},
        {1006.10f, -27.3681f, 55.4277f, 0.0f},
        {1005.49f, -86.4566f, 55.4275f, 0.0f},
        {1002.72f, -40.7431f, 55.4063f, 0.0f},
        {1003.44f, -74.0243f, 55.4063f, 0.0f},
        {1003.44f, -74.0243f, 55.4063f, 0.0f},
        {1003.07f, -66.4913f, 55.4067f, 0.0f},
        {1002.21f, -49.7049f, 55.4075f, 0.0f},
        {1002.00f, -58.2396f, 55.4331f, 0.0f},
    };
    
    const Position LavaScionPos[] =
    {
        {1027.306f, -121.7465f, 55.4471f, 1.361f},
        {1026.861f, 5.895833f, 55.44697f, 4.904f},
    };
    
    class at_sulfuron_keep : public AreaTriggerScript
    {
        public:
            at_sulfuron_keep() : AreaTriggerScript("at_sulfuron_keep") { }
    
            bool OnTrigger(Player* player, AreaTriggerEntry const* /*areaTrigger*/)
            {
                if (InstanceScript* instance = player->GetInstanceScript())
                    if (!instance->GetData64(DATA_RAGNAROS))
                        player->SummonCreature(BOSS_RAGNAROS, RagnarosSummonPosition, TEMPSUMMON_MANUAL_DESPAWN, 0);
                return true;
            }
    };
    
    class boss_ragnaros_cata : public CreatureScript
    {
    public:
        boss_ragnaros_cata() : CreatureScript("boss_ragnaros_cata") { }
    
        struct boss_ragnaros_cataAI : public BossAI
        {
            boss_ragnaros_cataAI(Creature* creature) : BossAI(creature, DATA_RAGNAROS)
            {
                _submergeCounter = 0;
                _sonCounter = 0;
            }
    
            uint8 _submergeCounter;
            uint8 _sonCounter;
    
            void Reset()
            {
                _Reset();
                events.SetPhase(PHASE_1);
                instance->SendEncounterUnit(ENCOUNTER_FRAME_DISENGAGE, me);
                me->SetByteValue(UNIT_FIELD_BYTES_1, 3, UNIT_BYTE1_FLAG_ALWAYS_STAND | UNIT_BYTE1_FLAG_HOVER);
                me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
                me->SetReactState(REACT_PASSIVE);
                _submergeCounter = 0;
                _sonCounter = 0;
            }
    
            void EnterCombat(Unit* /*who*/)
            {
                _EnterCombat();
                HandleDoor();
                instance->SendEncounterUnit(ENCOUNTER_FRAME_ENGAGE, me);
                me->SetReactState(REACT_AGGRESSIVE);
                events.SetPhase(PHASE_1);
                events.ScheduleEvent(EVENT_SULFURAS_SMASH_TRIGGER, 30000, 0, PHASE_1);
                events.ScheduleEvent(EVENT_MAGMA_TRAP, 15500, 0, PHASE_1);
                events.ScheduleEvent(EVENT_WRATH_OF_RAGNAROS, 6000, 0, PHASE_1);
                events.ScheduleEvent(EVENT_HAND_OF_RAGNAROS, 25000, 0, PHASE_1);
            }
    
            void JustDied(Unit* /*killer*/)
            {
                _JustDied();
                HandleDoor();
                instance->SendEncounterUnit(ENCOUNTER_FRAME_DISENGAGE, me);
                if (!IsHeroic())
                {
                    Talk(SAY_DEATH_NORMAL);
                    me->SetHealth(1);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_DISABLE_MOVE);
                    me->SetStandState(UNIT_STAND_STATE_SUBMERGED);
                    me->HandleEmoteCommand(EMOTE_ONESHOT_SUBMERGE);
                    me->DespawnOrUnsummon(6000);
                }
            }
    
            void EnterEvadeMode()
            {
                _EnterEvadeMode();
                HandleDoor();
                Reset();
                Cleanup();
                me->AddAura(SPELL_BASE_VISUAL, me);
                me->AddAura(SPELL_BURNING_WOUNDS_AURA, me);
                me->GetMotionMaster()->MoveTargetedHome();
            }
    
            void IsSummonedBy(Unit* /*summoner*/)
            {
                events.SetPhase(PHASE_INTRO);
                events.ScheduleEvent(EVENT_INTRO, 5500, 0, PHASE_INTRO);
                me->setActive(true);
                me->PlayOneShotAnimKit(ANIM_KIT_EMERGE);
                SetCombatMovement(false);
                Position pos;
                pos.Relocate(me);
                me->SetHomePosition(pos);
            }
    
            void KilledUnit(Unit* killed)
            {
                if (killed->GetTypeId() == TYPEID_PLAYER)
                    Talk(SAY_SLAY);
            }
    
            void JustSummoned(Creature* summon)
            {
                switch (summon->GetEntry())
                {
                    case NPC_SULFURAS_SMASH_TARGET:
                        summon->AddAura(SPELL_LAVA_POOL, summon);
                        break;
                    case NPC_SON_OF_FLAME:
                        summon->SetReactState(REACT_PASSIVE);
                        summon->AddAura(SPELL_HIT_ME, summon);
                        summon->AddAura(SPELL_PRE_VISUAL, summon);
                        summon->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_DISABLE_MOVE);
                        break;
                    default:
                        break;
                }
            }
    
            void HandleDoor() // Needed because the instancescript needs db guids
            {
                if (GameObject* door = me->FindNearestGameObject(GO_RAGNAROS_DOOR, 200.0f))
                {
                    if (door->GetGoState() == GO_STATE_ACTIVE)
                        door->SetGoState(GO_STATE_READY);
                    else
                        door->SetGoState(GO_STATE_ACTIVE);
                }
            }
    
            void Cleanup()
            {
                std::list<Creature*> units;
    
                GetCreatureListWithEntryInGrid(units, me, NPC_SULFURAS_SMASH_TARGET, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
    
                GetCreatureListWithEntryInGrid(units, me, NPC_MAGMA_TRAP, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
    
                GetCreatureListWithEntryInGrid(units, me, NPC_LAVA_WAVE, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
    
                GetCreatureListWithEntryInGrid(units, me, NPC_SULFURAS_HAND_OF_RAGNAROS, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
    
                GetCreatureListWithEntryInGrid(units, me, NPC_SPLITTING_BLOW_TRIGGER, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
    
                GetCreatureListWithEntryInGrid(units, me, NPC_SON_OF_FLAME, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
    
                GetCreatureListWithEntryInGrid(units, me, NPC_LAVA_SCION, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
    
                GetCreatureListWithEntryInGrid(units, me, NPC_ENGULFING_FLAMES_TRIGGER, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
            }
    
            void CleanSubmerge()
            {
                std::list<Creature*> units;
    
                GetCreatureListWithEntryInGrid(units, me, NPC_SULFURAS_HAND_OF_RAGNAROS, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
    
                GetCreatureListWithEntryInGrid(units, me, NPC_SPLITTING_BLOW_TRIGGER, 200.0f);
                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                    (*itr)->DespawnOrUnsummon();
            }
    
            void DamageTaken(Unit* attacker, uint32& damage)
            {
                if (me->HealthBelowPct(70) && _submergeCounter == 0)
                {
                    _submergeCounter++;
    
                    std::list<Creature*> units;
                    GetCreatureListWithEntryInGrid(units, me, NPC_SULFURAS_SMASH_TARGET, 200.0f);
                    for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                        (*itr)->DespawnOrUnsummon();
    
                    events.SetPhase(PHASE_SUBMERGED);
                    events.ScheduleEvent(EVENT_SPLITTING_BLOW, 1, 0, PHASE_SUBMERGED);
                }
                else if (me->HealthBelowPct(40) && _submergeCounter == 1)
                {
                    _submergeCounter++;
    
                    std::list<Creature*> units;
                    GetCreatureListWithEntryInGrid(units, me, NPC_SULFURAS_SMASH_TARGET, 200.0f);
                    for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                        (*itr)->DespawnOrUnsummon();
    
                    events.SetPhase(PHASE_SUBMERGED);
                    events.ScheduleEvent(EVENT_SPLITTING_BLOW, 1, 0, PHASE_SUBMERGED);
                }
                else if (me->HealthBelowPct(10) && _submergeCounter == 2)
                {
                    me->Kill(me);
                }
            }
    
            void DoAction(int32 action)
            {
                switch (action)
                {
                    case ACTION_SON_KILLED:
                    {
                        _sonCounter++;
                        if (_sonCounter == 7)
                        {
                            DoAction(ACTION_INSTANT_EMERGE);
                            _sonCounter = 0;
                        }
                        break;
                    }
                    case ACTION_INSTANT_EMERGE:
                        events.CancelEvent(EVENT_ANNOUNCE_EMERGE);
                        events.CancelEvent(EVENT_EMERGE);
                        events.ScheduleEvent(EVENT_EMERGE, 1000);
                        break;
                    default:
                        break;
                }
            }
    
            void UpdateAI(uint32 diff)
            {
                if (!(events.IsInPhase(PHASE_INTRO)))
                    if (!UpdateVictim())
                        return;
    
                events.Update(diff);
    
                while (uint32 eventId = events.ExecuteEvent())
                {
                    switch (eventId)
                    {
                        case EVENT_INTRO:
                            Talk(SAY_ARRIVE);
                            me->AddAura(SPELL_BASE_VISUAL, me);
                            me->AddAura(SPELL_BURNING_WOUNDS_AURA, me);
                            me->PlayOneShotAnimKit(ANIM_KIT_TAUNT);
                            break;
                        case EVENT_ATTACK:
                            me->SetReactState(REACT_AGGRESSIVE);
                            me->Attack(me->getVictim(), false);
                            me->AddAura(SPELL_BASE_VISUAL, me);
                            me->AddAura(SPELL_BURNING_WOUNDS_AURA, me);
                            break;
                        case EVENT_SULFURAS_SMASH_TRIGGER:
                            if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0, true, 0))
                            {
                                me->SetFacingToObject(target);
                                DoCast(SPELL_SULFURAS_SMASH_DUMMY);
                                events.ScheduleEvent(EVENT_SULFURAS_SMASH, 500);
                                if (events.IsInPhase(PHASE_1))
                                    events.ScheduleEvent(EVENT_SULFURAS_SMASH_TRIGGER, 30000, 0, PHASE_1);
                                else if (events.IsInPhase(PHASE_2))
                                    events.ScheduleEvent(EVENT_SULFURAS_SMASH_TRIGGER, 47000, 0, PHASE_2);
                                else if (events.IsInPhase(PHASE_3))
                                    events.ScheduleEvent(EVENT_SULFURAS_SMASH_TRIGGER, 47000, 0, PHASE_3);
                            }
                            break;
                        case EVENT_SULFURAS_SMASH:
                            if (Unit* trigger = me->FindNearestCreature(NPC_SULFURAS_SMASH_TRIGGER, 60.0f, true))
                            {
                                Talk(SAY_SULFURAS_SMASH);
                                me->AttackStop();
                                me->SetReactState(REACT_PASSIVE);
                                me->SetFacingToObject(trigger);
                                DoCast(SPELL_SULFURAS_SMASH);
                                DoCast(SPELL_SULFURAS_SMASH_TARGET);
                                events.ScheduleEvent(EVENT_ATTACK, 6000);
                            }
                            break;
                        case EVENT_MAGMA_TRAP:
                            Talk(SAY_MAGMA_TRAP);
                            if (Unit* target = SelectTarget(SELECT_TARGET_FARTHEST, 0))
                                DoCast(target, SPELL_MAGMA_TRAP);
                            events.ScheduleEvent(EVENT_MAGMA_TRAP, 25000, 0, PHASE_1);
                            break;
                        case EVENT_WRATH_OF_RAGNAROS:
                            DoCastAOE(SPELL_WRATH_OF_RAGNAROS);
                            events.ScheduleEvent(EVENT_WRATH_OF_RAGNAROS, 36000, 0, PHASE_1);
                            break;
                        case EVENT_HAND_OF_RAGNAROS:
                            DoCastAOE(SPELL_HAND_OF_RAGNAROS);
                            events.ScheduleEvent(EVENT_HAND_OF_RAGNAROS, 25000, 0, PHASE_1);
                            break;
                        case EVENT_SPLITTING_BLOW:
                            events.ScheduleEvent(EVENT_CALL_SONS, 10000, 0, PHASE_SUBMERGED);
                            me->CastStop();
                            me->AttackStop();
                            me->SetReactState(REACT_PASSIVE);
                            Talk(SAY_ANNOUNCE_SPLIT);
                            Talk(SAY_HAMMER_DROP);
                            DoCast(SPELL_SUBMERGE);
                            switch (urand(0, 2))
                            {
                                case 0: // Splitting Blow East
                                {
                                    if (Creature* trigger = me->SummonCreature(NPC_SPLITTING_BLOW_TRIGGER, SplittingTriggerEast, TEMPSUMMON_MANUAL_DESPAWN))
                                    {
                                        me->SetFacingToObject(trigger);
                                        DoCastAOE(SPELL_SPLITTING_BLOW_EAST);
    
                                        for (uint32 x = 0; x<8; ++x)
                                            me->SummonCreature(NPC_SON_OF_FLAME, SonsOfFlameEast[x], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 3000);
                                    }
                                    break;
                                }
                                case 1: // Splitting Blow West
                                {
                                    if (Creature* trigger = me->SummonCreature(NPC_SPLITTING_BLOW_TRIGGER, SplittingTriggerWest, TEMPSUMMON_MANUAL_DESPAWN))
                                    {
                                        me->SetFacingToObject(trigger);
                                        DoCastAOE(SPELL_SPLITTING_BLOW_WEST);
    
                                        for (uint32 x = 0; x<8; ++x)
                                            me->SummonCreature(NPC_SON_OF_FLAME, SonsOfFlameWest[x], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 3000);
                                    }
                                    break;
                                }
                                case 2: // Splitting Blow North
                                {
                                    if (Creature* trigger = me->SummonCreature(NPC_SPLITTING_BLOW_TRIGGER, SplittingTriggerNorth, TEMPSUMMON_MANUAL_DESPAWN))
                                    {
                                        me->SetFacingToObject(trigger);
                                        DoCastAOE(SPELL_SPLITTING_BLOW_NORTH);
    
                                        for (uint32 x = 0; x<8; ++x)
                                            me->SummonCreature(NPC_SON_OF_FLAME, SonsOfFlameNorth[x], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 3000);
                                    }
                                    break;
                                }
                            }
                            break;
                        case EVENT_CALL_SONS:
                            Talk(SAY_SONS_OF_FLAME);
                            me->RemoveAurasDueToSpell(SPELL_BASE_VISUAL);
                            events.ScheduleEvent(EVENT_ANNOUNCE_EMERGE, 33000, 0, PHASE_SUBMERGED);
                            events.ScheduleEvent(EVENT_EMERGE, 40000, 0, PHASE_SUBMERGED);
                            me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
                            if (_submergeCounter == 2)
                                for (uint32 x = 0; x<2; ++x)
                                    me->SummonCreature(NPC_LAVA_SCION, LavaScionPos[x], TEMPSUMMON_CORPSE_TIMED_DESPAWN, 5000);
                            break;
                        case EVENT_ANNOUNCE_EMERGE:
                            Talk(SAY_ANNOUNCE_EMERGE);
                            break;
                        case EVENT_EMERGE:
                            Talk(SAY_HAMMER_PICKUP);
                            CleanSubmerge();
                            me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE);
                            me->RemoveAurasDueToSpell(SPELL_SUBMERGE_AURA);
                            me->PlayOneShotAnimKit(ANIM_KIT_RESURFACE);
                            events.ScheduleEvent(EVENT_ATTACK, 4500);
                            if (_submergeCounter == 1)
                            {
                                events.SetPhase(PHASE_2);
                                events.ScheduleEvent(EVENT_SULFURAS_SMASH_TRIGGER, 6000, 0, PHASE_2); // Why the **** so soon ? o.O
                                events.ScheduleEvent(EVENT_ENGULFING_FLAMES, 40000, 0, PHASE_2);
                                events.ScheduleEvent(EVENT_MOLTEN_SEED, 11000, 0, PHASE_2);
                            }
                            if (_submergeCounter == 2)
                            {
                                events.SetPhase(PHASE_3);
                                events.ScheduleEvent(EVENT_SULFURAS_SMASH_TRIGGER, 6000, 0, PHASE_3);
                                events.ScheduleEvent(EVENT_ENGULFING_FLAMES, 30000, 0, PHASE_3);
                                events.ScheduleEvent(EVENT_LIVING_METEOR, 45000, 0, PHASE_3);
                            }
                            break;
                        case EVENT_ENGULFING_FLAMES:
                            switch (urand(0, 2))
                            {
                                case 0: // Melee
                                    {
                                        for (uint32 x = 0; x<16; ++x)
                                            me->SummonCreature(NPC_ENGULFING_FLAMES_TRIGGER, EngulfingFlamesMelee[x], TEMPSUMMON_TIMED_DESPAWN, 20000);
                                        DoCastAOE(SPELL_ENGULFING_FLAMES_VISUAL_MELEE);
                                        DoCastAOE(SPELL_ENGULFING_FLAMES_MELEE);
                                        break;
                                    }
                                case 1: // Range
                                    {
                                        for (uint32 x = 0; x<19; ++x)
                                            me->SummonCreature(NPC_ENGULFING_FLAMES_TRIGGER, EngulfingFlamesRange[x], TEMPSUMMON_TIMED_DESPAWN, 20000);
                                        DoCastAOE(SPELL_ENGULFING_FLAMES_VISUAL_BOTTOM);
                                        DoCastAOE(SPELL_ENGULFING_FLAMES_BOTTOM);
                                        break;
                                    }
                                case 2: // Center
                                    {
                                        for (uint32 x = 0; x<36; ++x)
                                            me->SummonCreature(NPC_ENGULFING_FLAMES_TRIGGER, EngulfingFlamesCenter[x], TEMPSUMMON_TIMED_DESPAWN, 20000);
                                        DoCastAOE(SPELL_ENGULFING_FLAMES_VISUAL_CENTER);
                                        DoCastAOE(SPELL_ENGULFING_FLAMES_CENTER);
                                        break;
                                    }
                                    break;
                            }
                            if (_submergeCounter == 1)
                                events.ScheduleEvent(EVENT_ENGULFING_FLAMES, 40000, 0, PHASE_2);
                            else if (_submergeCounter == 2)
                                events.ScheduleEvent(EVENT_ENGULFING_FLAMES, 30000, 0, PHASE_3);
                            break;
                        case EVENT_MOLTEN_SEED:
                            DoCastAOE(SPELL_MOLTEN_SEED);
                            events.ScheduleEvent(EVENT_MOLTEN_SEED, 30000, 0, PHASE_2);
                            break;
                        case EVENT_LIVING_METEOR:
                            if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0, true, 0))
                                DoCast(target, SPELL_LIVING_METEOR_MISSILE);
                            events.ScheduleEvent(EVENT_LIVING_METEOR, 60000, 0, PHASE_3);
                            break;
                        default:
                            break;
                    }
                }
    
                DoMeleeAttackIfReady();
            }
        };
    
        CreatureAI* GetAI(Creature* creature) const
        {
            return new boss_ragnaros_cataAI(creature);
        }
    };
    
    class npc_magma_trap : public CreatureScript
    {
        public:
            npc_magma_trap() :  CreatureScript("npc_magma_trap") { }
    
            struct npc_magma_trapAI : public ScriptedAI
            {
                npc_magma_trapAI(Creature* creature) : ScriptedAI(creature)
                {
                    _exploded = false;
                }
    
                bool _exploded;
    
                void IsSummonedBy(Unit* /*summoner*/)
                {
                    events.ScheduleEvent(EVENT_PREPARE_TRAP, 5000);
                    me->AddAura(SPELL_MAGMA_TRAP_VISUAL, me);
                    me->SetReactState(REACT_PASSIVE);
                    SetCombatMovement(false);
                }
    
                void SpellHitTarget(Unit* /*target*/, SpellInfo const* spell)
                {
                    if (spell->Id == SPELL_MAGMA_TRAP_PERIODIC_TICK && !_exploded)
                    {
                        DoCastAOE(SPELL_MAGMA_TRAP_ERUPTION);
                        me->RemoveAurasDueToSpell(SPELL_MAGMA_TRAP_VISUAL);
                        _exploded = true;
                        me->DespawnOrUnsummon(3000);
                    }
                }
    
                void UpdateAI(uint32 diff)
                {
                    events.Update(diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_PREPARE_TRAP:
                                DoCast(SPELL_MAGMA_TRAP_PERIODIC);
                                break;
                            default:
                                break;
                        }
                    }
                }
    
            private:
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_magma_trapAI(creature);
            }
    };
    
    class npc_sulfuras_smash : public CreatureScript
    {
        public:
            npc_sulfuras_smash() :  CreatureScript("npc_sulfuras_smash") { }
    
            struct npc_sulfuras_smashAI : public ScriptedAI
            {
                npc_sulfuras_smashAI(Creature* creature) : ScriptedAI(creature)
                {
                    _summonCounter = 0;
                }
    
                uint8 _summonCounter;
    
                void IsSummonedBy(Unit* summoner)
                {
                    events.ScheduleEvent(EVENT_SCORCH, 3400);
                    events.ScheduleEvent(EVENT_SUMMON_WAVE_1, 3400);
                    me->SetOrientation(summoner->GetOrientation());
                    me->setFaction(summoner->getFaction());
                }
    
                void JustSummoned(Creature* summon)
                {
                    summon->setFaction(me->getFaction());
                    _summonCounter++;
                    if (_summonCounter == 2)
                        summon->SetOrientation(me->GetOrientation() + M_PI/2);
                    else if (_summonCounter == 3)
                    {
                        summon->SetOrientation(me->GetOrientation() - M_PI/2);
                        _summonCounter = 0;
                    }
                }
    
                void UpdateAI(uint32 diff)
                {
                    events.Update(diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_SCORCH:
                                me->RemoveAurasDueToSpell(SPELL_LAVA_POOL);
                                me->AddAura(SPELL_SCORCHED_GROUND, me);
                                break;
                            case EVENT_SUMMON_WAVE_1:
                                DoCastAOE(SPELL_LAVA_WAVE_DUMMY_NORTH);
                                events.ScheduleEvent(EVENT_SUMMON_WAVE_2, 50);
                                break;
                            case EVENT_SUMMON_WAVE_2:
                                DoCastAOE(SPELL_LAVA_WAVE_DUMMY_WEST);
                                events.ScheduleEvent(EVENT_SUMMON_WAVE_3, 50);
                                break;
                            case EVENT_SUMMON_WAVE_3:
                                DoCastAOE(SPELL_LAVA_WAVE_DUMMY_EAST);
                                break;
                            default:
                                break;
                        }
                    }
                }
        private:
            EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_sulfuras_smashAI(creature);
            }
    };
    
    class npc_fl_lava_wave : public CreatureScript
    {
        public:
            npc_fl_lava_wave() :  CreatureScript("npc_fl_lava_wave") { }
    
            struct npc_fl_lava_waveAI : public ScriptedAI
            {
                npc_fl_lava_waveAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                void IsSummonedBy(Unit* summoner)
                {
                    events.ScheduleEvent(EVENT_MOVE_LAVA_WAVE, 100);
                    me->SetSpeed(MOVE_RUN, 2.0f);
                }
    
                void UpdateAI(uint32 diff)
                {
                    events.Update(diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_MOVE_LAVA_WAVE:
                                DoCast(SPELL_LAVA_WAVE);
                                me->GetMotionMaster()->MovePoint(0, me->GetPositionX()+cos(me->GetOrientation())*100, me->GetPositionY()+sin(me->GetOrientation())*100, me->GetPositionZ(), false);
                                break;
                            default:
                                break;
                        }
                    }
                }
    
            private:
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_fl_lava_waveAI(creature);
            }
    };
    
    class npc_sulfuras_hammer : public CreatureScript // Temphack until dest area effects can affect npc's
    {
        public:
            npc_sulfuras_hammer() :  CreatureScript("npc_sulfuras_hammer") { }
    
            struct npc_sulfuras_hammerAI : public ScriptedAI
            {
                npc_sulfuras_hammerAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                EventMap events;
    
                void IsSummonedBy(Unit* /*summoner*/)
                {
                    me->AddAura(SPELL_SULFURAS_AURA, me);
                    DoCastAOE(SPELL_INVOKE_SONS);
                    events.ScheduleEvent(EVENT_CHECK_SONS, 500);
                }
    
                void SpellHitTarget(Unit* target, SpellInfo const* spell)
                {
                    if (spell->Id == SPELL_INVOKE_SONS_TRIGGERED_SPELL && target->GetEntry() == NPC_SON_OF_FLAME)
                    {
                        if (Creature* son = target->ToCreature())
                            son->AI()->DoAction(ACTION_ACTIVATE_SON);
                    }
                }
    
                void UpdateAI(uint32 diff)
                {
                    events.Update(diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_CHECK_SONS:
                            {
                                std::list<Creature*> units;
                                GetCreatureListWithEntryInGrid(units, me, NPC_SON_OF_FLAME, 5.0f);
                                for (std::list<Creature*>::iterator itr = units.begin(); itr != units.end(); ++itr)
                                {
                                    if ((*itr)->HasAura(SPELL_HIT_ME))
                                    {
                                        (*itr)->RemoveAurasDueToSpell(SPELL_HIT_ME);
                                        (*itr)->StopMoving();
                                        (*itr)->CastSpell((*itr), SPELL_SUPERNOVA);
                                        me->Kill((*itr), false);
                                    }
                                }
                                events.ScheduleEvent(EVENT_CHECK_SONS, 500);
                                break;
                            }
                            default:
                                break;
                        }
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_sulfuras_hammerAI(creature);
            }
    };
    
    class npc_son_of_flame : public CreatureScript
    {
        public:
            npc_son_of_flame() :  CreatureScript("npc_son_of_flame") { }
    
            struct npc_son_of_flameAI : public ScriptedAI
            {
                npc_son_of_flameAI(Creature* creature) : ScriptedAI(creature),
                    instance(creature->GetInstanceScript())
                {
                }
    
                InstanceScript* instance;
                EventMap events;
    
                void JustDied(Unit* /*killer*/)
                {
                    if (Creature* ragnaros = me->FindNearestCreature(BOSS_RAGNAROS, 200.0f, true))
                        ragnaros->AI()->DoAction(ACTION_SON_KILLED);
                }
    
                void DamageTaken(Unit* /*damager*/, uint32& damage)
                {
                    if (me->HealthBelowPct(95))
                        me->SetAuraStack(SPELL_BURNING_SPEED_STACKS, me, 9);
                    else if (me->HealthBelowPct(50))
                    {
                        me->RemoveAurasDueToSpell(SPELL_BURNING_SPEED_STACKS);
                        me->RemoveAurasDueToSpell(SPELL_BURNING_SPEED);
                    }
                }
    
                void DoAction(int32 action)
                {
                    switch (action)
                    {
                        case ACTION_ACTIVATE_SON:
                            me->RemoveAurasDueToSpell(SPELL_PRE_VISUAL);
                            me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_DISABLE_MOVE);
                            me->AddAura(SPELL_BURNING_SPEED, me);
                            me->AddAura(SPELL_BURNING_SPEED_STACKS, me);
                            me->SetAuraStack(SPELL_BURNING_SPEED_STACKS, me, 10);
                            me->PlayOneShotAnimKit(ANIM_KIT_UNK_1);
                            if (Creature* sulfuras = me->FindNearestCreature(NPC_SULFURAS_HAND_OF_RAGNAROS, 200.0f))
                                me->GetMotionMaster()->MovePoint(0, sulfuras->GetPositionX(), sulfuras->GetPositionY(), sulfuras->GetPositionZ());
                            events.ScheduleEvent(EVENT_MOVE_HAMMER, 1000);
                            break;
                        default:
                            break;
                    }
                }
    
                void UpdateAI(uint32 diff)
                {
                    events.Update(diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_MOVE_HAMMER:
                                if (Creature* sulfuras = me->FindNearestCreature(NPC_SULFURAS_HAND_OF_RAGNAROS, 200.0f))
                                    me->GetMotionMaster()->MovePoint(0, sulfuras->GetPositionX(), sulfuras->GetPositionY(), sulfuras->GetPositionZ());
                                events.ScheduleEvent(EVENT_MOVE_HAMMER, 1000);
                                break;
                            default:
                                break;
                        }
                    }
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_son_of_flameAI(creature);
            }
    };
    
    class npc_engulfing_flame : public CreatureScript
    {
        public:
            npc_engulfing_flame() :  CreatureScript("npc_engulfing_flame") { }
    
            struct npc_engulfing_flameAI : public ScriptedAI
            {
                npc_engulfing_flameAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                void UpdateAI(uint32 diff)
                {
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_engulfing_flameAI(creature);
            }
    };
    
    class npc_fl_molten_elemental : public CreatureScript
    {
        public:
            npc_fl_molten_elemental() :  CreatureScript("npc_fl_molten_elemental") { }
    
            struct npc_fl_molten_elementalAI : public ScriptedAI
            {
                npc_fl_molten_elementalAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                void IsSummonedBy(Unit* summoner)
                {
                    DoCastAOE(SPELL_INVISIBLE_PRE_VISUAL);
                    DoCastAOE(SPELL_MOLTEN_SEED_VISUAL);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_DISABLE_MOVE);
                    me->SetReactState(REACT_PASSIVE);
    
                    if (Creature* seedCaster = me->FindNearestCreature(NPC_MOLTEN_SEED_CASTER, 100.0f, true))
                        seedCaster->CastSpell(me, SPELL_MOLTEN_SEED_MISSILE);
                    events.ScheduleEvent(EVENT_ACTIVATE, 10000);
                }
    
                void UpdateAI(uint32 diff)
                {
                    events.Update(diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_ACTIVATE:
                                me->RemoveFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_DISABLE_MOVE);
                                me->SetReactState(REACT_AGGRESSIVE);
                                if (Unit* target = me->FindNearestPlayer(100.0f, true))
                                    me->Attack(target, false);
                                break;
                            default:
                                break;
                        }
                    }
                }
    
                void JustDied(Unit* /*killer*/)
                {
                    me->DespawnOrUnsummon(5000);
                }
    
            private:
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_fl_molten_elementalAI(creature);
            }
    };
    
    class npc_fl_lava_scion : public CreatureScript
    {
        public:
            npc_fl_lava_scion() :  CreatureScript("npc_fl_lava_scion") { }
    
            struct npc_fl_lava_scionAI : public ScriptedAI
            {
                npc_fl_lava_scionAI(Creature* creature) : ScriptedAI(creature)
                {
                    instance = me->GetInstanceScript();
                }
    
                InstanceScript* instance;
    
                void IsSummonedBy(Unit* summoner)
                {
                    if (Unit* player = me->FindNearestPlayer(100.0f, true))
                        me->Attack(player, false);
                }
    
                void EnterCombat(Unit* /*victim*/)
                {
                    instance->SendEncounterUnit(ENCOUNTER_FRAME_ENGAGE, me);
                    events.ScheduleEvent(EVENT_BLAZING_HEAT, 12000);
                }
    
                void UpdateAI(uint32 diff)
                {
                    events.Update(diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_BLAZING_HEAT:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0, true, 0))
                                    DoCast(target, SPELL_BLAZING_HEAT);
                                events.ScheduleEvent(EVENT_BLAZING_HEAT, 21000);
                                break;
                            default:
                                break;
                        }
                    }
                }
    
                void JustDied(Unit* /*killer*/)
                {
                    me->DespawnOrUnsummon(5000);
                    instance->SendEncounterUnit(ENCOUNTER_FRAME_DISENGAGE, me);
                }
    
            private:
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_fl_lava_scionAI(creature);
            }
    };
    
    class npc_fl_blazing_heat : public CreatureScript
    {
        public:
            npc_fl_blazing_heat() :  CreatureScript("npc_fl_blazing_heat") { }
    
            struct npc_fl_blazing_heatAI : public ScriptedAI
            {
                npc_fl_blazing_heatAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                void IsSummonedBy(Unit* summoner)
                {
                    me->SetReactState(REACT_PASSIVE);
                    me->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE | UNIT_FLAG_NOT_SELECTABLE | UNIT_FLAG_DISABLE_MOVE);
                    DoCastAOE(SPELL_BLAZING_HEAT_DAMAGE_AURA);
                }
    
                void UpdateAI(uint32 diff)
                {
                }
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_fl_blazing_heatAI(creature);
            }
    };
    
    class npc_fl_living_meteor : public CreatureScript
    {
        public:
            npc_fl_living_meteor() :  CreatureScript("npc_fl_living_meteor") { }
    
            struct npc_fl_living_meteorAI : public ScriptedAI
            {
                npc_fl_living_meteorAI(Creature* creature) : ScriptedAI(creature)
                {
                }
    
                void IsSummonedBy(Unit* summoner)
                {
                    events.ScheduleEvent(EVENT_STALK_PLAYER, 3000);
                    me->SetReactState(REACT_PASSIVE);
                    me->SetInCombatWithZone();
                }
    
                void DamageTaken(Unit* attacker, uint32& damage)
                {
                    if (me->HasAura(SPELL_LIVING_METEOR_COMBUSTIBLE))
                    {
                        events.Reset();
                        me->RemoveAllAuras();
                        me->GetMotionMaster()->Clear();
                        events.ScheduleEvent(EVENT_STALK_PLAYER, 3000);
                        DoCastAOE(SPELL_LIVING_METEOR_COMBUSTITION);
                    }
                }
    
                void UpdateAI(uint32 diff)
                {
                    events.Update(diff);
    
                    while (uint32 eventId = events.ExecuteEvent())
                    {
                        switch (eventId)
                        {
                            case EVENT_STALK_PLAYER:
                                if (Unit* target = SelectTarget(SELECT_TARGET_RANDOM, 0, 0, true, 0))
                                {
                                    DoCastAOE(SPELL_LIVING_METEOR_INCREASE_SPEED);
                                    DoCastAOE(SPELL_LIVING_METEOR_DAMAGE_REDUCTION);
                                    me->CastSpell(target, SPELL_LIVING_METEOR_FIXATE, false);
                                    me->ClearUnitState(UNIT_STATE_CASTING);
                                    me->GetMotionMaster()->MoveFollow(target, 0.0f, 0.0f);
                                    events.ScheduleEvent(EVENT_KILL_PLAYER, 1000);
                                    events.ScheduleEvent(EVENT_ENABLE_KNOCKBACK, 2000);
                                }
                                break;
                            case EVENT_KILL_PLAYER:
                                if (Unit* player = me->FindNearestPlayer(5.0f, true))
                                {
                                    events.Reset();
                                    me->RemoveAllAuras();
                                    me->GetMotionMaster()->Clear();
                                    events.ScheduleEvent(EVENT_STALK_PLAYER, 3000);
                                    DoCastAOE(SPELL_LIVING_METEOR_EXPLOSION);
                                }
                                else
                                    events.ScheduleEvent(EVENT_KILL_PLAYER, 1000);
                                break;
                            case EVENT_ENABLE_KNOCKBACK:
                                DoCastAOE(SPELL_LIVING_METEOR_COMBUSTIBLE);
                                break;
                            default:
                                break;
                        }
                    }
                }
    
            private:
                EventMap events;
            };
    
            CreatureAI* GetAI(Creature* creature) const
            {
                return new npc_fl_living_meteorAI(creature);
            }
    };
    
    class spell_splitting_blow : public SpellScriptLoader
    {
    public:
        spell_splitting_blow() : SpellScriptLoader("spell_fl_splitting_blow") { }
    
        class spell_splitting_blow_SpellScript : public SpellScript
        {
            PrepareSpellScript(spell_splitting_blow_SpellScript);
    
            void HandleScriptEffect(SpellEffIndex /*effIndex*/)
            {
                GetHitUnit()->CastSpell(GetHitUnit(), 99056);
                GetHitUnit()->CastSpell(GetHitUnit(), 99014);
            }
    
            void Register()
            {
                OnEffectHitTarget += SpellEffectFn(spell_splitting_blow_SpellScript::HandleScriptEffect, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
            }
        };
    
        SpellScript* GetSpellScript() const
        {
            return new spell_splitting_blow_SpellScript();
        }
    };
    
    class spell_invoke_sons : public SpellScriptLoader
    {
    public:
        spell_invoke_sons() : SpellScriptLoader("spell_fl_invoke_sons") { }
    
        class spell_invoke_sons_SpellScript : public SpellScript
        {
            PrepareSpellScript(spell_invoke_sons_SpellScript);
    
            bool Validate(SpellInfo const* spellEntry)
            {
                if (!sSpellMgr->GetSpellInfo(99054))
                    return false;
                return true;
            }
    
            void HandleScriptEffect(SpellEffIndex /*effIndex*/)
            {
                GetCaster()->CastSpell(GetHitUnit(), 99050, true);
            }
    
            void Register()
            {
                OnEffectHitTarget += SpellEffectFn(spell_invoke_sons_SpellScript::HandleScriptEffect, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);
            }
        };
    
        SpellScript* GetSpellScript() const
        {
            return new spell_invoke_sons_SpellScript();
        }
    };
    
    class spell_fl_blazing_heat : public SpellScriptLoader
    {
        public:
            spell_fl_blazing_heat() :  SpellScriptLoader("spell_fl_blazing_heat") { }
    
            class spell_fl_blazing_heat_AuraScript : public AuraScript
            {
                PrepareAuraScript(spell_fl_blazing_heat_AuraScript);
    
                bool Validate(SpellInfo const* /*spell*/)
                {
                    if (!sSpellMgr->GetSpellInfo(SPELL_BLAZING_HEAT_AURA))
                        return false;
                    return true;
                }
    
                void OnPeriodic(AuraEffect const* /*aurEff*/)
                {
                    GetTarget()->CastSpell(GetTarget(), SPELL_BLAZING_HEAT_SUMMON, false);
                }
    
                void Register()
                {
                    OnEffectPeriodic += AuraEffectPeriodicFn(spell_fl_blazing_heat_AuraScript::OnPeriodic, EFFECT_0, SPELL_AURA_PERIODIC_TRIGGER_SPELL);
                }
            };
    
            AuraScript* GetAuraScript() const
            {
                return new spell_fl_blazing_heat_AuraScript();
            }
    };
    
    
    void AddSC_boss_ragnaros_cata()
    {
        new at_sulfuron_keep();
        new boss_ragnaros_cata();
        new npc_magma_trap();
        new npc_sulfuras_smash();
        new npc_fl_lava_wave();
        new npc_sulfuras_hammer();
        new npc_son_of_flame();
        new npc_engulfing_flame();
        new npc_fl_molten_elemental();
        new npc_fl_lava_scion();
        new npc_fl_blazing_heat();
        new npc_fl_living_meteor();
        new spell_splitting_blow();
        new spell_invoke_sons();
        new spell_fl_blazing_heat();
    }


    Spoiler untuk firelands.h :

    Code:
    /*
     * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #ifndef DEF_FIRELANDS_H
    #define DEF_FIRELANDS_H
    
    #include "Map.h"
    #include "CreatureAI.h"
    
    #define MAX_ENCOUNTERS 7
    
    enum Datas
    {
        DATA_BETHILAC               = 1,
        DATA_LORD_RYOLITH           = 2,
        DATA_ALYSRAZAR              = 3,
        DATA_SHANNOX                = 4,
        DATA_BALOROC                = 5,
        DATA_MAJORDOMUS_STANGEHELM  = 6,
        DATA_RAGNAROS               = 7,
    };
    
    enum GameObjectIds
    {
        GO_RAGNAROS_DOOR            = 209073,
        GO_RAGNAROS_PLATFORM        = 208835,
        GO_CACHE_OF_THE_FIRELORD    = 209261,
        GO_CACHE_OF_THE_FIRELORD_HC = 208967,
    };
    
    enum CreatureIds
    {
        BOSS_RAGNAROS                   = 52409,
        NPC_SULFURAS_SMASH_TRIGGER      = 53266,
        NPC_SULFURAS_SMASH_TARGET       = 53268,
        NPC_LAVA_WAVE                   = 53363,
    
        NPC_ENGULFING_FLAMES_TRIGGER    = 53485,
        NPC_SPLITTING_BLOW_TRIGGER      = 53393,
        NPC_MAGMA_POOL_TRIGGER          = 53729,
        NPC_PLATFORM_TRIGGER            = 53952,
        NPC_MAGMA_TRAP                  = 53086,
        NPC_SULFURAS_HAND_OF_RAGNAROS   = 53420,
        NPC_SON_OF_FLAME                = 53140,
        NPC_MOLTEN_ERUPTER              = 53617,
        NPC_MOLTEN_SPEWER               = 53545,
        NPC_MOLTEN_ELEMENTAL            = 53189,
        NPC_MOLTEN_SEED_CASTER          = 53186,
        NPC_LAVA_SCION                  = 53231,
        NPC_BLAZING_HEAT                = 53473,
        NPC_LIVING_METEOR               = 53500,
    
        NPC_BLAZING_MONSTROSITY_LEFT    = 53786,
        NPC_BLAZING_MONSTROSITY_RIGHT   = 53791,
        NPC_EGG_PILE                    = 53795,
        NPC_HARBINGER_OF_FLAME          = 53793,
    	NPC_MOLTEN_EGG_TRASH            = 53914,	
        NPC_SMOULDERING_HATCHLING       = 53794,
    };
    
    class DelayedAttackStartEvent : public BasicEvent
    {
        public:
            DelayedAttackStartEvent(Creature* owner) : _owner(owner) { }
    
            bool Execute(uint64 /*e_time*/, uint32 /*p_time*/)
            {
                _owner->AI()->DoZoneInCombat(_owner, 200.0f);
                return true;
            }
    
        private:
            Creature* _owner;
    };
    
    /*
    template<class AI>
    CreatureAI* GetFirelandsAI(Creature* creature)
    {
        if (InstanceMap* instance = creature->GetMap()->ToInstanceMap())
            if (instance->GetInstanceScript())
                if (instance->GetScriptId() == sObjectMgr->GetScriptId(FirelandsScriptName))
                    return new AI(creature);
        return NULL;
    }
    */
    
    #endif // FIRELANDS_H_


    Spoiler untuk instance_firelands.cpp :

    Code:
    /*
     * Copyright (C) 2008-2013 TrinityCore <http://www.trinitycore.org/>
     *
     * This program is free software; you can redistribute it and/or modify it
     * under the terms of the GNU General Public License as published by the
     * Free Software Foundation; either version 2 of the License, or (at your
     * option) any later version.
     *
     * This program is distributed in the hope that it will be useful, but WITHOUT
     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
     * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
     * more details.
     *
     * You should have received a copy of the GNU General Public License along
     * with this program. If not, see <http://www.gnu.org/licenses/>.
     */
    
    #include "firelands.h"
    
    DoorData const doorData[] =
    {
        {GO_RAGNAROS_DOOR,                  DATA_RAGNAROS,                  DOOR_TYPE_ROOM,         BOUNDARY_N      },
        {0,                                 0,                              DOOR_TYPE_ROOM,         BOUNDARY_NONE   }, // END
    };
    
    class instance_firelands : public InstanceMapScript
    {
    public:
        instance_firelands() : InstanceMapScript("instance_firelands", 720) { }
    
        struct instance_firelands_InstanceMapScript : public InstanceScript
        {
            instance_firelands_InstanceMapScript(InstanceMap* map) : InstanceScript(map)
            {
                Initialize();
            }
    
            uint64 _ragnarosGUID;
            uint64 _cacheOfTheFirelordGUID;
    
    
            void Initialize()
            {
                SetBossNumber(MAX_ENCOUNTERS);
                LoadDoorData(doorData);
                _ragnarosGUID = 0;
                _cacheOfTheFirelordGUID = 0;
            }
    
            void OnCreatureCreate(Creature* creature)
            {
                switch (creature->GetEntry())
                {
                    case BOSS_RAGNAROS:
                        _ragnarosGUID = creature->GetGUID();
                        break;
                    case NPC_SMOULDERING_HATCHLING:
                        // Cannot directly start attacking here as the creature is not yet on map
                        creature->m_Events.AddEvent(new DelayedAttackStartEvent(creature), creature->m_Events.CalculateTime(500));
                        break;
                }
            }
    
            void OnGameObjectCreate(GameObject* go)
            {
                switch (go->GetEntry())
                {
                    case GO_RAGNAROS_DOOR:
                        go->SetFlag(GAMEOBJECT_FLAGS, GO_FLAG_NOT_SELECTABLE);
                        AddDoor(go, true);
                        break;
                    case GO_CACHE_OF_THE_FIRELORD:
                        go->SetPhaseMask(2, true);
                        _cacheOfTheFirelordGUID = go->GetGUID();
                        break;
                    case GO_CACHE_OF_THE_FIRELORD_HC:
                        go->SetPhaseMask(2, true);
                        break;
                    default:
                        break;
                }
            }
    
            void OnGameObjectRemove(GameObject* go)
            {
                switch (go->GetEntry())
                {
                    case GO_RAGNAROS_DOOR:
                        AddDoor(go, false);
                        break;
                    default:
                        break;
                }
            }
    
            bool SetBossState(uint32 data, EncounterState state)
            {
                if (!InstanceScript::SetBossState(data, state))
                    return false;
    
                return true;
            }
    
            uint64 GetData64(uint32 data) const
            {
                switch (data)
                {
                    case DATA_RAGNAROS:
                        return _ragnarosGUID;
                    default:
                        break;
                }
                return 0;
            }
    
            std::string GetSaveData()
            {
                OUT_SAVE_INST_DATA;
    
                std::ostringstream saveStream;
                saveStream << "F L " << GetBossSaveData();
    
                OUT_SAVE_INST_DATA_COMPLETE;
                return saveStream.str();
            }
    
            void Load(const char* in)
            {
                if (!in)
                {
                    OUT_LOAD_INST_DATA_FAIL;
                    return;
                }
    
                OUT_LOAD_INST_DATA(in);
    
                char dataHead1, dataHead2;
    
                std::istringstream loadStream(in);
                loadStream >> dataHead1 >> dataHead2;
    
                if (dataHead1 == 'F' && dataHead2 == 'L')
                {
                    for (uint8 i = 0; i < MAX_ENCOUNTERS; ++i)
                    {
                        uint32 tmpState;
                        loadStream >> tmpState;
                        if (tmpState == IN_PROGRESS || tmpState > SPECIAL)
                            tmpState = NOT_STARTED;
    
                        SetBossState(i, EncounterState(tmpState));
                    }
    
                } else OUT_LOAD_INST_DATA_FAIL;
    
                OUT_LOAD_INST_DATA_COMPLETE;
            }
        };
    
        InstanceScript* GetInstanceScript(InstanceMap* map) const
        {
            return new instance_firelands_InstanceMapScript(map);
        }
    };
    
    void AddSC_instance_firelands()
    {
        new instance_firelands();
    }


    Spoiler untuk SQL Ragnaros Encounter :

    Code:
    /*
                  ___________________________________
    -------------[RAGNAROS FIRELANDS ENCOUNTER SCRIPT]-------------
                 [    made for TrinityCore 4.3.4     ]
                 [      written by Northstrider (C)  ]
    -------------[___________________________________]-------------
    */
    
    -- Cleanup unneeded spawns
    DELETE FROM `creature` WHERE `id` IN (53086, 53485, 53140, 53231, 52409, 53266, 53393, 53420, 53393);
    
    -- Add trigger flags to trigger Npc's
    UPDATE `creature_template` SET `flags_extra`= 130 WHERE `entry` IN (53268, 53266, 53363, 53268, 53420, 53393, 53485, 53473, 53186);
    
    -- Scriptname for Areatrigger Script
    DELETE FROM `areatrigger_scripts` WHERE entry = 6845;
    INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
    (6845, 'at_sulfuron_keep');
    
    -- Template Updates
    UPDATE `creature_template` SET `scriptname`= 'boss_ragnaros_cata' WHERE `entry`= 52409;
    UPDATE `creature_template` SET `scriptname`= 'npc_magma_trap' WHERE `entry`= 53086;
    UPDATE `creature_template` SET `InhabitType`= 4, `scriptname`= 'npc_fl_lava_wave' WHERE `entry`= 53363;
    UPDATE `creature_template` SET `InhabitType`= 4 WHERE `entry`= 53186;
    UPDATE `creature_template` SET `scriptname`= 'npc_sulfuras_smash' WHERE `entry`= 53268;
    UPDATE `creature_template` SET `scriptname`= 'npc_sulfuras_hammer' WHERE `entry`= 53420;
    UPDATE `creature_template` SET `scriptname`= 'npc_son_of_flame' WHERE `entry`= 53140;
    UPDATE `creature_template` SET `scriptname`= 'npc_engulfing_flame' WHERE `entry`= 53485;
    UPDATE `creature_template` SET `mechanic_immune_mask`= 617299839 WHERE `entry` IN (52409, 53797, 53798);
    UPDATE `creature_template` SET `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `faction_A`= 14, `faction_H`= 14, `scriptname`= 'npc_fl_molten_elemental' WHERE `entry`= 53189;
    UPDATE `creature_template` SET `scriptname`= 'npc_fl_lava_scion' WHERE `entry`= 53231;
    UPDATE `creature_template` SET `faction_A`= 16, `faction_H`= 16, `scriptname`= 'npc_fl_blazing_heat' WHERE `entry`= 53473;
    UPDATE `creature_template` SET `faction_A`= 16, `faction_H`= 16, `minlevel`= 87, `maxlevel`= 87, `exp`= 3, `scriptname`= 'npc_fl_living_meteor' WHERE `entry`= 53500;
    
    -- Spell Script Names
    DELETE FROM `spell_script_names` WHERE spell_id IN (99012, 99054, 99126);
    INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
    (99012, 'spell_fl_splitting_blow'),
    (99054, 'spell_fl_invoke_sons'),
    (99126, 'spell_fl_blazing_heat');
    
    -- Encounter Texts
    DELETE FROM `creature_text` WHERE entry = 52409;
    INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`) VALUES
    (52409, 0, 0, 'Mortal Insects! You dare tresspass into MY domain? Your arrogance will be purged in living flame.', 14, 0, 100, 0, 0, 24517, 'Ragnaros - Intro'),
    (52409, 1, 0, 'Too soon!... You have come too soon...', 14, 0, 100, 0, 0, 24519, 'Ragnaros - Death Normal Mode'),
    (52409, 2, 0, 'Not... No! That should be my finest hour!', 14, 0, 100, 0, 0, 24518, 'Ragnaros - Death Heroic Mode'),
    (52409, 3, 0, 'This is MY realm!', 14, 0, 100, 0, 0, 24529, 'Ragnaros - Kill 1'),
    (52409, 3, 1, 'Pathetic.', 14, 0, 100, 0, 0, 24530, 'Ragnaros - Kill 2'),
    (52409, 3, 2, 'Die, insect!', 14, 0, 100, 0, 0, 24531, 'Ragnaros - Kill 3'),
    (52409, 4, 0, 't%s begins to cast |cFFFF0000|Hspell:98951|h''Splitting Blow''|h|r !', 41, 0, 100, 0, 0, 24520, 'Ragnaros - Announce Splitting Blow'),
    (52409, 5, 0, 'You will be destroyed!', 14, 0, 100, 0, 0, 24520, 'Ragnaros - Hammer Drop 1'),
    (52409, 5, 1, 'Die!', 14, 0, 100, 0, 0, 24521, 'Ragnaros - Hammer Drop 2'),
    (52409, 5, 2, 'Your judgement has come!', 14, 0, 100, 0, 0, 24522, 'Ragnaros - Hammer Drop 3'),
    (52409, 6, 0, 'Enough! I will finish this.', 14, 0, 100, 0, 0, 24523, 'Ragnaros - Hammer Pickup 1'),
    (52409, 6, 1, 'Fall to your knees, mortals! This ends now.', 14, 0, 100, 0, 0, 24524, 'Ragnaros - Hammer Pickup 2'),
    (52409, 6, 2, 'Sulfuras will be your end.', 14, 0, 100, 0, 0, 24525, 'Ragnaros - Hammer Pickup 3'),
    (52409, 7, 0, 'Come forth, my servants! Defend your master!', 14, 0, 100, 0, 0, 24513, 'Ragnaros - Sons of Flame 1'),
    (52409, 7, 1, 'Minions of fire! Purge the outsiders!', 14, 0, 100, 0, 0, 24514, 'Ragnaros - Sons of Flame 2'),
    (52409, 7, 2, 'Denizens of flame, come to me!', 14, 0, 100, 0, 0, 24515, 'Ragnaros - Sons of Flame 3'),
    (52409, 7, 3, 'Arise, servants of fire, consume their flesh!', 14, 0, 100, 0, 0, 24516, 'Ragnaros - Sons of Flame 4'),
    (52409, 8, 0, '%s prepares to |cFFFF0000emerge|r!', 41, 0, 100, 0, 0, 0, 'Ragnaros - Announce Emerge'),
    (52409, 9, 0, 't%s casts |cFFFF6600|Hspell:98164|h''Magma Trap''|h|r!', 41, 0, 100, 0, 0, 0, 'Ragnaros - Magma Trap'),
    (52409, 10, 0, 't%s casts |cFFFF0000|Hspell:98710|h''Sulfuras Smash''|h|r !', 41, 0, 100, 0, 0, 0, 'Ragnaros - Sulfuras Smash');
    
    -- Conditions for some spell targets
    DELETE FROM conditions WHERE SourceEntry IN (98710, 98953, 98952, 98951, 99056, 99050, 99172, 99235, 99236, 99054, 99012, 99216, 99217, 99218, 99125);
    INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorType, ScriptName, Comment) VALUES
    (13, 1, 98710, 0, 0, 31, 0, 3, 53268, 0, 0, 0, '', 'Sulfuras Smash - Target Dummy'),
    (13, 1, 98951, 0, 0, 31, 0, 3, 53393, 0, 0, 0, '', 'Splitting Blow - Target Dummy'),
    (13, 1, 98952, 0, 0, 31, 0, 3, 53393, 0, 0, 0, '', 'Splitting Blow - Target Dummy'),
    (13, 1, 98953, 0, 0, 31, 0, 3, 53393, 0, 0, 0, '', 'Splitting Blow - Target Dummy'),
    (13, 1, 99012, 0, 0, 31, 0, 3, 53393, 0, 0, 0, '', 'Splitting Blow Trigger Missile - Target Dummy'),
    (13, 1, 99054, 0, 0, 31, 0, 3, 53140, 0, 0, 0, '', 'Invoke Sons - Target Son of Flame'),
    (13, 1, 99216, 0, 0, 31, 0, 3, 53485, 0, 0, 0, '', 'Engulfing Flames - Melee Visual'),
    (13, 1, 99172, 0, 0, 31, 0, 3, 53485, 0, 0, 0, '', 'Engulfing Flames - Melee Damage'),
    (13, 1, 99217, 0, 0, 31, 0, 3, 53485, 0, 0, 0, '', 'Engulfing Flames - Center Visual'),
    (13, 1, 99235, 0, 0, 31, 0, 3, 53485, 0, 0, 0, '', 'Engulfing Flames - Center Damage'),
    (13, 1, 99218, 0, 0, 31, 0, 3, 53485, 0, 0, 0, '', 'Engulfing Flames - Range Visual'),
    (13, 1, 99236, 0, 0, 31, 0, 3, 53485, 0, 0, 0, '', 'Engulfing Flames - Range Damage'),
    (13, 1, 99125, 0, 0, 31, 0, 3, 53473, 0, 0, 0, '', 'Blazing Heat - Target Dummy');
    
    -- Linked spells for Molten Seed to supress code size
    DELETE FROM `spell_linked_spell` WHERE `spell_trigger`= -98520;
    INSERT INTO `spell_linked_spell` (`spell_trigger`, `spell_effect`, `type`, `comment`) VALUES
    ('-98520', '-100153', '0', 'Molten Elemental - Remove Invisibility'),
    ('-98520', '98518', '0', 'Molten Elemental - Cast Molten Inferno'),
    ('-98520', '100157', '0', 'Molten Elemental - Cast Molten Aura');


    Status : pernah apply, tapi cm bisa apply SQLnya doank, maklum maen repack g punya sourcenya XD

    klo dirasa berbahaya dan membuat si creator marah dan menghentikan projectnya, dihapus aja om GM hahaha
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

  16. #45
    Achernar_Altair's Avatar
    Join Date
    Mar 2007
    Location
    Kamar, Masjid, Kantor n Warnet, g jauh2 dah dari situ
    Posts
    877
    Points
    1,872.78
    Thanks: 15 / 131 / 30

    Default [SQL]***** Stormwind Guard Guide

    Description : betulin stormwind guard yang ngasih direksi lokasi disasar2in, gtau deh SW guard ud bener apa blom, males nanya2 mereka lagi lol, ane post aja kali blom fixed

    Reference : here

    Code :

    Spoiler untuk SQL :

    Code:
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 4;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 3;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 2;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 10;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 9;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 1;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 11;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 13;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 0;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 7;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 12;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 14;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 8;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 15;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 5;
    DELETE FROM gossip_menu_option WHERE menu_id = 435 AND id = 6;
    
    
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 4, 0, 'Bank', 1, 1, 265, 19, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 3, 0, 'Auction House', 1, 1, 3102, 18, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 2, 0, '|cFF0008E8NEW|r: Void Storage', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 10, 0, 'Mailbox', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 9, 0, 'Inn', 1, 1, 3126, 22, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 1, 0, '|cFF0008E8NEW|r: Transmogrification', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 11, 0, 'Points of Interest', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 13, 0, 'Profession Trainer', 1, 1, 421, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 0, 0, '|cFF0008E8NEW|r: Reforging', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 7, 0, 'Flight Master', 1, 1, 382, 23, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 12, 0, 'Portals', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 14, 0, 'Stable Master', 1, 1, 4925, 26, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 8, 0, 'Guild Master & Vendor', 1, 1, 383, 24, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 15, 0, 'Vendor', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 5, 0, 'Barber', 1, 1, 10011, 30, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (435, 6, 0, 'Class Trainer', 1, 1, 401, 0, 0, 0, '');
    
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 0;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 1;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 2;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 3;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 4;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 5;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 6;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 7;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 8;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 9;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 10;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 11;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 12;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 13;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 14;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 15;
    DELETE FROM gossip_menu_option WHERE menu_id = 421 AND id = 16;
    
    
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 0, 0, 'Alchemy', 1, 1, 422, 40, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 1, 0, 'Archaeology', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 2, 0, 'Blacksmithing', 1, 1, 423, 41, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 3, 0, 'Cooking', 1, 1, 424, 42, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 4, 0, 'Enchanting', 1, 1, 444, 43, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 5, 0, 'Engineering', 1, 1, 425, 44, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 6, 0, 'First Aid', 1, 1, 426, 45, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 7, 0, 'Fishing', 1, 1, 443, 46, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 8, 0, 'Flying', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 9, 0, 'Herbalism', 1, 1, 428, 47, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 10, 0, 'Inscription', 1, 1, 10010, 13, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 11, 0, 'Jewelcrafting', 1, 1, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 12, 0, 'Leatherworking', 1, 1, 428, 47, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 13, 0, 'Mining', 0, 0, 430, 48, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 14, 0, 'Riding', 0, 0, 0, 0, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 15, 0, 'Skinning', 0, 0, 431, 47, 0, 0, '');
    INSERT INTO gossip_menu_option(menu_id, id, option_icon, option_text, option_id, npc_option_npcflag, action_menu_id, action_poi_id, box_coded, box_money, box_text) VALUES (421, 16, 0, 'Tailoring', 0, 0, 432, 49, 0, 0, '');


    Status : lom test, menurut reference sih katanya temp fix, tp lumayan lah

    tambahan dari sini

    Description : here is menu of guard stormwind and theramore guard about where is trainer for X or Y or profession trainers and so on + a broken Ride gryphon master fix and a couple trainers spell list fix

    Code :

    Spoiler untuk SQL :

    Code:
    -- fix for http://wowsource.info/  by Ozeneu
    -- http://wold.wowhead.com/npc=4941
    DELETE FROM `npc_trainer` WHERE `entry` = 4941;
    INSERT INTO `npc_trainer` (`entry`, `spell`, `spellcost`, `reqskill`, `reqskillvalue`, `reqlevel`) VALUES
    (4941, 56479, 200000, 202, 0, 0), -- Armor Plated Combat Shotgun
    (4941, 41320, 50000, 0, 0, 0), -- Destruction Holo-gogs
    (4941, 30565, 100000, 202, 0, 0), -- Foreman's Enchanted Helmet
    (4941, 30566, 100000, 202, 0, 0), -- Foreman's Reinforced Helmet
    (4941, 30575, 100000, 202, 0, 0), -- Gnomish Battle Goggles
    (4941, 30574, 100000, 202, 0, 0), -- Gnomish Power Goggles
    (4941, 41307, 50000, 202, 0, 0), -- Gyro-balanced Khorium Destroyer
    (4941, 81725, 240000, 0, 0, 0), -- Lightweight Bio-Optic Killshades
    (4941, 60874, 200000, 202, 0, 0), -- Nesingwary 4000
    (4941, 44157, 180000, 202, 0, 0), -- Turbo-Charged Flying Machine
    (4941, 56484, 150000, 0, 0, 0), -- Visage Liquification Goggles
    (4941, 84413, 160000, 202, 0, 0), -- De-Weaponized Mechanical Companion
    (4941, 95703, 150000, 202, 0, 0), -- Electrostatic Condenser
    (4941, 84418, 170000, 202, 0, 0), -- Elementium Dragonling
    (4941, 84416, 170000, 202, 0, 0), -- Elementium Toolbox
    (4941, 84420, 170000, 202, 0, 0), -- Finely-Tuned Throat Needler
    (4941, 44155, 60000, 202, 0, 0), -- Flying Machine
    (4941, 95705, 200000, 202, 0, 0), -- Gnomish Gravity Well
    (4941, 56469, 150000, 202, 0, 0), -- Gnomish Lightning Generator
    (4941, 30569, 35000, 202, 0, 0), -- Gnomish Poultryizer
    (4941, 84428, 200000, 202, 0, 0), -- Gnomish X-Ray Scope
    (4941, 56473, 150000, 202, 0, 0), -- Gnomish X-Ray Specs
    (4941, 30563, 50000, 202, 0, 0), -- Goblin Rocket Launcher
    (4941, 12622, 2800, 202, 0, 0), -- Green Lens
    (4941, 56478, 200000, 202, 0, 0), -- Heartseeker Scope
    (4941, 84411, 160000, 202, 0, 0), -- High-Powered Bolt Gun
    (4941, 63750, 5000, 202, 0, 0), -- High-powered Flashlight
    (4941, 84432, 240000, 202, 0, 0), -- Kickback 5000
    (4941, 84421, 170000, 202, 0, 0), -- Loot-a-Rang
    (4941, 84415, 170000, 202, 0, 0), -- Lure Master Tackle Box
    (4941, 54353, 125000, 202, 0, 0), --
    (4941, 56465, 125000, 0, 0, 0), -- Mechanized Snow Goggles
    (4941, 56472, 150000, 202, 0, 0), -- MOLL-E
    (4941, 30570, 50000, 202, 0, 0), -- Nigh-Invulnerability Belt
    (4941, 56467, 125000, 202, 0, 0), -- Noise Machine
    (4941, 84431, 240000, 202, 0, 0), -- Overpowered Chicken Splitter
    (4941, 84412, 160000, 202, 0, 0), -- Personal World Destroyer
    (4941, 84408, 150000, 202, 0, 0), -- R19 Threatfinder
    (4941, 84410, 150000, 202, 0, 0), -- Safety Catch Removal Kit
    (4941, 56466, 125000, 202, 0, 0), -- Sonic Booster
    (4941, 56470, 150000, 202, 0, 0), -- Sun Scope
    (4941, 84417, 170000, 202, 0, 0), -- Volatile Thunderstick
    (4941, 67920, 150000, 202, 0, 0), -- Wormhole Generator: Northrend
    (4941, 3979, 1200, 202, 0, 0), -- Accurate Scope
    (4941, 3936, 420, 202, 0, 0), -- Deadly Blunderbuss
    (4941, 12617, 2200, 202, 0, 0), -- Deepdive Helmet
    (4941, 30312, 20000, 202, 0, 0), -- Fel Iron Musket
    (4941, 12594, 1600, 202, 0, 0), -- Fire Goggles
    (4941, 3934, 400, 202, 0, 0), -- Flying Tiger Goggles
    (4941, 12897, 2200, 202, 0, 0), -- Gnomish Goggles
    (4941, 12903, 2000, 202, 0, 0), -- Gnomish Harm Prevention Belt
    (4941, 12907, 2600, 202, 0, 0), -- Gnomish Mind Control Cap
    (4941, 12902, 1800, 202, 0, 0), -- Gnomish Net-o-Matic Projector
    (4941, 12905, 1500, 202, 0, 0), -- Gnomish Rocket Boots
    (4941, 12899, 1500, 202, 0, 0), -- Gnomish Shrink Ray
    (4941, 12718, 1500, 202, 0, 0), -- Goblin Construction Helmet
    (4941, 12717, 1500, 202, 0, 0), -- Goblin Mining Helmet
    (4941, 12716, 1500, 202, 0, 0), -- Goblin Mortar
    (4941, 8895, 2200, 202, 0, 0), -- Goblin Rocket Boots
    (4941, 12758, 3000, 202, 0, 0), -- Goblin Rocket Helmet
    (4941, 3956, 750, 202, 0, 0), -- Green Tinted Goggles
    (4941, 3939, 500, 202, 0, 0), -- Lovingly Crafted Boomstick
    (4941, 19825, 20000, 202, 0, 0), -- Master Engineer's Goggles
    (4941, 12595, 1600, 202, 0, 0), -- Mithril Blunderbuss
    (4941, 12618, 2200, 202, 0, 0), -- Rose Colored Goggles
    (4941, 3925, 150, 202, 0, 0), -- Rough Boomstick
    (4941, 3949, 550, 202, 0, 0), -- Silver-plated Shotgun
    (4941, 12615, 2500, 202, 0, 0), -- Spellpower Goggles Xtreme
    (4941, 19794, 20000, 202, 0, 0), -- Spellpower Goggles Xtreme Plus
    (4941, 19792, 10000, 202, 0, 0), -- Thorium Rifle
    (4941, 30306, 20000, 202, 0, 0), -- Adamantite Frame
    (4941, 30311, 25000, 202, 0, 0), -- Adamantite Grenade
    (4941, 3965, 1200, 202, 0, 0), -- Advanced Target Dummy
    (4941, 9271, 500, 202, 0, 0), -- Aquadynamic Fish Attractor
    (4941, 7430, 150, 202, 0, 0), -- Arclight Spanner
    (4941, 84406, 150000, 202, 0, 0), -- Authentic Jr. Engineer Goggles
    (4941, 3950, 600, 202, 0, 0), -- Big Bronze Bomb
    (4941, 95707, 200000, 202, 0, 0), -- Big Daddy
    (4941, 3967, 1400, 202, 0, 0), -- Big Iron Bomb
    (4941, 56461, 100000, 202, 0, 0), -- Bladed Pickaxe
    (4941, 56468, 125000, 202, 0, 0), -- Box of Bombs
    (4941, 3953, 600, 202, 0, 0), -- Bronze Framework
    (4941, 3938, 450, 202, 0, 0), -- Bronze Tube
    (4941, 8334, 300, 202, 0, 0), -- Clockwork Box
    (4941, 3929, 250, 202, 0, 0), -- Coarse Blasting Powder
    (4941, 3931, 250, 202, 0, 0), -- Coarse Dynamite
    (4941, 56460, 50000, 202, 0, 0), -- Cobalt Frag Bomb
    (4941, 3963, 1000, 202, 0, 0), -- Compact Harvest Reaper Kit
    (4941, 3977, 200, 202, 0, 0), -- Crude Scope
    (4941, 19788, 4000, 202, 0, 0), -- Dense Blasting Powder
    (4941, 23070, 5000, 202, 0, 0), -- Dense Dynamite
    (4941, 61471, 100000, 202, 0, 0), -- Diamond-cut Refractor Scope
    (4941, 94748, 150000, 202, 0, 0), -- Electrified Ether
    (4941, 30303, 10000, 202, 0, 0), -- Elemental Blasting Powder
    (4941, 56463, 100000, 202, 0, 0), -- Explosive Decoy
    (4941, 3955, 750, 202, 0, 0), -- Explosive Sheep
    (4941, 30310, 15000, 202, 0, 0), -- Fel Iron Bomb
    (4941, 30304, 10000, 202, 0, 0), -- Fel Iron Casing
    (4941, 30309, 50000, 202, 0, 0), -- Felsteel Stabilizer
    (4941, 56471, 100000, 202, 0, 0), -- Froststeel Tube
    (4941, 39895, 10000, 202, 0, 0), -- Fused Wiring
    (4941, 56514, 150000, 202, 0, 0), -- Global Thermal Sapper Charge
    (4941, 56462, 150000, 202, 0, 0), -- Gnomish Army Knife
    (4941, 12906, 2400, 202, 0, 0), -- Gnomish Battle Chicken
    (4941, 12759, 2800, 202, 0, 0), -- Gnomish Death Ray
    (4941, 30568, 25000, 202, 0, 0), -- Gnomish Flame Turret
    (4941, 84429, 200000, 202, 0, 0), -- Goblin Barbecue
    (4941, 67326, 100000, 202, 0, 0), -- Goblin Beam Welder
    (4941, 12755, 2400, 202, 0, 0), -- Goblin Bomb Dispenser
    (4941, 12908, 2800, 202, 0, 0), -- Goblin Dragon Gun
    (4941, 12715, 1000, 202, 0, 0), -- Goblin Rocket Fuel Recipe
    (4941, 12760, 1500, 202, 0, 0), -- Goblin Sapper Charge
    (4941, 12584, 1000, 202, 0, 0), -- Gold Power Core
    (4941, 3961, 900, 202, 0, 0), -- Gyrochronatom
    (4941, 12590, 1000, 202, 0, 0), -- Gyromatic Micro-Adjustor
    (4941, 56459, 100000, 202, 0, 0), -- Hammer Pick
    (4941, 56349, 50000, 202, 0, 0), -- Handful of Cobalt Bolts
    (4941, 3922, 115, 202, 0, 0), -- Handful of Copper Bolts
    (4941, 30305, 10000, 202, 0, 0), -- Handful of Fel Iron Bolts
    (4941, 84403, 150000, 202, 0, 0), -- Handful of Obsidium Bolts
    (4941, 30307, 50000, 202, 0, 0), -- Hardened Adamantite Tube
    (4941, 56476, 125000, 202, 0, 0), -- Healing Injector Kit
    (4941, 84430, 200000, 202, 0, 0), -- Heat-Treated Spinning Lure
    (4941, 3945, 500, 202, 0, 0), -- Heavy Blasting Powder
    (4941, 3946, 500, 202, 0, 0), -- Heavy Dynamite
    (4941, 12619, 2400, 202, 0, 0), -- Hi-Explosive Bomb
    (4941, 39971, 20000, 202, 0, 0), -- Icy Blasting Primers
    (4941, 12895, 1500, 202, 0, 0), -- Inlaid Mithril Cylinder Plans
    (4941, 3962, 1000, 202, 0, 0), -- Iron Grenade
    (4941, 3958, 800, 202, 0, 0), -- Iron Strut
    (4941, 30308, 50000, 202, 0, 0), -- Khorium Power Core
    (4941, 3937, 450, 202, 0, 0), -- Large Copper Bomb
    (4941, 56477, 125000, 202, 0, 0), -- Mana Injector Kit
    (4941, 15255, 1500, 202, 0, 0), -- Mechanical Repair Kit
    (4941, 12599, 1800, 202, 0, 0), -- Mithril Casing
    (4941, 12603, 1800, 202, 0, 0), -- Mithril Frag Bomb
    (4941, 12589, 1300, 202, 0, 0), -- Mithril Tube
    (4941, 6458, 400, 202, 0, 0), -- Ornate Spyglass
    (4941, 56464, 100000, 202, 0, 0), -- Overcharged Capacitor
    (4941, 3923, 130, 202, 0, 0), -- Rough Copper Bomb
    (4941, 19567, 4000, 202, 0, 0), -- Salt Shaker
    (4941, 3973, 300, 202, 0, 0), -- Silver Contact
    (4941, 3941, 500, 202, 0, 0), -- Small Bronze Bomb
    (4941, 12585, 1000, 202, 0, 0), -- Solid Blasting Powder
    (4941, 12586, 1000, 202, 0, 0), -- Solid Dynamite
    (4941, 3978, 475, 202, 0, 0), -- Standard Scope
    (4941, 30560, 35000, 202, 0, 0), -- Super Sapper Charge
    (4941, 3932, 300, 202, 0, 0), -- Target Dummy
    (4941, 12754, 2600, 202, 0, 0), -- The Big One
    (4941, 30558, 25000, 202, 0, 0), -- The Bigger One
    (4941, 19790, 10000, 202, 0, 0), -- Thorium Grenade
    (4941, 19795, 10000, 202, 0, 0), -- Thorium Tube
    (4941, 19791, 5000, 202, 0, 0), -- Thorium Widget
    (4941, 23071, 5000, 202, 0, 0), -- Truesilver Transformer
    (4941, 12591, 1500, 202, 0, 0), -- Unstable Trigger
    (4941, 53281, 50000, 202, 0, 0), -- Volatile Blasting Trigger
    (4941, 84409, 160000, 202, 0, 0), -- Volatile Seaforium Blastpack
    (4941, 3942, 500, 202, 0, 0), -- Whirring Bronze Gizmo
    (4941, 54736, 100000, 202, 0, 0), -- EMP Generator
    (4941, 4037, 500, 202, 0, 0), -- Engineering
    (4941, 82774, 500000, 202, 0, 0), -- Engineering
    (4941, 12656, 50000, 202, 0, 0), -- Engineering
    (4941, 51306, 350000, 202, 0, 0), -- Engineering
    (4941, 4036, 10, 202, 0, 0), -- Engineering
    (4941, 4038, 5000, 202, 0, 0), -- Engineering
    (4941, 30350, 100000, 202, 0, 0), -- Engineering
    (4941, 55002, 100000, 202, 0, 0), -- Flexweave Underlay
    (4941, 54793, 100000, 202, 0, 0), -- Frag Belt
    (4941, 54998, 125000, 202, 0, 0), -- Hand-Mounted Pyro Rocket
    (4941, 54999, 125000, 202, 0, 0), -- Hyperspeed Accelerators
    (4941, 67839, 100000, 202, 0, 0), -- Mind Amplification Dish
    (4941, 55016, 125000, 202, 0, 0), -- Nitro Boosts
    (4941, 63770, 125000, 202, 0, 0); -- Reticulated Armor Webbing
     
    -- http://wold.wowhead.com/npc=4888
    DELETE FROM `npc_trainer` WHERE `entry` = 4888;
    INSERT INTO `npc_trainer` (`entry`, `spell`, `spellcost`, `reqskill`, `reqskillvalue`, `reqlevel`) VALUES
    (4888, 55374, 120000, 164, 0, 0), -- Brilliant Titansteel Helm
    (4888, 55377, 120000, 164, 0, 0), -- Brilliant Titansteel Treads
    (4888, 61008, 120000, 164, 0, 0), -- Icebane Chestguard
    (4888, 61009, 120000, 164, 0, 0), -- Icebane Girdle
    (4888, 61010, 120000, 164, 0, 0), -- Icebane Treads
    (4888, 55372, 120000, 164, 0, 0), -- Spiked Titansteel Helm
    (4888, 55375, 120000, 164, 0, 0), -- Spiked Titansteel Treads
    (4888, 55373, 120000, 164, 0, 0), -- Tempered Titansteel Helm
    (4888, 55376, 120000, 164, 0, 0), -- Tempered Titansteel Treads
    (4888, 55370, 150000, 164, 0, 0), -- Titansteel Bonecrusher
    (4888, 55369, 180000, 164, 0, 0), -- Titansteel Destroyer
    (4888, 55371, 150000, 164, 0, 0), -- Titansteel Guardian
    (4888, 56234, 150000, 164, 0, 0), -- Titansteel Shanker
    (4888, 56400, 150000, 164, 0, 0), -- Titansteel Shield Wall
    (4888, 63182, 150000, 164, 0, 0), -- Titansteel Spellblade
    (4888, 59436, 40000, 164, 0, 0), -- Brilliant Saronite Belt
    (4888, 55057, 40000, 164, 0, 0), -- Brilliant Saronite Boots
    (4888, 59438, 40000, 164, 0, 0), -- Brilliant Saronite Bracers
    (4888, 55058, 45000, 164, 0, 0), -- Brilliant Saronite Breastplate
    (4888, 55056, 40000, 164, 0, 0), -- Brilliant Saronite Gauntlets
    (4888, 59441, 45000, 164, 0, 0), -- Brilliant Saronite Helm
    (4888, 55055, 40000, 164, 0, 0), -- Brilliant Saronite Legplates
    (4888, 59440, 40000, 164, 0, 0), -- Brilliant Saronite Pauldrons
    (4888, 76434, 60000, 164, 0, 0), -- Cold-Forged Shank
    (4888, 56280, 40000, 164, 0, 0), -- Cudgel of Saronite Justice
    (4888, 55301, 45000, 164, 0, 0), -- Daunting Handguards
    (4888, 55303, 45000, 164, 0, 0), -- Daunting Legplates
    (4888, 76433, 50000, 164, 0, 0), -- Decapitator's Razor
    (4888, 55656, 50000, 164, 0, 0), -- Eternal Belt Buckle
    (4888, 76435, 65000, 164, 0, 0), -- Fire-Etched Dagger
    (4888, 55182, 40000, 164, 0, 0), -- Furious Saronite Beatstick
    (4888, 3508, 7500, 164, 0, 0), -- Green Iron Hauberk
    (4888, 76260, 65000, 164, 0, 0), -- Hardened Obsidium Helm
    (4888, 76258, 65000, 164, 0, 0), -- Hardened Obsidium Shoulders
    (4888, 55302, 45000, 164, 0, 0), -- Helm of Command
    (4888, 55174, 50000, 164, 0, 0), -- Honed Cobalt Cleaver
    (4888, 76436, 65000, 164, 0, 0), -- Lifeforce Hammer
    (4888, 76474, 60000, 164, 0, 0), -- Obsidium Bladespear
    (4888, 76437, 65000, 164, 0, 0), -- Obsidium Executioner
    (4888, 56549, 45000, 164, 0, 0), -- Ornate Saronite Bracers
    (4888, 56553, 45000, 164, 0, 0), -- Ornate Saronite Gauntlets
    (4888, 56555, 45000, 164, 0, 0), -- Ornate Saronite Hauberk
    (4888, 56554, 45000, 164, 0, 0), -- Ornate Saronite Legplates
    (4888, 56550, 45000, 164, 0, 0), -- Ornate Saronite Pauldrons
    (4888, 56556, 45000, 164, 0, 0), -- Ornate Saronite Skullshield
    (4888, 56551, 45000, 164, 0, 0), -- Ornate Saronite Waistguard
    (4888, 56552, 45000, 164, 0, 0), -- Ornate Saronite Walkers
    (4888, 76270, 75000, 164, 0, 0), -- Redsteel Breastplate
    (4888, 55300, 45000, 164, 0, 0), -- Righteous Gauntlets
    (4888, 55304, 45000, 164, 0, 0), -- Righteous Greaves
    (4888, 55179, 50000, 164, 0, 0), -- Saronite Ambusher
    (4888, 55014, 35000, 164, 0, 0), -- Saronite Bulwark
    (4888, 54557, 40000, 164, 0, 0), -- Saronite Defender
    (4888, 55185, 45000, 164, 0, 0), -- Saronite Mindcrusher
    (4888, 55013, 40000, 164, 0, 0), -- Saronite Protector
    (4888, 55181, 50000, 164, 0, 0), -- Saronite Shiv
    (4888, 59442, 40000, 164, 0, 0), -- Saronite Spellblade
    (4888, 55177, 50000, 164, 0, 0), -- Savage Cobalt Slicer
    (4888, 55305, 45000, 164, 0, 0), -- Savage Saronite Bracers
    (4888, 55309, 45000, 164, 0, 0), -- Savage Saronite Gauntlets
    (4888, 55311, 45000, 164, 0, 0), -- Savage Saronite Hauberk
    (4888, 55310, 45000, 164, 0, 0), -- Savage Saronite Legplates
    (4888, 55306, 45000, 164, 0, 0), -- Savage Saronite Pauldrons
    (4888, 55312, 45000, 164, 0, 0), -- Savage Saronite Skullshield
    (4888, 55307, 45000, 164, 0, 0), -- Savage Saronite Waistguard
    (4888, 55308, 45000, 164, 0, 0), -- Savage Saronite Walkers
    (4888, 2675, 1000, 164, 0, 0), -- Shining Silver Breastplate
    (4888, 9935, 5000, 164, 0, 0), -- Steel Plate Helm
    (4888, 76281, 50000, 164, 0, 0), -- Stormforged Gauntlets
    (4888, 76288, 65000, 164, 0, 0), -- Stormforged Helm
    (4888, 76287, 65000, 164, 0, 0), -- Stormforged Legguards
    (4888, 76286, 65000, 164, 0, 0), -- Stormforged Shoulders
    (4888, 54551, 40000, 164, 0, 0), -- Tempered Saronite Belt
    (4888, 54552, 40000, 164, 0, 0), -- Tempered Saronite Boots
    (4888, 55017, 40000, 164, 0, 0), -- Tempered Saronite Bracers
    (4888, 54553, 40000, 164, 0, 0), -- Tempered Saronite Breastplate
    (4888, 55015, 40000, 164, 0, 0), -- Tempered Saronite Gauntlets
    (4888, 54555, 40000, 164, 0, 0), -- Tempered Saronite Helm
    (4888, 54554, 40000, 164, 0, 0), -- Tempered Saronite Legplates
    (4888, 54556, 40000, 164, 0, 0), -- Tempered Saronite Shoulders
    (4888, 55298, 45000, 164, 0, 0), -- Vengeance Bindings
    (4888, 19669, 10000, 164, 0, 0), -- Arcanite Skeleton Key
    (4888, 10001, 15000, 164, 0, 0), -- Big Black Mace
    (4888, 3491, 600, 164, 0, 0), -- Big Bronze Knife
    (4888, 2741, 200, 164, 0, 0), -- Bronze Axe
    (4888, 9987, 500, 164, 0, 0), -- Bronze Battle Axe
    (4888, 9986, 500, 164, 0, 0), -- Bronze Greatsword
    (4888, 2740, 200, 164, 0, 0), -- Bronze Mace
    (4888, 2742, 200, 164, 0, 0), -- Bronze Shortsword
    (4888, 9985, 250, 164, 0, 0), -- Bronze Warhammer
    (4888, 52568, 30000, 164, 0, 0), -- Cobalt Belt
    (4888, 52569, 30000, 164, 0, 0), -- Cobalt Boots
    (4888, 55834, 30000, 164, 0, 0), -- Cobalt Bracers
    (4888, 52570, 30000, 164, 0, 0), -- Cobalt Chestpiece
    (4888, 55835, 30000, 164, 0, 0), -- Cobalt Gauntlets
    (4888, 52571, 30000, 164, 0, 0), -- Cobalt Helm
    (4888, 52567, 30000, 164, 0, 0), -- Cobalt Legplates
    (4888, 52572, 30000, 164, 0, 0), -- Cobalt Shoulders
    (4888, 59405, 30000, 164, 0, 0), -- Cobalt Skeleton Key
    (4888, 55201, 35000, 164, 0, 0), -- Cobalt Tenderizer
    (4888, 54550, 30000, 164, 0, 0), -- Cobalt Triangle Shield
    (4888, 3293, 250, 164, 0, 0), -- Copper Battle Axe
    (4888, 76441, 65000, 164, 0, 0), -- Elementium Shield Spike
    (4888, 29550, 25000, 164, 0, 0), -- Fel Iron Breastplate
    (4888, 29553, 20000, 164, 0, 0), -- Fel Iron Chain Bracers
    (4888, 29551, 15000, 164, 0, 0), -- Fel Iron Chain Coif
    (4888, 29552, 18000, 164, 0, 0), -- Fel Iron Chain Gloves
    (4888, 29556, 22000, 164, 0, 0), -- Fel Iron Chain Tunic
    (4888, 29565, 22000, 164, 0, 0), -- Fel Iron Greatsword
    (4888, 29558, 20000, 164, 0, 0), -- Fel Iron Hammer
    (4888, 29557, 18000, 164, 0, 0), -- Fel Iron Hatchet
    (4888, 29547, 15000, 164, 0, 0), -- Fel Iron Plate Belt
    (4888, 29548, 20000, 164, 0, 0), -- Fel Iron Plate Boots
    (4888, 29545, 15000, 164, 0, 0), -- Fel Iron Plate Gloves
    (4888, 29549, 20000, 164, 0, 0), -- Fel Iron Plate Pants
    (4888, 55203, 35000, 164, 0, 0), -- Forged Cobalt Claymore
    (4888, 15972, 7500, 164, 0, 0), -- Glinting Steel Dagger
    (4888, 7223, 1000, 164, 0, 0), -- Golden Scale Bracers
    (4888, 19667, 250, 164, 0, 0), -- Golden Skeleton Key
    (4888, 3501, 1000, 164, 0, 0), -- Green Iron Bracers
    (4888, 3502, 1250, 164, 0, 0), -- Green Iron Helm
    (4888, 3506, 5000, 164, 0, 0), -- Green Iron Leggings
    (4888, 76181, 55000, 164, 0, 0), -- Hardened Obsidium Belt
    (4888, 76182, 60000, 164, 0, 0), -- Hardened Obsidium Boots
    (4888, 76179, 40000, 164, 0, 0), -- Hardened Obsidium Bracers
    (4888, 76261, 75000, 164, 0, 0), -- Hardened Obsidium Breastplate
    (4888, 76180, 50000, 164, 0, 0), -- Hardened Obsidium Gauntlets
    (4888, 76259, 65000, 164, 0, 0), -- Hardened Obsidium Legguards
    (4888, 76291, 50000, 164, 0, 0), -- Hardened Obsidium Shield
    (4888, 3296, 1000, 164, 0, 0), -- Heavy Bronze Mace
    (4888, 3292, 500, 164, 0, 0), -- Heavy Copper Broadsword
    (4888, 7408, 300, 164, 0, 0), -- Heavy Copper Maul
    (4888, 9993, 10000, 164, 0, 0), -- Heavy Mithril Axe
    (4888, 9968, 20000, 164, 0, 0), -- Heavy Mithril Boots
    (4888, 9959, 15000, 164, 0, 0), -- Heavy Mithril Breastplate
    (4888, 9928, 5000, 164, 0, 0), -- Heavy Mithril Gauntlet
    (4888, 9926, 5000, 164, 0, 0), -- Heavy Mithril Shoulder
    (4888, 54949, 30000, 164, 0, 0), -- Horned Cobalt Helm
    (4888, 16971, 15000, 164, 0, 0), -- Huge Thorium Battleaxe
    (4888, 16647, 10000, 164, 0, 0), -- Imperial Plate Belt
    (4888, 16657, 10000, 164, 0, 0), -- Imperial Plate Boots
    (4888, 16649, 10000, 164, 0, 0), -- Imperial Plate Bracers
    (4888, 16663, 12000, 164, 0, 0), -- Imperial Plate Chest
    (4888, 16658, 10000, 164, 0, 0), -- Imperial Plate Helm
    (4888, 16730, 12000, 164, 0, 0), -- Imperial Plate Leggings
    (4888, 16646, 10000, 164, 0, 0), -- Imperial Plate Shoulders
    (4888, 9961, 15000, 164, 0, 0), -- Mithril Coif
    (4888, 9931, 5000, 164, 0, 0), -- Mithril Scale Pants
    (4888, 55204, 35000, 164, 0, 0), -- Notched Cobalt War Axe
    (4888, 76438, 60000, 164, 0, 0), -- Obsidium Skeleton Key
    (4888, 16969, 15000, 164, 0, 0), -- Ornate Thorium Handaxe
    (4888, 2672, 500, 164, 0, 0), -- Patterned Bronze Bracers
    (4888, 6517, 800, 164, 0, 0), -- Pearl-handled Dagger
    (4888, 76264, 55000, 164, 0, 0), -- Redsteel Belt
    (4888, 76265, 60000, 164, 0, 0), -- Redsteel Boots
    (4888, 76262, 40000, 164, 0, 0), -- Redsteel Bracers
    (4888, 76263, 50000, 164, 0, 0), -- Redsteel Gauntlets
    (4888, 76269, 75000, 164, 0, 0), -- Redsteel Helm
    (4888, 76267, 65000, 164, 0, 0), -- Redsteel Legguards
    (4888, 76266, 65000, 164, 0, 0), -- Redsteel Shoulders
    (4888, 7817, 200, 164, 0, 0), -- Rough Bronze Boots
    (4888, 2670, 500, 164, 0, 0), -- Rough Bronze Cuirass
    (4888, 2668, 300, 164, 0, 0), -- Rough Bronze Leggings
    (4888, 3328, 500, 164, 0, 0), -- Rough Bronze Shoulders
    (4888, 2666, 200, 164, 0, 0), -- Runed Copper Belt
    (4888, 2664, 500, 164, 0, 0), -- Runed Copper Bracers
    (4888, 3323, 100, 164, 0, 0), -- Runed Copper Gauntlets
    (4888, 3324, 200, 164, 0, 0), -- Runed Copper Pants
    (4888, 19666, 100, 164, 0, 0), -- Silver Skeleton Key
    (4888, 3331, 500, 164, 0, 0), -- Silvered Bronze Boots
    (4888, 3333, 1000, 164, 0, 0), -- Silvered Bronze Gauntlets
    (4888, 54946, 30000, 164, 0, 0), -- Spiked Cobalt Belt
    (4888, 54918, 30000, 164, 0, 0), -- Spiked Cobalt Boots
    (4888, 54948, 30000, 164, 0, 0), -- Spiked Cobalt Bracers
    (4888, 54944, 30000, 164, 0, 0), -- Spiked Cobalt Chestpiece
    (4888, 54945, 35000, 164, 0, 0), -- Spiked Cobalt Gauntlets
    (4888, 54917, 30000, 164, 0, 0), -- Spiked Cobalt Helm
    (4888, 54947, 35000, 164, 0, 0), -- Spiked Cobalt Legplates
    (4888, 54941, 30000, 164, 0, 0), -- Spiked Cobalt Shoulders
    (4888, 9916, 2500, 164, 0, 0), -- Steel Breastplate
    (4888, 76283, 55000, 164, 0, 0), -- Stormforged Belt
    (4888, 76285, 60000, 164, 0, 0), -- Stormforged Boots
    (4888, 76280, 40000, 164, 0, 0), -- Stormforged Bracers
    (4888, 76289, 75000, 164, 0, 0), -- Stormforged Breastplate
    (4888, 76293, 60000, 164, 0, 0), -- Stormforged Shield
    (4888, 55200, 35000, 164, 0, 0), -- Sturdy Cobalt Quickblade
    (4888, 3294, 500, 164, 0, 0), -- Thick War Axe
    (4888, 16642, 10000, 164, 0, 0), -- Thorium Armor
    (4888, 16643, 10000, 164, 0, 0), -- Thorium Belt
    (4888, 16652, 10000, 164, 0, 0), -- Thorium Boots
    (4888, 16644, 10000, 164, 0, 0), -- Thorium Bracers
    (4888, 16653, 10000, 164, 0, 0), -- Thorium Helm
    (4888, 16662, 12000, 164, 0, 0), -- Thorium Leggings
    (4888, 56357, 42000, 164, 0, 0), -- Titanium Shield Spike
    (4888, 59406, 45000, 164, 0, 0), -- Titanium Skeleton Key
    (4888, 55839, 42000, 164, 0, 0), -- Titanium Weapon Chain
    (4888, 19668, 2500, 164, 0, 0), -- Truesilver Skeleton Key
    (4888, 3326, 250, 164, 0, 0), -- Coarse Grinding Stone
    (4888, 2665, 100, 164, 0, 0), -- Coarse Sharpening Stone
    (4888, 3116, 100, 164, 0, 0), -- Coarse Weightstone
    (4888, 2738, 50, 164, 0, 0), -- Copper Axe
    (4888, 2661, 100, 164, 0, 0), -- Copper Chain Belt
    (4888, 3319, 50, 164, 0, 0), -- Copper Chain Boots
    (4888, 2662, 50, 164, 0, 0), -- Copper Chain Pants
    (4888, 9983, 100, 164, 0, 0), -- Copper Claymore
    (4888, 8880, 100, 164, 0, 0), -- Copper Dagger
    (4888, 2737, 50, 164, 0, 0), -- Copper Mace
    (4888, 2739, 50, 164, 0, 0), -- Copper Shortsword
    (4888, 16639, 10000, 164, 0, 0), -- Dense Grinding Stone
    (4888, 16641, 10000, 164, 0, 0), -- Dense Sharpening Stone
    (4888, 16640, 10000, 164, 0, 0), -- Dense Weightstone
    (4888, 29654, 15000, 164, 0, 0), -- Fel Sharpening Stone
    (4888, 34607, 15000, 164, 0, 0), -- Fel Weightstone
    (4888, 76178, 15000, 164, 0, 0), -- Folded Obsidium
    (4888, 3337, 1000, 164, 0, 0), -- Heavy Grinding Stone
    (4888, 2674, 1000, 164, 0, 0), -- Heavy Sharpening Stone
    (4888, 3117, 1000, 164, 0, 0), -- Heavy Weightstone
    (4888, 8768, 250, 164, 0, 0), -- Iron Buckle
    (4888, 32284, 25000, 164, 0, 0), -- Lesser Rune of Warding
    (4888, 3320, 100, 164, 0, 0), -- Rough Grinding Stone
    (4888, 9920, 2500, 164, 0, 0), -- Solid Grinding Stone
    (4888, 9918, 2500, 164, 0, 0), -- Solid Sharpening Stone
    (4888, 9921, 2500, 164, 0, 0), -- Solid Weightstone
    (4888, 55206, 40000, 164, 0, 0), -- Deadly Saronite Dirk
    (4888, 51300, 350000, 164, 0, 0), -- Blacksmithing
    (4888, 3538, 5000, 164, 0, 0), -- Blacksmithing
    (4888, 76666, 500000, 164, 0, 0), -- Blacksmithing
    (4888, 3100, 500, 164, 0, 0), -- Blacksmithing
    (4888, 29844, 100000, 164, 0, 0), -- Blacksmithing
    (4888, 2018, 10, 164, 0, 0), -- Blacksmithing
    (4888, 9785, 50000, 164, 0, 0), -- Blacksmithing
    (4888, 55628, 45000, 164, 0, 0), -- Socket Bracer
    (4888, 55641, 45000, 164, 0, 0); -- Socket Gloves
     
    -- http://wold.wowhead.com/npc=53403
    DELETE FROM `npc_trainer` WHERE `entry` = 53403;
    INSERT INTO `npc_trainer` VALUES ('53403', '34433', '105000', '0', '0', '66');
    INSERT INTO `npc_trainer` VALUES ('53403', '589', '97', '0', '0', '4');
    INSERT INTO `npc_trainer` VALUES ('53403', '32379', '9000', '0', '0', '32');
    INSERT INTO `npc_trainer` VALUES ('53403', '27683', '22500', '0', '0', '52');
    INSERT INTO `npc_trainer` VALUES ('53403', '9484', '9000', '0', '0', '32');
    INSERT INTO `npc_trainer` VALUES ('53403', '2006', '1418', '0', '0', '14');
    INSERT INTO `npc_trainer` VALUES ('53403', '139', '390', '0', '0', '8');
    INSERT INTO `npc_trainer` VALUES ('53403', '8122', '1076', '0', '0', '12');
    INSERT INTO `npc_trainer` VALUES ('53403', '33076', '117000', '0', '0', '68');
    INSERT INTO `npc_trainer` VALUES ('53403', '596', '19500', '0', '0', '44');
    INSERT INTO `npc_trainer` VALUES ('53403', '17', '142', '0', '0', '5');
    INSERT INTO `npc_trainer` VALUES ('53403', '21562', '1418', '0', '0', '14');
    INSERT INTO `npc_trainer` VALUES ('53403', '89745', '22500', '0', '0', '50');
    INSERT INTO `npc_trainer` VALUES ('53403', '2096', '12000', '0', '0', '36');
    INSERT INTO `npc_trainer` VALUES ('53403', '73510', '234000', '0', '0', '81');
    INSERT INTO `npc_trainer` VALUES ('53403', '453', '25500', '0', '0', '56');
    INSERT INTO `npc_trainer` VALUES ('53403', '48045', '168000', '0', '0', '74');
    INSERT INTO `npc_trainer` VALUES ('53403', '605', '13500', '0', '0', '38');
    INSERT INTO `npc_trainer` VALUES ('53403', '8092', '552', '0', '0', '9');
    INSERT INTO `npc_trainer` VALUES ('53403', '87495', '224000', '0', '0', '80');
    INSERT INTO `npc_trainer` VALUES ('53403', '32375', '150000', '0', '0', '72');
    INSERT INTO `npc_trainer` VALUES ('53403', '8129', '27000', '0', '0', '58');
    INSERT INTO `npc_trainer` VALUES ('53403', '1706', '10500', '0', '0', '34');
    INSERT INTO `npc_trainer` VALUES ('53403', '73325', '282000', '0', '0', '85');
    INSERT INTO `npc_trainer` VALUES ('53403', '73413', '258000', '0', '0', '83');
    INSERT INTO `npc_trainer` VALUES ('53403', '588', '285', '0', '0', '7');
    INSERT INTO `npc_trainer` VALUES ('53403', '64901', '93000', '0', '0', '64');
    INSERT INTO `npc_trainer` VALUES ('53403', '15237', '81000', '0', '0', '62');
    INSERT INTO `npc_trainer` VALUES ('53403', '14914', '2785', '0', '0', '18');
    INSERT INTO `npc_trainer` VALUES ('53403', '2050', '2060', '0', '0', '16');
    INSERT INTO `npc_trainer` VALUES ('53403', '2060', '16500', '0', '0', '38');
    INSERT INTO `npc_trainer` VALUES ('53403', '2061', '60', '0', '0', '3');
    INSERT INTO `npc_trainer` VALUES ('53403', '6346', '24000', '0', '0', '54');
    INSERT INTO `npc_trainer` VALUES ('53403', '586', '5100', '0', '0', '24');
    INSERT INTO `npc_trainer` VALUES ('53403', '64843', '204000', '0', '0', '78');
    INSERT INTO `npc_trainer` VALUES ('53403', '527', '6000', '0', '0', '26');
    INSERT INTO `npc_trainer` VALUES ('53403', '2944', '7500', '0', '0', '28');
    INSERT INTO `npc_trainer` VALUES ('53403', '528', '4200', '0', '0', '22');
    INSERT INTO `npc_trainer` VALUES ('53403', '32546', '21000', '0', '0', '48');
     
    -- http://wold.wowhead.com/npc=12939
    DELETE FROM `npc_trainer` WHERE `entry` = 12939;
    INSERT INTO `npc_trainer` (`entry`, `spell`, `spellcost`, `reqskill`, `reqskillvalue`, `reqlevel`) VALUES
    (12939, 7934, 250, 129, 0, 0), -- Anti-Venom
    (12939, 88893, 80000, 129, 0, 0), -- Dense Embersilk Bandage
    (12939, 74556, 60000, 129, 0, 0), -- Embersilk Bandage
    (12939, 74558, 15000, 129, 0, 0), -- Field Bandage: Dense Embersilk
    (12939, 45545, 40000, 129, 0, 0), -- Frostweave Bandage
    (12939, 74557, 80000, 129, 0, 0), -- Heavy Embersilk Bandage
    (12939, 45546, 60000, 129, 0, 0), -- Heavy Frostweave Bandage
    (12939, 3276, 100, 129, 0, 0), -- Heavy Linen Bandage
    (12939, 10841, 10000, 129, 0, 0), -- Heavy Mageweave Bandage
    (12939, 27033, 40000, 129, 0, 0), -- Heavy Netherweave Bandage
    (12939, 18630, 20000, 129, 0, 0), -- Heavy Runecloth Bandage
    (12939, 7929, 5000, 129, 0, 0), -- Heavy Silk Bandage
    (12939, 3278, 1000, 129, 0, 0), -- Heavy Wool Bandage
    (12939, 10840, 10000, 129, 0, 0), -- Mageweave Bandage
    (12939, 27032, 20000, 129, 0, 0), -- Netherweave Bandage
    (12939, 18629, 20000, 129, 0, 0), -- Runecloth Bandage
    (12939, 7928, 5000, 129, 0, 0), -- Silk Bandage
    (12939, 3277, 250, 129, 0, 0), -- Wool Bandage
    (12939, 74559, 250000, 129, 0, 0), -- First Aid
    (12939, 3273, 100, 129, 0, 0), -- First Aid
    (12939, 10846, 25000, 129, 0, 0), -- First Aid
    (12939, 3274, 500, 129, 0, 0), -- First Aid
    (12939, 45542, 150000, 129, 0, 0), -- First Aid
    (12939, 7924, 1000, 129, 0, 0), -- First Aid
    (12939, 27028, 100000, 129, 0, 0); -- First Aid
     
    -- http://wold.wowhead.com/npc=53437
    DELETE FROM `npc_trainer` WHERE `entry` = 53437;
    INSERT INTO `npc_trainer` (`entry`, `spell`, `spellcost`, `reqskill`, `reqskillvalue`, `reqlevel`) VALUES
    (53437, 50305, 350000, 393, 0, 0), -- Skinning
    (53437, 8618, 5000, 393, 0, 0), -- Skinning
    (53437, 32678, 100000, 393, 0, 0), -- Skinning
    (53437, 74522, 500000, 393, 0, 0), -- Skinning
    (53437, 10768, 50000, 393, 0, 0), -- Skinning
    (53437, 8613, 10, 393, 0, 0), -- Skinning
    (53437, 8617, 500, 393, 0, 0); -- Skinning
     
    -- http://wold.wowhead.com/npc=53405
    DELETE FROM `npc_trainer` WHERE `entry` = 53405;
    INSERT INTO `npc_trainer` VALUES ('53405', '73680', '234000', '0', '0', '81');
    INSERT INTO `npc_trainer` VALUES ('53405', '87718', '168000', '0', '0', '74');
    INSERT INTO `npc_trainer` VALUES ('53405', '8071', '21000', '0', '0', '48');
    INSERT INTO `npc_trainer` VALUES ('53405', '76780', '93000', '0', '0', '64');
    INSERT INTO `npc_trainer` VALUES ('53405', '51886', '2785', '0', '0', '18');
    INSERT INTO `npc_trainer` VALUES ('53405', '87507', '22500', '0', '0', '50');
    INSERT INTO `npc_trainer` VALUES ('53405', '87497', '222000', '0', '0', '80');
    INSERT INTO `npc_trainer` VALUES ('53405', '77472', '117000', '0', '0', '68');
    INSERT INTO `npc_trainer` VALUES ('53405', '5394', '3600', '0', '0', '20');
    INSERT INTO `npc_trainer` VALUES ('53405', '331', '285', '0', '0', '7');
    INSERT INTO `npc_trainer` VALUES ('53405', '73899', '60', '0', '0', '3');
    INSERT INTO `npc_trainer` VALUES ('53405', '73920', '258000', '0', '0', '83');
    INSERT INTO `npc_trainer` VALUES ('53405', '3599', '680', '0', '0', '10');
    INSERT INTO `npc_trainer` VALUES ('53405', '79206', '282000', '0', '0', '85');
    INSERT INTO `npc_trainer` VALUES ('53405', '66844', '22500', '0', '0', '50');
    INSERT INTO `npc_trainer` VALUES ('53405', '66843', '15000', '0', '0', '40');
    INSERT INTO `npc_trainer` VALUES ('53405', '66842', '7500', '0', '0', '30');
    INSERT INTO `npc_trainer` VALUES ('53405', '51505', '10500', '0', '0', '34');
    INSERT INTO `npc_trainer` VALUES ('53405', '51730', '24000', '0', '0', '54');
    INSERT INTO `npc_trainer` VALUES ('53405', '57994', '2060', '0', '0', '16');
    INSERT INTO `npc_trainer` VALUES ('53405', '51514', '222000', '0', '0', '80');
    INSERT INTO `npc_trainer` VALUES ('53405', '52127', '3600', '0', '0', '20');
    INSERT INTO `npc_trainer` VALUES ('53405', '36936', '7500', '0', '0', '30');
    INSERT INTO `npc_trainer` VALUES ('53405', '2825', '117333', '0', '0', '70');
    INSERT INTO `npc_trainer` VALUES ('53405', '20608', '7500', '0', '0', '30');
    INSERT INTO `npc_trainer` VALUES ('53405', '2062', '25500', '0', '0', '56');
    INSERT INTO `npc_trainer` VALUES ('53405', '8737', '0', '0', '0', '40');
    INSERT INTO `npc_trainer` VALUES ('53405', '8512', '7500', '0', '0', '30');
    INSERT INTO `npc_trainer` VALUES ('53405', '8232', '9000', '0', '0', '32');
    INSERT INTO `npc_trainer` VALUES ('53405', '8227', '1076', '0', '0', '12');
    INSERT INTO `npc_trainer` VALUES ('53405', '8190', '12000', '0', '0', '36');
    INSERT INTO `npc_trainer` VALUES ('53405', '8184', '81000', '0', '0', '62');
    INSERT INTO `npc_trainer` VALUES ('53405', '8177', '13500', '0', '0', '38');
    INSERT INTO `npc_trainer` VALUES ('53405', '8143', '22500', '0', '0', '52');
    INSERT INTO `npc_trainer` VALUES ('53405', '1535', '7500', '0', '0', '28');
    INSERT INTO `npc_trainer` VALUES ('53405', '8075', '97', '0', '0', '4');
    INSERT INTO `npc_trainer` VALUES ('53405', '8056', '4200', '0', '0', '22');
    INSERT INTO `npc_trainer` VALUES ('53405', '8050', '1418', '0', '0', '14');
    INSERT INTO `npc_trainer` VALUES ('53405', '8042', '142', '0', '0', '5');
    INSERT INTO `npc_trainer` VALUES ('53405', '8033', '6000', '0', '0', '26');
    INSERT INTO `npc_trainer` VALUES ('53405', '8024', '680', '0', '0', '10');
    INSERT INTO `npc_trainer` VALUES ('53405', '8017', '177000', '0', '0', '75');
    INSERT INTO `npc_trainer` VALUES ('53405', '8004', '3600', '0', '0', '20');
    INSERT INTO `npc_trainer` VALUES ('53405', '5730', '27000', '0', '0', '58');
    INSERT INTO `npc_trainer` VALUES ('53405', '5675', '16500', '0', '0', '42');
    INSERT INTO `npc_trainer` VALUES ('53405', '2645', '1728', '0', '0', '15');
    INSERT INTO `npc_trainer` VALUES ('53405', '131', '19500', '0', '0', '46');
    INSERT INTO `npc_trainer` VALUES ('53405', '3738', '19500', '0', '0', '44');
    INSERT INTO `npc_trainer` VALUES ('53405', '2484', '2785', '0', '0', '18');
    INSERT INTO `npc_trainer` VALUES ('53405', '2008', '1076', '0', '0', '12');
    INSERT INTO `npc_trainer` VALUES ('53405', '1064', '15000', '0', '0', '40');
    INSERT INTO `npc_trainer` VALUES ('53405', '556', '7500', '0', '0', '30');
    INSERT INTO `npc_trainer` VALUES ('53405', '6196', '12000', '0', '0', '36');
    INSERT INTO `npc_trainer` VALUES ('53405', '421', '7500', '0', '0', '28');
    INSERT INTO `npc_trainer` VALUES ('53405', '546', '5100', '0', '0', '24');
    INSERT INTO `npc_trainer` VALUES ('53405', '370', '1076', '0', '0', '12');
    INSERT INTO `npc_trainer` VALUES ('53405', '324', '390', '0', '0', '8');
    INSERT INTO `npc_trainer` VALUES ('53405', '2894', '105000', '0', '0', '66');
     
    UPDATE `gossip_menu_option` SET `option_id`=1, `npc_option_npcflag`=1 WHERE `menu_id` IN (8851, 12855, 12865);
     
    DELETE FROM `gossip_menu` WHERE (`entry`=12854 AND `text_id`=18086) OR (`entry`=12855 AND `text_id`=17774) OR (`entry`=12857 AND `text_id`=18087) OR (`entry`=12858 AND `text_id`=18088) OR (`entry`=12859 AND `text_id`=18089) OR (`entry`=12860 AND `text_id`=18090) OR (`entry`=12861 AND `text_id`=18091) OR (`entry`=12862 AND `text_id`=18092) OR (`entry`=12863 AND `text_id`=18093) OR (`entry`=12864 AND `text_id`=18094) OR (`entry`=12865 AND `text_id`=17774) OR (`entry`=12866 AND `text_id`=18095) OR (`entry`=12867 AND `text_id`=18096) OR (`entry`=12868 AND `text_id`=18097) OR (`entry`=12869 AND `text_id`=18098) OR (`entry`=12870 AND `text_id`=18099) OR (`entry`=12871 AND `text_id`=18100) OR (`entry`=12872 AND `text_id`=18101) OR (`entry`=12873 AND `text_id`=18102) OR (`entry`=12874 AND `text_id`=18103) OR (`entry`=12875 AND `text_id`=18104) OR (`entry`=12876 AND `text_id`=18105) OR (`entry`=12877 AND `text_id`=18106) OR (`entry`=12878 AND `text_id`=18107) OR (`entry`=12879 AND `text_id`=18108);
     
    INSERT INTO `gossip_menu` (`entry`, `text_id`) VALUES
    (12854, 18086),
    (12855, 17774),
    (12857, 18087),
    (12858, 18088),
    (12859, 18089),
    (12860, 18090),
    (12861, 18091),
    (12862, 18092),
    (12863, 18093),
    (12864, 18094),
    (12865, 17774),
    (12866, 18095),
    (12867, 18096),
    (12868, 18097),
    (12869, 18098),
    (12870, 18099),
    (12871, 18100),
    (12872, 18101),
    (12873, 18102),
    (12874, 18103),
    (12875, 18104),
    (12876, 18105),
    (12877, 18106),
    (12878, 18107),
    (12879, 18108);
     
    UPDATE `gossip_menu_option` SET `action_menu_id`=12854, `action_poi_id`=477 WHERE `menu_id`=8851 AND `id`=1;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12855 WHERE `menu_id`=8851 AND `id`=2;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12857, `action_poi_id`=478 WHERE `menu_id`=12855 AND `id`=0;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12858, `action_poi_id`=479 WHERE `menu_id`=12855 AND `id`=1;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12859, `action_poi_id`=480 WHERE `menu_id`=12855 AND `id`=2;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12860, `action_poi_id`=481 WHERE `menu_id`=12855 AND `id`=3;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12861, `action_poi_id`=482 WHERE `menu_id`=12855 AND `id`=4;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12862, `action_poi_id`=483 WHERE `menu_id`=12855 AND `id`=5;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12863, `action_poi_id`=484 WHERE `menu_id`=12855 AND `id`=6;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12864, `action_poi_id`=485 WHERE `menu_id`=12855 AND `id`=7;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12865 WHERE `menu_id`=8851 AND `id`=3;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12866, `action_poi_id`=486 WHERE `menu_id`=12865 AND `id`=0;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12867, `action_poi_id`=487 WHERE `menu_id`=12865 AND `id`=1;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12868, `action_poi_id`=488 WHERE `menu_id`=12865 AND `id`=2;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12869, `action_poi_id`=489 WHERE `menu_id`=12865 AND `id`=3;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12870, `action_poi_id`=490 WHERE `menu_id`=12865 AND `id`=4;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12871, `action_poi_id`=491 WHERE `menu_id`=12865 AND `id`=5;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12872, `action_poi_id`=492 WHERE `menu_id`=12865 AND `id`=6;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12873, `action_poi_id`=493 WHERE `menu_id`=12865 AND `id`=7;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12866, `action_poi_id`=494 WHERE `menu_id`=12865 AND `id`=8;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12874, `action_poi_id`=495 WHERE `menu_id`=12865 AND `id`=9;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12875, `action_poi_id`=496 WHERE `menu_id`=12865 AND `id`=10;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12876, `action_poi_id`=497 WHERE `menu_id`=12865 AND `id`=11;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12877, `action_poi_id`=498 WHERE `menu_id`=12865 AND `id`=12;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12878, `action_poi_id`=498 WHERE `menu_id`=12865 AND `id`=13;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12876, `action_poi_id`=499 WHERE `menu_id`=12865 AND `id`=14;
    UPDATE `gossip_menu_option` SET `action_menu_id`=12879, `action_poi_id`=500 WHERE `menu_id`=12865 AND `id`=15;
     
    DELETE FROM `npc_text` WHERE `ID` BETWEEN 18086 AND 18108;
    INSERT INTO `npc_text` VALUES ('18086', 'Speak to Paymaster Lendry on the second floor of the barracks.\n\nHe can arrange to store your goods with Theramore\'s treasury.', 'Speak to Paymaster Lendry on the second floor of the barracks.\n\nHe can arrange to store your goods with Theramore\'s treasury.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18087', 'Look for Jensen Farran near the archery range.', 'Look for Jensen Farran near the archery range.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18088', 'You\'ll find Horace Alder pacing about above the ground level of Lady Proudmoore\'s tower.', 'You\'ll find Horace Alder pacing about above the ground level of Lady Proudmoore\'s tower.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18089', 'Look for Brother Karman overseeing training at the combat dummies outside the barracks.', 'Look for Brother Karman overseeing training at the combat dummies outside the barracks.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18090', 'Look for Allen Bright at the sparring ring near the barracks.\n\nHe and Doctor Gustaf VanHowzen oversee the training of the isle\'s healers.', 'Look for Allen Bright at the sparring ring near the barracks.\n\nHe and Doctor Gustaf VanHowzen oversee the training of the isle\'s healers.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18097', 'Ask for Marie Holdston at the smithy.', 'Ask for Marie Holdston at the smithy.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18091', 'I\'m not certain. Try asking Calia Hastings, by the docks. I\'m told she has connections to SI:7.', 'I\'m not certain. Try asking Calia Hastings, by the docks. I\'m told she has connections to SI:7.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18092', 'A shaman...?\n\nThere\'s a rather rough-looking dwarven lass staying in Theramore\'s inn; I believe she came to visit an old friend of hers here.\n\nShe might be able to help you.', 'A shaman...?\n\nThere\'s a rather rough-looking dwarven lass staying in Theramore\'s inn; I believe she came to visit an old friend of hers here.\n\nShe might be able to help you.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18093', 'Well... ah... don\'t tell her I sent you, but look for a red-robed woman above the ground level of the central tower.\n\nRedia Vaunt is her name. But do not mention me!', 'Well... ah... don\'t tell her I sent you, but look for a red-robed woman above the ground level of the central tower.\n\nRedia Vaunt is her name. But do not mention me!', '0', '1', '274', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18094', 'Report to Captain Evencane on the second level of the barracks. He can see to your training.', 'Report to Captain Evencane on the second level of the barracks. He can see to your training.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '15050');
    INSERT INTO `npc_text` VALUES ('18095', 'Alchemist Narett and Brant Jasperbloom teach Alchemy and Herbalism out of a small shop here; they\'ll be able to help you.', 'Alchemist Narett and Brant Jasperbloom teach Alchemy and Herbalism out of a small shop here; they\'ll be able to help you.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18096', 'I know that one of those visiting Woolybush dwarves is an archaeologist.\n\nI think it\'s the wife, Faena. They\'re both explorers of some sort. Look for them in the inn.', 'I know that one of those visiting Woolybush dwarves is an archaeologist.\n\nI think it\'s the wife, Faena. They\'re both explorers of some sort. Look for them in the inn.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18098', 'Craig Nollward works the inn\'s kitchen. He\'ll be able to help you.', 'Craig Nollward works the inn\'s kitchen. He\'ll be able to help you.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18099', 'Lissah Spellwick, at the top of mage tower, is the mistress of Lady Jaina\'s enchanters.', 'Lissah Spellwick, at the top of mage tower, is the mistress of Lady Jaina\'s enchanters.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18100', 'Look for Caz Twosprocket at the smithy.', 'Look for Caz Twosprocket at the smithy.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '15595');
    INSERT INTO `npc_text` VALUES ('18101', 'Doctor Gustaf VanHowzen works on the ground level of the barracks.', 'Doctor Gustaf VanHowzen works on the ground level of the barracks.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18102', 'Michael Crowe, down by the docks, can teach you anything you need to know about catching and gutting fish.', 'Michael Crowe, down by the docks, can teach you anything you need to know about catching and gutting fish.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18103', 'Look for Theoden Manners at the top of Lady Proudmoore\'s tower.', 'Look for Theoden Manners at the top of Lady Proudmoore\'s tower.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18104', 'I\'m certain that one of the visiting Woolybush dwarves is a jewelcrafter.\n\nI believe it\'s the husband, Ingo. They\'re both explorers of some sort. Look for them in the inn.', 'I\'m certain that one of the visiting Woolybush dwarves is a jewelcrafter.\n\nI believe it\'s the husband, Ingo. They\'re both explorers of some sort. Look for them in the inn.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18105', 'Seek out the Tanwell brothers in Theramore\'s inn. One of them will be able to help you.', 'Seek out the Tanwell brothers in Theramore\'s inn. One of them will be able to help you.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18106', 'Look out for the dwarf, Kerik, outside Theramore\'s smithy.\n\nHe\'s a drunkard and a bit free with the explosives, but he\'s friendly enough and knows his way around a mine.', 'Look out for the dwarf, Kerik, outside Theramore\'s smithy.\n\nHe\'s a drunkard and a bit free with the explosives, but he\'s friendly enough and knows his way around a mine.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18107', 'You\'ll want to find Sansha MacVince, just outside Theramore\'s stables.', 'You\'ll want to find Sansha MacVince, just outside Theramore\'s stables.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
    INSERT INTO `npc_text` VALUES ('18108', 'Timothy Worthington works out of the second floor of one of Theramore\'s larger buildings. He\'ll do you right.', 'Timothy Worthington works out of the second floor of one of Theramore\'s larger buildings. He\'ll do you right.', '0', '1', '396', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '14545');
     
    DELETE FROM `points_of_interest` WHERE `entry` BETWEEN 477 AND 500;
    INSERT INTO `points_of_interest` (`entry`, `x`, `y`, `icon`, `flags`, `data`, `icon_name`) VALUES
    (477, -3721.332, -4538.389, 7, 99, 0, 'Theramore Banker'),
    (478, -3779.576, -4542.243, 7, 99, 0, 'Theramore Hunter'),
    (479, -3760.573, -4458.26, 7, 99, 0, 'Theramore Mage'),
    (480, -3692.575, -4513.229, 7, 99, 0, 'Theramore Paladin'),
    (481, -3651.748, -4501.245, 7, 99, 0, 'Theramore Priest'),
    (482, -3819.238, -4563.955, 7, 99, 0, 'Theramore Rogue'),
    (483, -3616.101, -4471.278, 7, 99, 0, 'Theramore Shaman'),
    (484, -3744.523, -4435.247, 7, 99, 0, 'Theramore Warlock'),
    (485, -3727.549, -4538.478, 7, 99, 0, 'Theramore Warrior'),
    (486, -3700.832, -4331.733, 7, 99, 0, 'Theramore Alchemy'),
    (487, -3618.908, -4454.213, 7, 99, 0, 'Theramore Archaeology'),
    (488, -3785.925, -4366.835, 7, 99, 0, 'Theramore Blacksmithing'),
    (489, -3617.13, -4486.976, 7, 99, 0, 'Theramore Cooking'),
    (490, -3772.045, -4441.656, 7, 99, 0, 'Theramore Enchanting'),
    (491, -3798.238, -4374.755, 7, 99, 0, 'Theramore Engineering'),
    (492, -3747.083, -4532.172, 7, 99, 0, 'Theramore First Aid'),
    (493, -3849.286, -4610.167, 7, 99, 0, 'Theramore Fishing'),
    (494, -3697.021, -4335.253, 7, 99, 0, 'Theramore Herbalism'),
    (495, -3774.651, -4448.427, 7, 99, 0, 'Theramore Inscription'),
    (496, -3612.543, -4456.313, 7, 99, 0, 'Theramore Jewelcrafting'),
    (497, -3613.028, -4461.912, 7, 99, 0, 'Theramore Leatherworking'),
    (498, -3777.125, -4366.255, 7, 99, 0, 'Theramore Mining'),
    (499, -3843.384, -4405.833, 7, 99, 0, 'Theramore Riding'),
    (500, -3612.49, -4458.981, 7, 99, 0, 'Theramore Skinning');
    DELETE FROM `creature_template` WHERE `entry`=4321 LIMIT 1;
    INSERT INTO `creature_template` ( `entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `modelid1`, `modelid2`, `modelid3`, `modelid4`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `spell5`, `spell6`, `spell7`, `spell8`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Health_mod`, `Mana_mod`, `Armor_mod`, `RacialLeader`, `questItem1`, `questItem2`, `questItem3`, `questItem4`, `questItem5`, `questItem6`, `movementId`, `RegenHealth`, `equipment_id`, `mechanic_immune_mask`, `flags_extra`, `ScriptName`, `WDBVerified`) VALUES ( 4321, 0, 0, 0, 0, 0, 2417, 0, 0, 0, "Baldruc", "Gryphon Master", "", 6944, 65, 65, 0, 11, 11, 8192, 1.0, 1.14286, 1.0, 1, 291, 310, 0, 827, 4.6, 2000, 2000, 1, 512, 0, 0, 0, 0, 0, 0, 291, 310, 827, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "EventAI", 0, 3, 3.0, 0.0, 1.0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, "", "12340");
    DELETE FROM gossip_menu_option WHERE menu_id=435;
    INSERT INTO `gossip_menu_option` VALUES ('435', '15', '0', 'Vendor', '1', '1', '0', '470', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '14', '0', 'Stable Master', '1', '1', '4925', '26', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '13', '0', 'Profession Trainer', '1', '1', '421', '0', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '12', '0', 'Portals', '1', '1', '0', '471', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '11', '0', 'Points of Interest', '1', '1', '0', '473', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '10', '0', 'Mailbox', '1', '1', '0', '472', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '9', '0', 'Inn', '1', '1', '3126', '22', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '8', '0', 'Guild Master & Vendor', '1', '1', '383', '24', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '7', '0', 'Flight Master', '1', '1', '382', '23', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '6', '0', 'Class Trainer', '1', '1', '401', '0', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '5', '0', 'Barber', '1', '1', '382', '30', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '4', '0', 'Bank', '1', '1', '265', '19', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '3', '0', 'Auction House', '1', '1', '3102', '18', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '2', '0', '|cFF0008E8NEW|r: Void Storage', '1', '1', '36800', '475', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '1', '0', '|cFF0008E8NEW|r: Transmogrification', '1', '1', '36800', '476', '0', '0', '');
    INSERT INTO `gossip_menu_option` VALUES ('435', '0', '0', '|cFF0008E8NEW|r: Reforging', '1', '1', '36800', '474', '0', '0', '');
     
    DELETE FROM points_of_interest WHERE entry IN (18, 19, 22, 23, 24, 26, 30, 470, 471, 472, 473, 474, 475, 476);
    INSERT INTO `points_of_interest` VALUES ('18', '-8845', '628', '7', '99', '0', 'Stormwind Auction House');
    INSERT INTO `points_of_interest` VALUES ('19', '-8819', '632', '7', '99', '0', 'Stormwind Bank');
    INSERT INTO `points_of_interest` VALUES ('22', '-8867', '673.634', '7', '99', '0', 'The Gilded Rose');
    INSERT INTO `points_of_interest` VALUES ('23', '-8839', '487.546', '7', '99', '0', 'Stormwind Gryphon Master');
    INSERT INTO `points_of_interest` VALUES ('24', '-8886', '595.38', '7', '99', '0', 'Stormwind Visitor\'s Center');
    INSERT INTO `points_of_interest` VALUES ('26', '-8432', '555.121', '7', '99', '0', 'Jenova Stoneshield');
    INSERT INTO `points_of_interest` VALUES ('30', '-8755', '657.7', '7', '99', '0', 'Stormwind Barber');
    INSERT INTO `points_of_interest` VALUES ('470', '-8776', '413', '7', '0', '0', 'Stormind Vendors');
    INSERT INTO `points_of_interest` VALUES ('471', '-8210', '428', '7', '0', '0', 'Stormwind Portals Direction');
    INSERT INTO `points_of_interest` VALUES ('472', '-8862', '638', '7', '0', '0', 'Mailbox Stormwind');
    INSERT INTO `points_of_interest` VALUES ('473', '-8834', '619', '7', '0', '0', 'Points of Interest Stormwind');
    INSERT INTO `points_of_interest` VALUES ('474', '-8693', '843', '7', '0', '0', 'Reforger Stormwind');
    INSERT INTO `points_of_interest` VALUES ('475', '-8696', '841', '7', '0', '0', 'Void Storage Stormwind');
    INSERT INTO `points_of_interest` VALUES ('476', '-8696', '841', '7', '0', '0', 'Transmogrification Stormwind');
     
    DELETE FROM npc_text VALUES ID = '36800';
    INSERT INTO `npc_text` VALUES ('36800', 'It is located in the The Canals . It is nearly straight on from the entrance of Cathedral Square.', 'It is located in the The Canals citizen. It is nearly straight on from the entrance of Cathedral Square.', '0', '1', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', null, null, '0', '0', '0', '0', '0', '0', '0', '0', '1');
    Last edited by Achernar_Altair; 30-05-13 at 21:50.
    Quote Originally Posted by Aluna Sagita
    Having Crush On Me Isn't Categorized As Pedophilia
    Spoiler untuk Warcraft Books :

Page 3 of 7 FirstFirst 1234567 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •