diff options
| author | Nyr <nyrdeveloper@gmail.com> | 2023-06-30 13:39:38 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2023-08-07 00:05:36 +0200 |
| commit | d2784d4c65ec987fe587718d96b2feb885905e13 (patch) | |
| tree | bbf8c747a8a2bef88fa1b574e99332ae6d37df7d /src/server/scripts/Northrend | |
| parent | 054723241eaf1abe7d45a96460e84b9ff113ffb2 (diff) | |
Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization
Diffstat (limited to 'src/server/scripts/Northrend')
| -rw-r--r-- | src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp index 41bce531c60..6f66ed7d1fd 100644 --- a/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp +++ b/src/server/scripts/Northrend/AzjolNerub/Ahnkahet/boss_herald_volazj.cpp @@ -443,7 +443,7 @@ struct npc_twisted_visage : public ScriptedAI case CLASS_WARRIOR: switch (data) { - case TALENT_SPEC_WARRIOR_ARMS: + case ChrSpecialization::WarriorArms: _scheduler.Schedule(3s, [this](TaskContext mortalStrike) { DoCastVictim(SPELL_TWISTED_VISAGE_MORTAL_STRIKE); @@ -455,7 +455,7 @@ struct npc_twisted_visage : public ScriptedAI }); break; default: - case TALENT_SPEC_WARRIOR_FURY: + case ChrSpecialization::WarriorFury: _scheduler.Schedule(2s, [this](TaskContext intercept) { if (!me->IsWithinCombatRange(me->GetVictim(), 8.0f)) @@ -471,7 +471,7 @@ struct npc_twisted_visage : public ScriptedAI bloodthirst.Repeat(3s, 5s); }); break; - case TALENT_SPEC_WARRIOR_PROTECTION: + case ChrSpecialization::WarriorProtection: _scheduler.Schedule(5s, [this](TaskContext thunderClap) { DoCastSelf(SPELL_TWISTED_VISAGE_THUNDER_CLAP); @@ -487,7 +487,7 @@ struct npc_twisted_visage : public ScriptedAI case CLASS_PALADIN: switch (data) { - case TALENT_SPEC_PALADIN_PROTECTION: + case ChrSpecialization::PaladinProtection: _scheduler.Schedule(5s, [this](TaskContext consecration) { DoCastSelf(SPELL_TWISTED_VISAGE_CONSECRATION); @@ -499,7 +499,7 @@ struct npc_twisted_visage : public ScriptedAI }); break; default: - case TALENT_SPEC_PALADIN_RETRIBUTION: + case ChrSpecialization::PaladinRetribution: _scheduler.Schedule(5s, [this](TaskContext consecration) { DoCastSelf(SPELL_TWISTED_VISAGE_CONSECRATION); @@ -546,7 +546,7 @@ struct npc_twisted_visage : public ScriptedAI case CLASS_PRIEST: switch (data) { - case TALENT_SPEC_PRIEST_SHADOW: + case ChrSpecialization::PriestShadow: _scheduler.Schedule(5s, [this](TaskContext shadowWordPain) { DoCastVictim(SPELL_TWISTED_VISAGE_SHADOW_WORD_PAIN); @@ -600,7 +600,7 @@ struct npc_twisted_visage : public ScriptedAI switch (data) { default: - case TALENT_SPEC_SHAMAN_ELEMENTAL: + case ChrSpecialization::ShamanElemental: _scheduler.Schedule(5s, [this](TaskContext thunderstorm) { DoCastSelf(SPELL_TWISTED_VISAGE_THUNDERSTORM); @@ -611,14 +611,14 @@ struct npc_twisted_visage : public ScriptedAI lightningBolt.Repeat(3s, 5s); }); break; - case TALENT_SPEC_SHAMAN_ENHANCEMENT: + case ChrSpecialization::ShamanEnhancement: _scheduler.Schedule(2s, [this](TaskContext earthShock) { DoCastVictim(SPELL_TWISTED_VISAGE_EARTH_SHOCK); earthShock.Repeat(3s, 5s); }); break; - case TALENT_SPEC_SHAMAN_RESTORATION: + case ChrSpecialization::ShamanRestoration: _scheduler.Schedule(2s, [this](TaskContext earthShield) { if (Unit* target = DoSelectLowestHpFriendly(40.f)) @@ -666,7 +666,7 @@ struct npc_twisted_visage : public ScriptedAI case CLASS_DRUID: switch (data) { - case TALENT_SPEC_DRUID_BALANCE: + case ChrSpecialization::DruidBalance: _scheduler.Schedule(2s, [this](TaskContext moonfire) { DoCastVictim(SPELL_TWISTED_VISAGE_MOONFIRE); @@ -677,8 +677,8 @@ struct npc_twisted_visage : public ScriptedAI wrath.Repeat(3s, 5s); }); break; - case TALENT_SPEC_DRUID_BEAR: - case TALENT_SPEC_DRUID_CAT: + case ChrSpecialization::DruidGuardian: + case ChrSpecialization::DruidFeral: _scheduler.Schedule(1ms, [this](TaskContext /*catForm*/) { DoCastSelf(SPELL_TWISTED_VISAGE_CAT_FORM); @@ -693,7 +693,7 @@ struct npc_twisted_visage : public ScriptedAI }); break; default: - case TALENT_SPEC_DRUID_RESTORATION: + case ChrSpecialization::DruidRestoration: _scheduler.Schedule(2s, [this](TaskContext lifebloom) { if (Unit* target = DoSelectLowestHpFriendly(40.f)) |
