TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

[Spell] Silence & Scatter Shot (Travel Time)

Open Demonid opened this issue 14 years ago • 7 comments

Bug Type: Travel Time

How it SHOULD work: Both spells should affect the enemy instantly without travel time.

How it DOES work: Both spells are affected by travel time.

Source: http://www.wowhead.com/spell=34490/silencing-shot#comments http://www.mmo-champion.com/threads/834620-Noob-Silencing-Shot-Question http://www.arenajunkies.com/topic/42049-hunter-silencing-shot-travel-time-gone/ http://www.mmo-champion.com/threads/1051594-Is-there-a-tavel-time-on-Scatter-shot

Hunter Spells affected: http://www.wowhead.com/spell=34490 http://www.wowhead.com/spell=19503

Demonid avatar May 19 '12 03:05 Demonid

confirm on 7972b6977b6fd95873c6c6cad2753bee50a38211

Judiny avatar May 19 '12 11:05 Judiny

nice fix

makiado avatar May 19 '12 17:05 makiado

Fix try (temp fix):

diff --git a/src/server/game/Spells/SpellMgr.cpp b/src/server/game/Spells/SpellMgr.cpp
index d7dc606..fdb1483 100644
--- a/src/server/game/Spells/SpellMgr.cpp
+++ b/src/server/game/Spells/SpellMgr.cpp
@@ -3901,6 +3901,11 @@ void SpellMgr::LoadDbcDataCorrections()
                 if (spellInfo->SpellFamilyFlags[2] & 0x100)
                     spellInfo->MaxAffectedTargets = 2;
                 break;
+            case SPELLFAMILY_HUNTER:
+                // Silencing Shot / Scatter Shot
+                if (spellInfo->SpellFamilyFlags[0] & 0x40000)
+                    spellInfo->speed = 0; // instant
+                break;
             case SPELLFAMILY_PALADIN:
                 // Seals of the Pure should affect Seal of Righteousness
                 if (spellInfo->SpellIconID == 25 && spellInfo->Attributes & SPELL_ATTR0_PASSIVE)

Vincent-Michael avatar May 20 '12 01:05 Vincent-Michael

@Vincent-Michael

Your Fix removes Travel Time but creates a autoshot visual bug.

Demonid avatar May 20 '12 04:05 Demonid

try with switch spellid scatter/silence.

Judiny avatar May 20 '12 09:05 Judiny

fixed :)

Vincent-Michael avatar May 20 '12 10:05 Vincent-Michael

Thanks a lot Vincent ^^

Demonid avatar May 20 '12 10:05 Demonid