aboutsummaryrefslogtreecommitdiff
path: root/src/server/game
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2013-07-30 21:54:16 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2013-07-30 21:54:16 +0200
commitd50eafad6d213437c60fce2009e6485b3024ec10 (patch)
treea2eb5199e32adab0893dd21e7896dd1296ef5e57 /src/server/game
parent7cb1b21f5ec579f174e1adc5b5f526e047e6a7be (diff)
Core/Spells: Fix hunter "Cobra Shot"
Diffstat (limited to 'src/server/game')
-rw-r--r--src/server/game/Entities/Unit/Unit.cpp12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp
index 56ece0ca037..04bd4f8a17e 100644
--- a/src/server/game/Entities/Unit/Unit.cpp
+++ b/src/server/game/Entities/Unit/Unit.cpp
@@ -7755,7 +7755,7 @@ Player* Unit::GetAffectingPlayer() const
return NULL;
}
-Minion *Unit::GetFirstMinion() const
+Minion* Unit::GetFirstMinion() const
{
if (uint64 pet_guid = GetMinionGUID())
{
@@ -8932,16 +8932,6 @@ bool Unit::isSpellCrit(Unit* victim, SpellInfo const* spellProto, SpellSchoolMas
break;
}
break;
- case SPELLFAMILY_WARRIOR:
- // Victory Rush
- if (spellProto->SpellFamilyFlags[1] & 0x100)
- {
- // Glyph of Victory Rush
- if (AuraEffect const* aurEff = GetAuraEffect(58382, 0))
- crit_chance += aurEff->GetAmount();
- break;
- }
- break;
}
}
/// Intentional fallback. Calculate critical strike chance for both Ranged and Melee spells