diff options
| author | Machiavelli <machiavelli.trinity@gmail.com> | 2011-02-23 18:17:20 +0100 |
|---|---|---|
| committer | Machiavelli <machiavelli.trinity@gmail.com> | 2011-02-23 18:17:20 +0100 |
| commit | 102c089ab8ac87c278a546edfd6a9225dfa5cc6f (patch) | |
| tree | ef0544e780f02126dd5aec8de5fc3842e49782f5 /src/server/game/Spells/SpellEffects.cpp | |
| parent | 550f59e05f81f9b898c463b4379ff72a4d7b0fa6 (diff) | |
Scripts/Kologarn:
- Correct target limitation for Focused Eyebeam
- Correct target selection and limitation for Stone Grip
** Fixes random teleports to the "safe spot" caused by aura unapply when that player wasn't intended as target.
** Stone Grip will only target the main tank if there's no one else in range.
- Despawn Rubbles on encounter reset/complete
- Use elegant MotionMaster::MoveJump instead of NearTeleportTo when releasing Stone Grip target
DB/NPC Templates:
- Add civilian flag for Armsweep Stalker and Rubble Stalker
Other:
- Fix 2011_02_23_2_world_conditions.sql to comply to standards
- Cleanup affected code
Diffstat (limited to 'src/server/game/Spells/SpellEffects.cpp')
| -rwxr-xr-x | src/server/game/Spells/SpellEffects.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/server/game/Spells/SpellEffects.cpp b/src/server/game/Spells/SpellEffects.cpp index 4c0fec17774..dc1c1f78b12 100755 --- a/src/server/game/Spells/SpellEffects.cpp +++ b/src/server/game/Spells/SpellEffects.cpp @@ -1633,13 +1633,6 @@ void Spell::EffectForceCast(SpellEffIndex effIndex) } } - switch (triggered_spell_id) - { - case 62056: case 63985: // Stone Grip Forcecast (10m, 25m) - unitTarget->CastSpell(unitTarget, spellInfo, true); // Don't send m_originalCasterGUID param here or underlying - return; // AureEffect::HandleAuraControlVehicle will fail on caster == target - } - Unit * caster = GetTriggeredSpellCaster(spellInfo, m_caster, unitTarget); caster->CastSpell(unitTarget, spellInfo, true, NULL, NULL, m_originalCasterGUID); |
