Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- struct Choice
- {
- uint32 action;
- uint8 classId;
- const char* talentName;
- };
- Choice TalentChoice[] =
- {
- /* Paladin */
- { 1, CLASS_PALADIN, "Retribution | Righteous Vengeace - Judgements of the Wise - Sheath of Light - The Art of War - Crusader Strike - Repentance" },
- { 2, CLASS_PALADIN, "Holy | Judgements of the Pure - Enlightened Judgements - Light's Grace - Cleanse - Divine Favor - Holy Shock" },
- { 3, CLASS_PALADIN, "Protection | Shield of the Templar - Ardent Defender - Guarded by the Light - Avenger's Shield - Divine Plea - Holy Shield" },
- /* Mage */
- { 4, CLASS_MAGE, "Arcane | Arcane Empowerment - Incanter's Absorption - Arcane Mind - Arcane Barrage - Arcane Power" },
- { 5, CLASS_MAGE, "Fire | Fiery Payback - Blazing Speed - Critical Mass - Blast Wave" },
- { 6, CLASS_MAGE, "Frost | Empowered Frostbolt - Ice Barrier - Ice Lance" },
- /* Warrior */
- { 7, CLASS_WARRIOR, "Arms | Weapon Mastery - Unrelenting Assaul - Warbringer - Second Wind" },
- { 8, CLASS_WARRIOR, "Fury | Improved Intercept - Rampage - Bloodsurge - Berserker Stance - Intercept - Pummel - Bloodthirst" },
- { 9, CLASS_WARRIOR, "Protection | Warbringer - Improved Spell Reflection - Focused Rage - Concussion Blow - Shield Slam" },
- /* Priest */
- { 10, CLASS_PRIEST, "Holy | Body and Soul - Empowered Renew - Meditation - Prayer of Mending" },
- { 11, CLASS_PRIEST, "Discipline | Soul Warding - Rupture - Focused Will - Pain Suppression - Power Infusion" },
- { 12, CLASS_PRIEST, "Shadow | Twisted Faith - Improved Shadowform - Misery - Dispersion - Shadowform" },
- /* Hunter */
- { 13, CLASS_HUNTER, "Marksman | Wild Quiver - Master Marksman - Noxious Stings - Readiness - Silencing Shot" },
- { 14, CLASS_HUNTER, "Survival | Expose Weakness - Hunting Party - Explosive Shot" },
- { 15, CLASS_HUNTER, "Beastmaster | Ferocious Inspiration - Serpent's Swiftness - Kindred Spirits - Spirit Bond - Kill Command - Intimidation" },
- /* Rogue */
- { 16, CLASS_ROGUE, "Subtlety | Cheat Death - Slaughter from the Shadows - Waylay - Shadowstep - Preparation - Hemorrhage" },
- { 17, CLASS_ROGUE, "Assassination | Master Poisoner - Fleet Footed - Focused Attacks - Dirty Tricks - Mutilate - Envenom" },
- { 18, CLASS_ROGUE, "Combat | Aggression - Improved Sprint - Surprise Attacks - Dirty Tricks . Adrenaline Rush - Blade Flurry" },
- /* Shaman */
- { 19, CLASS_SHAMAN, "Restoration | Nature's Guardian - Focused Mind - Improved Ghost Wolf - Purification - Nature's Swiftness - Cleanse Spirit" },
- { 20, CLASS_SHAMAN, "Enhancement | Mental Quickness - Dual Wield - Mental Dexterity - Frozen Power - Stormstrike - Shamanistic Rage" },
- { 21, CLASS_SHAMAN, "Elemental | Lightning Overload - Storm, Earth and Fire - Lightning Mastery - Improved Ghost Wolf - Chain Lightning - Elemental Mastery" },
- /* Warlock */
- { 22, CLASS_WARLOCK, "Affliction | Contagion - Improved Howl of Terror - Everlasting Affliction - Siphon Life" },
- { 23, CLASS_WARLOCK, "Demonology | Nether Protection - Backlash - Decimation - Bane - Molten Core - Soul Fire" },
- { 24, CLASS_WARLOCK, "Destruction | Backdraft - Fire and Brimstone - Devastation - Conflagrate" },
- /* Druid */
- { 25, CLASS_DRUID, "Feral | King of the Jungle - Nurturing Instinct - Primal Gore - Primal Fury - Mangle - Pounce" },
- { 26, CLASS_DRUID, "Balance | Earth and Moon - Dreamstate - Barkskin - Insect Swarm - Moonkin Form" },
- { 27, CLASS_DRUID, "Restoration | Revitalize - Improved Barkskin - Gift of Nature - Swiftmend" },
- { 28, CLASS_DRUID, "Guardian | Survival of the Fittest - Protector of the Pack - Natural Reaction - Swipe (Rank 3) - Mangle" },
- };
- class talent_chooser : public CreatureScript
- {
- public:
- talent_chooser() : CreatureScript("talent_chooser") { } // Remember, CreatureScript("") <-- Whatever is in there is your ScriptName
- bool OnGossipHello(Player* player, Creature* creature)
- {
- for (int i = 0; i < sizeof(TalentChoice) / sizeof(uint32); i++)
- if (player->getClass() == TalentChoice[i].classId)
- player->ADD_GOSSIP_ITEM(GOSSIP_ICON_CHAT, TalentChoice[i].talentName, GOSSIP_SENDER_MAIN, TalentChoice[i].action);
- player->ADD_GOSSIP_ITEM(1, "Reset Talents", GOSSIP_SENDER_MAIN, 6969);
- player->PlayerTalkClass->SendGossipMenu(1, creature->GetGUID());
- return true;
- }
- bool OnGossipSelect(Player* player, Creature* creature, uint32 /*sender*/, uint32 actions)
- {
- player->PlayerTalkClass->ClearMenus();
- switch (actions)
- {
- case 6969:
- player->ResetTalents(false);
- player->SendTalentsInfoData(false);
- break;
- /* Paladin */
- case 1: // Retrubition
- // Add Spells
- player->LearnSpell(31878, false); // Judgements of the Wise
- player->LearnSpell(53502, false); // Sheath of Light
- player->LearnSpell(53488, false); // The Art of War
- player->LearnSpell(35395, false); // Crusader Strike
- player->LearnSpell(20066, false); // Repentance
- player->LearnSpell(31881, false); // Fanaticism
- player->LearnSpell(53382, false); // Righteous Vengeance
- // Remove Spells from other specs
- player->RemoveSpell(54155, false); // Judgements of the Pure
- player->RemoveSpell(53557, false); // Enlightened Judgements
- player->RemoveSpell(31836, false); // Light's Grace
- player->RemoveSpell(4987, false); // Cleanse
- player->RemoveSpell(20216, false); // Divine Favor
- player->RemoveSpell(53711, false); // Shield of The Templar
- player->RemoveSpell(31852, false); // Ardent Defender
- player->RemoveSpell(53585, false); // Guarded by the Light
- player->RemoveSpell(31935, false); // Avenger's Shield
- player->RemoveSpell(54428, false); // Divine Plea
- player->RemoveSpell(20925, false); // Holy Shield . -
- player->RemoveSpell(20473, false); // Holy Shock
- player->RemoveSpell(53563, false); // Beacon of Light
- player->RemoveSpell(53576, false); // Infusion of Light
- player->RemoveSpell(53385, false); // Divine Storm
- player->RemoveSpell(53585, false); // Hammer of The Righteous
- player->RemoveSpell(33776, false); // Spiritual Attunement
- player->RemoveSpell(20473, false); // Holy Shock
- break;
- case 2: // Holy
- // Add Spells
- player->LearnSpell(54155, false); // Judgements of the Pure
- player->LearnSpell(53557, false); // Enlightened Judgements
- player->LearnSpell(31836, false); // Light's Grace
- player->LearnSpell(4987, false); // Cleanse
- player->LearnSpell(20216, false); // Divine Favor
- player->LearnSpell(20473, false); // Holy Shock
- // Remove Spells from other specs
- player->RemoveSpell(31878, false); // Judgements of the Wise
- player->RemoveSpell(53502, false); // Sheath of Light
- player->RemoveSpell(53488, false); // The Art of War
- player->RemoveSpell(35395, false); // Crusader Strike
- player->RemoveSpell(20066, false); // Repentance
- player->RemoveSpell(53711, false); // Shield of The Templar
- player->RemoveSpell(31852, false); // Ardent Defender
- player->RemoveSpell(53585, false); // Guarded by the Light
- player->RemoveSpell(31935, false); // Avenger's Shield
- player->RemoveSpell(54428, false); // Divine Plea
- player->RemoveSpell(20925, false); // Holy Shield
- player->RemoveSpell(20473, false); // Holy Shock
- player->RemoveSpell(53563, false); // Beacon of Light
- player->RemoveSpell(53576, false); // Infusion of Light
- player->RemoveSpell(53385, false); // Divine Storm
- player->RemoveSpell(53585, false); // Hammer of The Righteous
- player->RemoveSpell(33776, false); // Spiritual Attunement
- player->RemoveSpell(31881, false); // Fanaticism
- player->RemoveSpell(53382, false); // Righteous Vengeance
- break;
- case 3: // Protection
- // Add Spells
- player->LearnSpell(53711, false); // Shield of The Templar
- player->LearnSpell(31852, false); // Ardent Defender
- player->LearnSpell(53585, false); // Guarded by the Light
- player->LearnSpell(31935, false); // Avenger's Shield
- player->LearnSpell(54428, false); // Divine Plea
- player->LearnSpell(20925, false); // Holy Shield
- // Remove Spells from other specs
- player->RemoveSpell(54155, false); // Judgements of the Pure
- player->RemoveSpell(53557, false); // Enlightened Judgements
- player->RemoveSpell(31836, false); // Light's Grace
- player->RemoveSpell(4987, false); // Cleanse
- player->RemoveSpell(20216, false); // Divine Favor
- player->RemoveSpell(31878, false); // Judgements of the Wise
- player->RemoveSpell(53502, false); // Sheath of Light
- player->RemoveSpell(53488, false); // The Art of War
- player->RemoveSpell(35395, false); // Crusader Strike
- player->RemoveSpell(20066, false); // Repentance
- player->RemoveSpell(20473, false); // Holy Shock
- player->RemoveSpell(53563, false); // Beacon of Light
- player->RemoveSpell(53576, false); // Infusion of Light
- player->RemoveSpell(53385, false); // Divine Storm
- player->RemoveSpell(53585, false); // Hammer of The Righteous
- player->RemoveSpell(33776, false); // Spiritual Attunement
- player->RemoveSpell(31881, false); // Fanaticism
- player->RemoveSpell(53382, false); // Righteous Vengeance
- player->RemoveSpell(20473, false); // Holy Shock
- break;
- /* Mage */
- case 4: // Arcane
- // Add Spells
- player->LearnSpell(31583, false); // Arcane Empowerment
- player->LearnSpell(44396, false); // Incanter's Absorption
- player->LearnSpell(12503, false); // Arcane Mind
- player->LearnSpell(44425, false); // Arcane Barrage
- player->LearnSpell(12042, false); // Arcane Power
- // Remove Spells from other specs
- player->RemoveSpell(64357, false); // Fiery Payback
- player->RemoveSpell(31642, false); // Blazing Speed
- player->RemoveSpell(11368, false); // Critical Mass
- player->RemoveSpell(11113, false); // Blast Wave
- player->RemoveSpell(31683, false); // Empowered Frostbolt
- player->RemoveSpell(11426, false); // Ice Barrier
- player->RemoveSpell(30455, false); // Ice Lance
- player->RemoveSpell(11129, false); // Combustion
- player->RemoveSpell(44443, false); // Firestarter
- player->RemoveSpell(31661, false); // Dragon's Breath
- player->RemoveSpell(54787, false); // Shattered Barrier
- player->RemoveSpell(31589, false); // Slow
- break;
- case 5: // Fire
- // Add Spells
- player->LearnSpell(64357, false); // Fiery Payback
- player->LearnSpell(31642, false); // Blazing Speed
- player->LearnSpell(11368, false); // Critical Mass
- player->LearnSpell(11113, false); // Blast Wave
- // Remove Spells from other specs
- player->RemoveSpell(31583, false); // Arcane Empowerment
- player->RemoveSpell(44396, false); // Incanter's Absorption
- player->RemoveSpell(12503, false); // Arcane Mind
- player->RemoveSpell(44425, false); // Arcane Barrage
- player->RemoveSpell(12042, false); // Arcane Power
- player->RemoveSpell(31683, false); // Empowered Frostbolt
- player->RemoveSpell(11426, false); // Ice Barrier
- player->RemoveSpell(30455, false); // Ice Lance
- player->RemoveSpell(11129, false); // Combustion
- player->RemoveSpell(44443, false); // Firestarter
- player->RemoveSpell(31661, false); // Dragon's Breath
- player->RemoveSpell(54787, false); // Shattered Barrier
- player->RemoveSpell(44425, false); // Arcane Barrage
- player->RemoveSpell(31589, false); // Slow
- break;
- case 6: // Frost
- // Add Spells
- player->LearnSpell(31683, false); // Empowered Frostbolt
- player->LearnSpell(11426, false); // Ice Barrier
- player->LearnSpell(30455, false); // Ice Lance
- // Remove Spells from other specs
- player->RemoveSpell(31583, false); // Arcane Empowerment
- player->RemoveSpell(44396, false); // Incanter's Absorption
- player->RemoveSpell(12503, false); // Arcane Mind
- player->RemoveSpell(44425, false); // Arcane Barrage
- player->RemoveSpell(12042, false); // Arcane Power
- player->RemoveSpell(64357, false); // Fiery Payback
- player->RemoveSpell(31642, false); // Blazing Speed
- player->RemoveSpell(11368, false); // Critical Mass
- player->RemoveSpell(11113, false); // Blast Wave
- player->RemoveSpell(11129, false); // Combustion
- player->RemoveSpell(44443, false); // Firestarter
- player->RemoveSpell(31661, false); // Dragon's Breath
- player->RemoveSpell(54787, false); // Shattered Barrier
- player->RemoveSpell(44425, false); // Arcane Barrage
- player->RemoveSpell(31589, false); // Slow
- break;
- /* Warrior */
- case 7: // Arms
- // Add Spells
- player->LearnSpell(20505, false); // Weapon Mastery
- player->LearnSpell(46860, false); // Unrelenting Assault
- player->LearnSpell(57499, false); // Warbringer
- player->LearnSpell(29838, false); // Second Wind
- // Remove Spells from other specs
- player->RemoveSpell(29889, false); // Improved Intercept
- player->RemoveSpell(29801, false); // Rampage
- player->RemoveSpell(46915, false); // Bloodsurge
- player->RemoveSpell(2458, false); // Berserker Stance
- player->RemoveSpell(20252, false); // Intercept
- player->RemoveSpell(6552, false); // Pummel
- player->RemoveSpell(23881, false); // Bloodthirst
- player->RemoveSpell(59089, false); // Improved Spell Reflection
- player->RemoveSpell(29792, false); // Focused Rage
- player->RemoveSpell(12809, false); // Concussion Blow
- player->RemoveSpell(23922, false); // Shield Slam
- player->RemoveSpell(58874, false); // Damage Shield
- player->RemoveSpell(46968, false); // Shockwave
- player->RemoveSpell(50720, false); // Vigilance
- player->RemoveSpell(20243, false); // Devastate
- player->RemoveSpell(46917, false); // Titan's Grip
- player->RemoveSpell(12294, false); // Mortal Strike
- player->RemoveSpell(35449, false); // Improved Mortal Strike
- break;
- case 8: // Fury
- // Add Spells
- player->LearnSpell(29889, false); // Improved Intercept
- player->LearnSpell(29801, false); // Rampage
- player->LearnSpell(46915, false); // Bloodsurge
- player->LearnSpell(2458, false); // Berserker Stance
- player->LearnSpell(20252, false); // Intercept
- player->LearnSpell(6552, false); // Pummel
- player->LearnSpell(23881, false); // Bloodthirst
- // Remove Spells from other specs
- player->RemoveSpell(20505, false); // Weapon Mastery
- player->RemoveSpell(46860, false); // Unrelenting Assault
- player->RemoveSpell(57499, false); // Warbringer
- player->RemoveSpell(29838, false); // Second Wind
- player->RemoveSpell(57499, false); // Warbringer
- player->RemoveSpell(59089, false); // Improved Spell Reflection
- player->RemoveSpell(29792, false); // Focused Rage
- player->RemoveSpell(12809, false); // Concussion Blow
- player->RemoveSpell(23922, false); // Shield Slam
- player->RemoveSpell(58874, false); // Damage Shield
- player->RemoveSpell(46968, false); // Shockwave
- player->RemoveSpell(50720, false); // Vigilance
- player->RemoveSpell(20243, false); // Devastate
- player->RemoveSpell(46917, false); // Titan's Grip
- player->RemoveSpell(12294, false); // Mortal Strike
- player->RemoveSpell(35449, false); // Improved Mortal Strike
- break;
- case 9: // Protection
- // Add Spells
- player->LearnSpell(57499, false); // Warbringer
- player->LearnSpell(59089, false); // Improved Spell Reflection
- player->LearnSpell(29792, false); // Focused Rage
- player->LearnSpell(12809, false); // Concussion Blow
- player->LearnSpell(23922, false); // Shield Slam
- // Remove Spells from other specs
- player->RemoveSpell(20505, false); // Weapon Mastery
- player->RemoveSpell(46860, false); // Unrelenting Assault
- player->RemoveSpell(29838, false); // Second Wind
- player->RemoveSpell(29889, false); // Improved Intercept
- player->RemoveSpell(29801, false); // Rampage
- player->RemoveSpell(46915, false); // Bloodsurge
- player->RemoveSpell(2458, false); // Berserker Stance
- player->RemoveSpell(20252, false); // Intercept
- player->RemoveSpell(6552, false); // Pummel
- player->RemoveSpell(23881, false); // Bloodthirst
- player->RemoveSpell(58874, false); // Damage Shield
- player->RemoveSpell(46968, false); // Shockwave
- player->RemoveSpell(50720, false); // Vigilance
- player->RemoveSpell(20243, false); // Devastate
- player->RemoveSpell(46917, false); // Titan's Grip
- player->RemoveSpell(12294, false); // Mortal Strike
- player->RemoveSpell(35449, false); // Improved Mortal Strike
- break;
- /* Priest */
- case 10: // Holy
- // Add Spells
- player->LearnSpell(64129, false); // Body and Soul
- player->LearnSpell(63543, false); // Empowered Renew
- player->LearnSpell(14777, false); // Meditation
- player->LearnSpell(33076, false); // Prayer of Mending
- // Remove Spells from other specs
- player->RemoveSpell(63574, false); // Soul Warding
- player->RemoveSpell(47537, false); // Rapture
- player->RemoveSpell(45241, false); // Focused Will
- player->RemoveSpell(33206, false); // Pain Suppression
- player->RemoveSpell(10060, false); // Power Infusion
- player->RemoveSpell(51167, false); // Twisted Faith
- player->RemoveSpell(47570, false); // Improved Shadowform
- player->RemoveSpell(33193, false); // Misery
- player->RemoveSpell(47585, false); // Dispersion
- player->RemoveSpell(15473, false); // Shadowform
- player->RemoveSpell(47540, false); // Penance
- player->RemoveSpell(52800, false); // Borrowed Time
- player->RemoveSpell(34914, false); // Vampiric Touch
- player->RemoveSpell(33225, false); // Shadow Power
- player->RemoveSpell(33154, false); // Surge of Light
- player->RemoveSpell(47788, false); // Guardian Spirit
- break;
- case 11: // Discipline
- // Add Spells
- player->LearnSpell(63574, false); // Soul Warding
- player->LearnSpell(47537, false); // Rapture
- player->LearnSpell(45243, false); // Focused Will
- player->LearnSpell(33206, false); // Pain Suppression
- player->LearnSpell(10060, false); // Power Infusion
- // Remove Spells from other specs
- player->RemoveSpell(64129, false); // Body and Soul
- player->RemoveSpell(63543, false); // Empowered Renew
- player->RemoveSpell(14777, false); // Meditation
- player->RemoveSpell(33076, false); // Prayer of Mending
- player->RemoveSpell(51167, false); // Twisted Faith
- player->RemoveSpell(47570, false); // Improved Shadowform
- player->RemoveSpell(33193, false); // Misery
- player->RemoveSpell(47585, false); // Dispersion
- player->RemoveSpell(15473, false); // Shadowform
- player->RemoveSpell(47540, false); // Penance
- player->RemoveSpell(52800, false); // Borrowed Time
- player->RemoveSpell(34914, false); // Vampiric Touch
- player->RemoveSpell(33225, false); // Shadow Power
- player->RemoveSpell(33154, false); // Surge of Light
- player->RemoveSpell(47788, false); // Guardian Spirit
- break;
- case 12: // Shadow
- // Add Spells
- player->LearnSpell(51167, false); // Twisted Faith
- player->LearnSpell(47570, false); // Improved Shadowform
- player->LearnSpell(33193, false); // Misery
- player->LearnSpell(47585, false); // Dispersion
- player->LearnSpell(15473, false); // Shadowform
- // Remove Spells from other specs
- player->RemoveSpell(64129, false); // Body and Soul
- player->RemoveSpell(63543, false); // Empowered Renew
- player->RemoveSpell(14777, false); // Meditation
- player->RemoveSpell(33076, false); // Prayer of Mending
- player->RemoveSpell(63574, false); // Soul Warding
- player->RemoveSpell(47537, false); // Rapture
- player->RemoveSpell(45241, false); // Focused Will
- player->RemoveSpell(33206, false); // Pain Suppression
- player->RemoveSpell(10060, false); // Power Infusion
- player->RemoveSpell(47540, false); // Penance
- player->RemoveSpell(52800, false); // Borrowed Time
- player->RemoveSpell(34914, false); // Vampiric Touch
- player->RemoveSpell(33225, false); // Shadow Power
- player->RemoveSpell(33154, false); // Surge of Light
- player->RemoveSpell(47788, false); // Guardian Spirit
- break;
- /* Hunter */
- case 13: // Marksman
- // Add Spells
- player->LearnSpell(53217, false); // Wild Quiver
- player->LearnSpell(34489, false); // Master Marksman
- player->LearnSpell(53297, false); // Noxious Stings
- player->LearnSpell(23989, false); // Readiness
- player->LearnSpell(34490, false); // Silencing Shot
- // Remove Spells from other specs
- player->RemoveSpell(53301, false); // Explosive Shot
- player->RemoveSpell(53292, false); // Hunting Party
- player->RemoveSpell(34503, false); // Expose Weaknes
- player->RemoveSpell(34460, false); // Ferocious Inspiration
- player->RemoveSpell(34470, false); // Serpent's Swiftness
- player->RemoveSpell(56318, false); // Kindred Spirits
- player->RemoveSpell(20895, false); // Spirit Bond
- player->RemoveSpell(34026, false); // Kill Command
- player->RemoveSpell(19577, false); // Intimidation
- player->RemoveSpell(53209, false); // Chimera Shot
- player->RemoveSpell(53270, false); // Exotic Beasts
- player->RemoveSpell(34692, false); // The Beast Within
- player->RemoveSpell(19574, false); // Bestial Wrath
- break;
- case 14: // Survival
- // Add Spells
- player->LearnSpell(53301, false); // Explosive Shot
- player->LearnSpell(53292, false); // Hunting Party
- player->LearnSpell(34503, false); // Expose Weakness
- // Remove Spells from other specs
- player->RemoveSpell(53217, false); // Wild Quiver
- player->RemoveSpell(34489, false); // Master Marksman
- player->RemoveSpell(53297, false); // Noxious Stings
- player->RemoveSpell(23989, false); // Readiness
- player->RemoveSpell(34490, false); // Silencing Shot
- player->RemoveSpell(34460, false); // Ferocious Inspiration
- player->RemoveSpell(34470, false); // Serpent's Swiftness
- player->RemoveSpell(56318, false); // Kindred Spirits
- player->RemoveSpell(20895, false); // Spirit Bond
- player->RemoveSpell(34026, false); // Kill Command
- player->RemoveSpell(19577, false); // Intimidation
- player->RemoveSpell(53209, false); // Chimera Shot
- player->RemoveSpell(53270, false); // Exotic Beasts
- player->RemoveSpell(34692, false); // The Beast Within
- player->RemoveSpell(19574, false); // Bestial Wrath
- break;
- case 15: // Beastmaster
- // Add Spells
- player->LearnSpell(34460, false); // Ferocious Inspiration
- player->LearnSpell(34470, false); // Serpent's Swiftness
- player->LearnSpell(56318, false); // Kindred Spirits
- player->LearnSpell(20895, false); // Spirit Bond
- player->LearnSpell(34026, false); // Kill Command
- player->LearnSpell(19577, false); // Intimidation
- // Remove Spells from other specs
- player->RemoveSpell(53217, false); // Wild Quiver
- player->RemoveSpell(34489, false); // Master Marksman
- player->RemoveSpell(53297, false); // Noxious Stings
- player->RemoveSpell(23989, false); // Readiness
- player->RemoveSpell(34490, false); // Silencing Shot
- player->RemoveSpell(53301, false); // Explosive Shot
- player->RemoveSpell(53292, false); // Hunting Party
- player->RemoveSpell(34503, false); // Expose Weakness
- player->RemoveSpell(53209, false); // Chimera Shot
- player->RemoveSpell(53270, false); // Exotic Beasts
- player->RemoveSpell(34692, false); // The Beast Within
- player->RemoveSpell(19574, false); // Bestial Wrath
- break;
- /* Rogue */
- case 16: // Sub
- // Add Spells
- player->LearnSpell(31230, false); // Cheat Death
- player->LearnSpell(51710, false); // Slaughter from the Shadows
- player->LearnSpell(51696, false); // Waylay
- player->LearnSpell(36554, false); // Shadowstep
- player->LearnSpell(14185, false); // Preparation
- player->LearnSpell(16511, false); // Hemorrhage
- // Remove Spells from other specs
- player->RemoveSpell(58410, false); // Master Poisoner
- player->RemoveSpell(31209, false); // Fleet footed
- player->RemoveSpell(51636, false); // Focused Attacks
- player->RemoveSpell(14094, false); // Dirty Tricks
- player->RemoveSpell(1329, false); // Mutilate
- player->RemoveSpell(32645, false); // Envenom
- player->RemoveSpell(18429, false); // Aggression
- player->RemoveSpell(13875, false); // Improved Sprint
- player->RemoveSpell(32601, false); // Surprise Attacks
- player->RemoveSpell(14094, false); // Dirty Tricks
- player->RemoveSpell(13750, false); // Adrenaline Rush
- player->RemoveSpell(13877, false); // Blade Flurry
- player->RemoveSpell(58415, false); // Filthy Tricks
- player->RemoveSpell(14117, false); // Improved Poisoner
- break;
- case 17: // Assassination
- // Add Spells
- player->LearnSpell(58410, false); // Master Poisoner
- player->LearnSpell(31209, false); // Fleet footed
- player->LearnSpell(51636, false); // Focused Attacks
- player->LearnSpell(14094, false); // Dirty Tricks
- player->LearnSpell(1329, false); // Mutilate
- player->LearnSpell(32645, false); // Envenom
- // Remove Spells from other specs
- player->RemoveSpell(31230, false); // Cheat Death
- player->RemoveSpell(51710, false); // Slaughter from the Shadows
- player->RemoveSpell(51696, false); // Waylay
- player->RemoveSpell(36554, false); // Shadowstep
- player->RemoveSpell(14185, false); // Preparation
- player->RemoveSpell(16511, false); // Hemorrhage
- player->RemoveSpell(18429, false); // Aggression
- player->RemoveSpell(13875, false); // Improved Sprint
- player->RemoveSpell(32601, false); // Surprise Attacks
- player->RemoveSpell(14094, false); // Dirty Tricks
- player->RemoveSpell(13750, false); // Adrenaline Rush
- player->RemoveSpell(13877, false); // Blade Flurry
- player->RemoveSpell(58415, false); // Filthy Tricks
- player->RemoveSpell(14117, false); // Improved Poisoner
- break;
- case 18: // Combat
- // Add Spells
- player->LearnSpell(18429, false); // Aggression
- player->LearnSpell(13875, false); // Improved Sprint
- player->LearnSpell(32601, false); // Surprise Attacks
- player->LearnSpell(14094, false); // Dirty Tricks
- player->LearnSpell(13750, false); // Adrenaline Rush
- player->LearnSpell(13877, false); // Blade Flurry
- // Remove Spells from other specs
- player->RemoveSpell(31230, false); // Cheat Death
- player->RemoveSpell(51710, false); // Slaughter from the Shadows
- player->RemoveSpell(51696, false); // Waylay
- player->RemoveSpell(36554, false); // Shadowstep
- player->RemoveSpell(14185, false); // Preparation
- player->RemoveSpell(16511, false); // Hemorrhage
- player->RemoveSpell(58410, false); // Master Poisoner
- player->RemoveSpell(31209, false); // Fleet footed
- player->RemoveSpell(51636, false); // Focused Attacks
- player->RemoveSpell(14094, false); // Dirty Tricks
- player->RemoveSpell(1329, false); // Mutilate
- player->RemoveSpell(32645, false); // Envenom
- player->RemoveSpell(58415, false); // Filthy Tricks
- player->RemoveSpell(14117, false); // Improved Poisoner
- break;
- /* Shaman */
- case 19: // Restoration
- // Add Spells
- player->LearnSpell(30886, false); // Nature's Guardian
- player->LearnSpell(30866, false); // Focused Mind
- player->LearnSpell(16213, false); // Purification
- player->LearnSpell(16188, false); // Nature's Swiftness
- player->LearnSpell(51886, false); // Cleanse Spirit
- // Remove Spells from other specs
- player->RemoveSpell(30814, false); // Mental Quickness
- player->RemoveSpell(30798, false); // Dual Wield
- player->RemoveSpell(51885, false); // Mental Dexterity
- player->RemoveSpell(63374, false); // Frozen Power
- player->RemoveSpell(17364, false); // Stormstrike
- player->RemoveSpell(30823, false); // Shamanistic Rage
- player->RemoveSpell(30679, false); // Lightning Overload
- player->RemoveSpell(51486, false); // Storm, Earth and Fire
- player->RemoveSpell(16582, false); // Lightning Mastery
- player->RemoveSpell(421, false); // Chain Lightning
- player->RemoveSpell(16166, false); // Elemental Mastery
- player->RemoveSpell(51566, false); // Tidal Waves
- player->RemoveSpell(61295, false); // Riptide
- player->RemoveSpell(974, false); // Earth Shield
- player->RemoveSpell(60103, false); // Lava Lash
- player->RemoveSpell(51505, false); // Lava Burst
- player->RemoveSpell(51482, false); // Lava Flows
- player->RemoveSpell(51470, false); // Elemental Oath
- break;
- case 20: // Enchancement
- // Add Spells
- player->LearnSpell(30814, false); // Mental Quickness
- player->LearnSpell(30798, false); // Dual Wield
- player->LearnSpell(51885, false); // Mental Dexterity
- player->LearnSpell(63374, false); // Frozen Power
- player->LearnSpell(17364, false); // Stormstrike
- player->LearnSpell(30823, false); // Shamanistic Rage
- // Remove Spells from other specs
- player->RemoveSpell(30886, false); // Nature's Guardian
- player->RemoveSpell(30866, false); // Focused Mind
- player->RemoveSpell(16213, false); // Purification
- player->RemoveSpell(16188, false); // Nature's Swiftness
- player->RemoveSpell(51886, false); // Cleanse Spirit
- player->RemoveSpell(30679, false); // Lightning Overload
- player->RemoveSpell(51486, false); // Storm, Earth and Fire
- player->RemoveSpell(16582, false); // Lightning Mastery
- player->RemoveSpell(16287, false); // Improved Ghost Wolf
- player->RemoveSpell(421, false); // Chain Lightning
- player->RemoveSpell(16166, false); // Elemental Mastery
- player->RemoveSpell(51566, false); // Tidal Waves
- player->RemoveSpell(61295, false); // Riptide
- player->RemoveSpell(974, false); // Earth Shield
- player->RemoveSpell(60103, false); // Lava Lash
- player->RemoveSpell(51505, false); // Lava Burst
- player->RemoveSpell(51482, false); // Lava Flows
- player->RemoveSpell(51470, false); // Elemental Oath
- break;
- case 21: // Elemental
- // Add Spells
- player->LearnSpell(30679, false); // Lightning Overload
- player->LearnSpell(51486, false); // Storm, Earth and Fire
- player->LearnSpell(16582, false); // Lightning Mastery
- player->LearnSpell(421, false); // Chain Lightning
- player->LearnSpell(16166, false); // Elemental Mastery
- // Remove Spells from other specs
- player->RemoveSpell(30886, false); // Nature's Guardian
- player->RemoveSpell(30866, false); // Focused Mind
- player->RemoveSpell(16213, false); // Purification
- player->RemoveSpell(16188, false); // Nature's Swiftness
- player->RemoveSpell(51886, false); // Cleanse Spirit
- player->RemoveSpell(30814, false); // Mental Quickness
- player->RemoveSpell(30798, false); // Dual Wield
- player->RemoveSpell(51885, false); // Mental Dexterity
- player->RemoveSpell(63374, false); // Frozen Power
- player->RemoveSpell(17364, false); // Stormstrike
- player->RemoveSpell(30823, false); // Shamanistic Rage
- player->RemoveSpell(51566, false); // Tidal Waves
- player->RemoveSpell(61295, false); // Riptide
- player->RemoveSpell(974, false); // Earth Shield
- player->RemoveSpell(60103, false); // Lava Lash
- player->RemoveSpell(51505, false); // Lava Burst
- player->RemoveSpell(51482, false); // Lava Flows
- player->RemoveSpell(51470, false); // Elemental Oath
- break;
- /* Warlock */
- case 22: // Affliction
- // Add Spells
- player->LearnSpell(30064, false); // Contagion
- player->LearnSpell(30057, false); // Improved Howl of Terror
- player->LearnSpell(47205, false); // Everlasting Affliction
- player->LearnSpell(63108, false); // Death Coil
- // Remove Spells from other specs
- player->RemoveSpell(30302, false); // Nether Protection
- player->RemoveSpell(34939, false); // Backlash
- player->RemoveSpell(63158, false); // Decimation
- player->RemoveSpell(17792, false); // Bane
- player->RemoveSpell(47247, false); // Molten Core
- player->RemoveSpell(6353, false); // Soul Fire
- player->RemoveSpell(47260, false); // Backdraft
- player->RemoveSpell(47270, false); // Fire and Brimstone
- player->RemoveSpell(18130, false); // Devastation
- player->RemoveSpell(17962, false); // Conflagrate
- player->RemoveSpell(48181, false); // Haunt
- player->RemoveSpell(30108, false); // Unstable Affliction
- player->RemoveSpell(58425, false); // Pandemic
- player->RemoveSpell(59672, false); // Metamorphosis
- player->RemoveSpell(29722, false); // Incinerate
- break;
- case 23: // Demonology
- // Add Spells
- player->LearnSpell(30302, false); // Nether Protection
- player->LearnSpell(34939, false); // Backlash
- player->LearnSpell(63158, false); // Decimation
- player->LearnSpell(17792, false); // Bane
- player->LearnSpell(47247, false); // Molten Core
- player->LearnSpell(6353, false); // Soul Fire
- // Remove Spells from other specs
- player->RemoveSpell(30064, false); // Contagion
- player->RemoveSpell(30057, false); // Improved Howl of Terror
- player->RemoveSpell(47205, false); // Everlasting Affliction
- player->RemoveSpell(63108, false); // Death Coil
- player->RemoveSpell(47260, false); // Backdraft
- player->RemoveSpell(47270, false); // Fire and Brimstone
- player->RemoveSpell(18130, false); // Devastation
- player->RemoveSpell(17962, false); // Conflagrate
- player->RemoveSpell(48181, false); // Haunt
- player->RemoveSpell(30108, false); // Unstable Affliction
- player->RemoveSpell(58425, false); // Pandemic
- player->RemoveSpell(59672, false); // Metamorphosis
- player->RemoveSpell(29722, false); // Incinerate
- break;
- case 24: // Destruction
- // Add Spells
- player->LearnSpell(47260, false); // Backdraft
- player->LearnSpell(47270, false); // Fire and Brimstone
- player->LearnSpell(18130, false); // Devastation
- player->LearnSpell(17962, false); // Conflagrate
- // Remove Spells from other specs
- player->RemoveSpell(30064, false); // Contagion
- player->RemoveSpell(30057, false); // Improved Howl of Terror
- player->RemoveSpell(47205, false); // Everlasting Affliction
- player->RemoveSpell(63108, false); // Death Coil
- player->RemoveSpell(30302, false); // Nether Protection
- player->RemoveSpell(34939, false); // Backlash
- player->RemoveSpell(63158, false); // Decimation
- player->RemoveSpell(17792, false); // Bane
- player->RemoveSpell(47247, false); // Molten Core
- player->RemoveSpell(6353, false); // Soul Fire
- player->RemoveSpell(48181, false); // Haunt
- player->RemoveSpell(30108, false); // Unstable Affliction
- player->RemoveSpell(58425, false); // Pandemic
- player->RemoveSpell(59672, false); // Metamorphosis
- player->RemoveSpell(29722, false); // Incinerate
- break;
- /* Druid */
- case 25: // Feral
- // Add Spells
- player->LearnSpell(48495, false); // King of the Jungle
- player->LearnSpell(33873, false); // Nurturing Instinct
- player->LearnSpell(63503, false); // Primal Gore
- player->LearnSpell(37117, false); // Primal Fury
- player->LearnSpell(33917, false); // Mangle
- player->LearnSpell(9005, false); // Pounce
- player->LearnSpell(9634, false); // Dire Bear Form
- // Remove Spells from other specs
- player->RemoveSpell(48511, false); // Earth and Moon
- player->RemoveSpell(48525, false); // Eclipse
- player->RemoveSpell(16899, false); // Moonfury
- player->RemoveSpell(24858, false); // Moonkin For
- player->RemoveSpell(48545, false); // Revitalize
- player->RemoveSpell(63411, false); // Improved Barkskin
- player->RemoveSpell(24946, false); // Gift of Nature
- player->RemoveSpell(18562, false); // Swiftmend
- player->RemoveSpell(33856, false); // Survival of the Fittest
- player->RemoveSpell(57877, false); // Protector of the Pack
- player->RemoveSpell(57881, false); // Natural Reaction
- player->RemoveSpell(769, false); // Swipe
- player->RemoveSpell(50334, false); // Berserk
- player->RemoveSpell(48393, false); // Owlkin Frenzy
- player->RemoveSpell(5570, false); // Insect Swarm
- player->RemoveSpell(48438, false); // Wild Growth
- player->RemoveSpell(65139, false); // Tree of Life
- player->RemoveSpell(33956, false); // Dreamstate
- player->RemoveSpell(22812, false); // Barkskin
- break;
- case 26: // Balance
- // Add Spells
- player->LearnSpell(48511, false); // Earth and Moon
- player->LearnSpell(33956, false); // Dreamstate
- player->LearnSpell(24858, false); // Moonkin Form
- player->LearnSpell(22812, false); // Barkskin
- player->LearnSpell(5570, false); // Insect Swarm
- // Remove Spells from other specs
- player->RemoveSpell(48495, false); // King of the Jungle
- player->RemoveSpell(33873, false); // Nurturing Instinct
- player->RemoveSpell(63503, false); // Primal Gore
- player->RemoveSpell(37117, false); // Primal Fury
- player->RemoveSpell(33917, false); // Mangle
- player->RemoveSpell(9005, false); // Pounce
- player->RemoveSpell(48545, false); // Revitalize
- player->RemoveSpell(63411, false); // Improved Barkskin
- player->RemoveSpell(24946, false); // Gift of Nature
- player->RemoveSpell(18562, false); // Swiftmend
- player->RemoveSpell(33856, false); // Survival of the Fittest
- player->RemoveSpell(57877, false); // Protector of the Pack
- player->RemoveSpell(57881, false); // Natural Reaction
- player->RemoveSpell(769, false); // Swipe
- player->RemoveSpell(33917, false); // Mangle
- player->RemoveSpell(50334, false); // Berserk
- player->RemoveSpell(9634, false); // Dire Bear Form
- player->RemoveSpell(48393, false); // Owlkin Frenzy
- player->RemoveSpell(48438, false); // Wild Growth
- player->RemoveSpell(65139, false); // Tree of Life
- break;
- case 27: // Restoration
- // Add Spells
- player->LearnSpell(48545, false); // Revitalize
- player->LearnSpell(63411, false); // Improved Barkskin
- player->LearnSpell(22812, false); // Barkskin
- player->LearnSpell(24946, false); // Gift of Nature
- player->LearnSpell(18562, false); // Swiftmend
- // Remove Spells from other specs
- player->RemoveSpell(48495, false); // King of the Jungle
- player->RemoveSpell(33873, false); // Nurturing Instinct
- player->RemoveSpell(63503, false); // Primal Gore
- player->RemoveSpell(37117, false); // Primal Fury
- player->RemoveSpell(33917, false); // Mangle
- player->RemoveSpell(9005, false); // Pounce
- player->RemoveSpell(48511, false); // Earth and Moon
- player->RemoveSpell(48525, false); // Eclipse
- player->RemoveSpell(16899, false); // Moonfury
- player->RemoveSpell(24858, false); // Moonkin Form
- player->RemoveSpell(33856, false); // Survival of the Fittest
- player->RemoveSpell(57877, false); // Protector of the Pack
- player->RemoveSpell(57881, false); // Natural Reaction
- player->RemoveSpell(769, false); // Swipe
- player->RemoveSpell(33917, false); // Mangle
- player->RemoveSpell(50334, false); // Berserk
- player->RemoveSpell(9634, false); // Dire Bear Form
- player->RemoveSpell(48393, false); // Owlkin Frenzy
- player->RemoveSpell(5570, false); // Insect Swarm
- player->RemoveSpell(48438, false); // Wild Growth
- player->RemoveSpell(65139, false); // Tree of Life
- player->RemoveSpell(33956, false); // Dreamstate
- break;
- case 28: // Guardian
- // Add Spells
- player->LearnSpell(33856, false); // Survival of the Fittest
- player->LearnSpell(57877, false); // Protector of the Pack
- player->LearnSpell(57881, false); // Natural Reaction
- player->LearnSpell(769, false); // Swipe
- player->LearnSpell(33917, false); // Mangle
- player->LearnSpell(9634, false); // Dire Bear Form
- // Remove Spells from other specs
- player->RemoveSpell(48495, false); // King of the Jungle
- player->RemoveSpell(33873, false); // Nurturing Instinct
- player->RemoveSpell(63503, false); // Primal Gore
- player->RemoveSpell(37117, false); // Primal Fury
- player->RemoveSpell(9005, false); // Pounce
- player->RemoveSpell(48545, false); // Revitalize
- player->RemoveSpell(63411, false); // Improved Barkskin
- player->RemoveSpell(24946, false); // Gift of Nature
- player->RemoveSpell(18562, false); // Swiftmend
- player->RemoveSpell(48511, false); // Earth and Moon
- player->RemoveSpell(48525, false); // Eclipse
- player->RemoveSpell(16899, false); // Moonfury
- player->RemoveSpell(24858, false); // Moonkin Form
- player->RemoveSpell(50334, false); // Berserk
- player->RemoveSpell(48393, false); // Owlkin Frenzy
- player->RemoveSpell(5570, false); // Insect Swarm
- player->RemoveSpell(48438, false); // Wild Growth
- player->RemoveSpell(65139, false); // Tree of Life
- player->RemoveSpell(33956, false); // Dreamstate
- player->RemoveSpell(22812, false); // Barkskin
- break;
- }
- player->CLOSE_GOSSIP_MENU();
- return true;
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement