diff options
| author | Chaouki Dhib <chaodhib@gmail.com> | 2016-08-20 01:25:30 +0200 |
|---|---|---|
| committer | Duarte Duarte <dnpd.dd@gmail.com> | 2016-08-20 00:25:30 +0100 |
| commit | 333a3e05f6d84213b1bd9473d0be048253bc2d5f (patch) | |
| tree | 1415cfd71dc5aac778d2d5c3da9528530b6b5a47 /src | |
| parent | aeeae8d09c81e48d68ee3ff5a9588f8f94f5ad4d (diff) | |
Core/Spells: Fixed extended spell range while moving Closes #17818 (#17824)
Cherry pick of https://github.com/TrinityCore/TrinityCore/commit/10e0f4ff8faa007b4c0c247a9368a746da7b7b0c
Closes https://github.com/TrinityCore/TrinityCore/issues/17818
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Spells/Spell.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Spells/Spell.cpp b/src/server/game/Spells/Spell.cpp index 8fc8282b549..057899ba283 100644 --- a/src/server/game/Spells/Spell.cpp +++ b/src/server/game/Spells/Spell.cpp @@ -5902,7 +5902,7 @@ std::pair<float, float> Spell::GetMinMaxRange(bool strict) if (target && m_caster->isMoving() && target->isMoving() && !m_caster->IsWalking() && !target->IsWalking() && (m_spellInfo->RangeEntry->type & SPELL_RANGE_MELEE || target->GetTypeId() == TYPEID_PLAYER)) - rangeMod += 5.0f / 3.0f; + rangeMod += 8.0f / 3.0f; } if (m_spellInfo->HasAttribute(SPELL_ATTR0_REQ_AMMO) && m_caster->GetTypeId() == TYPEID_PLAYER) |
