aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChaplain <aionthefirst@gmail.com>2011-09-25 14:20:41 +0300
committerChaplain <aionthefirst@gmail.com>2011-09-25 14:20:41 +0300
commit877579d3864c504389b271f38a7516f2ec0eeb25 (patch)
tree1a44e7b1e7a3ef521847c5f2732002753684f591
parent71bbbaa21b03b31a796308dbfe968904c769967f (diff)
Revert "Core/Spells: Fix talent Sword Specialization for melee abilities"
This reverts commit cdd41601579e6e76dc2d82ceeb9de24af31aa79e.
-rw-r--r--[-rwxr-xr-x]src/server/game/Entities/Unit/Unit.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index d6199cbd910..2d663f83856 100755..100644
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -8792,25 +8792,6 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
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
if (auraSpellInfo->SpellFamilyName == SPELLFAMILY_DEATHKNIGHT && auraSpellInfo->SpellIconID == 85)
{