Revert "Core/Spells: Fix talent Sword Specialization for melee abilities"
This reverts commit cdd4160157.
This commit is contained in:
Executable → Regular
-19
@@ -8792,25 +8792,6 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Sword Specialization
|
|
||||||
if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_GENERIC && auraSpellInfo->SpellIconID == 1462 && procSpell)
|
|
||||||
{
|
|
||||||
if (Player* plr = ToPlayer())
|
|
||||||
{
|
|
||||||
if (cooldown && plr->HasSpellCooldown(16459))
|
|
||||||
return false;
|
|
||||||
|
|
||||||
// this required for attacks like Mortal Strike
|
|
||||||
plr->RemoveSpellCooldown(procSpell->Id);
|
|
||||||
|
|
||||||
CastSpell(victim, procSpell->Id, true);
|
|
||||||
|
|
||||||
if (cooldown)
|
|
||||||
plr->AddSpellCooldown(16459, 0, time(NULL) + cooldown);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// Blade Barrier
|
// Blade Barrier
|
||||||
if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && auraSpellInfo->SpellIconID == 85)
|
if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && auraSpellInfo->SpellIconID == 85)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user