Core/Misc: Move TalentSpecialization together with other db2 enums and rename it to ChrSpecialization
Port From (https://github.com/TrinityCore/TrinityCore/commit/d2784d4c65ec987fe587718d96b2feb885905e13)
This commit is contained in:
@@ -310,7 +310,7 @@ namespace Scripts.Spells.Paladin
|
||||
if (caster != null)
|
||||
{
|
||||
// 243597 is also being cast as protection, but CreateObject is not sent, either serverside areatrigger for this aura or unused - also no visual is seen
|
||||
if (unit == caster && caster.IsPlayer() && caster.ToPlayer().GetPrimarySpecialization() == (uint)TalentSpecialization.PaladinProtection)
|
||||
if (unit == caster && caster.IsPlayer() && caster.ToPlayer().GetPrimarySpecialization() == (uint)ChrSpecialization.PaladinProtection)
|
||||
caster.CastSpell(caster, SpellIds.ConsecrationProtectionAura);
|
||||
|
||||
if (caster.IsValidAttackTarget(unit))
|
||||
|
||||
Reference in New Issue
Block a user