diff options
author | QAston <none@none> | 2009-03-20 20:54:59 +0100 |
---|---|---|
committer | QAston <none@none> | 2009-03-20 20:54:59 +0100 |
commit | 7cd9a01954f6905dfb0e6a113b5799cc2442a39e (patch) | |
tree | f9f2f411be9f1b6436959d51d422f35577a2285a /src | |
parent | eddb72d1eaa21dfff850f7af56c3c59e0442d577 (diff) |
Fix weapons speed.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Player.cpp | 2 | ||||
-rw-r--r-- | src/game/Unit.cpp | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp index 1bacdfdd014..f168728108e 100644 --- a/src/game/Player.cpp +++ b/src/game/Player.cpp @@ -7052,7 +7052,7 @@ void Player::_ApplyItemBonuses(ItemPrototype const *proto, uint8 slot, bool appl ApplyFeralAPBonus(feral_bonus, apply); } - if(!IsInFeralForm() || !CanUseAttackType(attType)) + if(IsInFeralForm() || !CanUseAttackType(attType)) return; if (proto->Delay) diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 5c27d51c4aa..ee596024541 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -12420,8 +12420,6 @@ uint32 Unit::GetCastingTimeForBonus( SpellEntry const *spellProto, DamageEffectT case SPELL_AURA_PERIODIC_LEECH: if ( GetSpellDuration(spellProto) ) overTime = GetSpellDuration(spellProto); - if (IsChanneledSpell(spellProto)) - ModSpellCastTime(spellProto, overTime); break; default: // -5% per additional effect |