Trinitycore: [3.3.5] Spell/Shaman: Grounding Totem not work properly

Created on 26 Feb 2017  路  7Comments  路  Source: TrinityCore/TrinityCore

Description:
http://wotlk.openwow.com/spell=8177

Grounding Totem: Summons a Grounding Totem with 5 health at the feet of the caster that will redirect one harmful spell cast on a nearby party member to itself, destroying the totem. Will not redirect area of effect spells. Lasts 45 sec.

Grounding Totem works ok if it is summoned before any negative spell. Spells with a travel time (such as Shadowbolt, Firebolt, ...) do not damage the target until the projectile hits. The totem must redirect the spell until it takes damage and summarily gets destroyed. In case there is no totem, if the spell is casted and it is in the air and quickly the shaman uses the Grounding Totem, two things happen:

  • First: The spell is never redirected and hits the shaman, totem persist. If the correct thing is that when the spell is casted and there is no totem the spell hits the shaman then this is not a bug, else after the totem is used a check is required.
    case 1
  • Second: (After first case) The shaman's opponent casts spells for a few seconds and all spells hits the shaman. Grounding totem ignores spells for a while.
    case 2

Current behaviour:
Explained above.

Expected behaviour:
Grounding Totem should redirect spells in all cases.

Steps to reproduce the problem:

  1. There is no totem
  2. Cast shadowbolt to shaman (Better at greater distance).
  3. Quickly the shaman uses the Grounding Totem.
  4. Shadowbolt is not redirected (first case) and Grounding totem persist.
  5. Spam Shadowbolt.
  6. Grounding totem ignores spells for a while (second case).

Branch(es): 3.3.5

TC rev. hash/commit: 4224259

TDB version: TDB_full_world_335.62_2016_10_17 + updates

Operating system: Windows

Branch-3.3.5a Comp-Core Sub-Spells

Most helpful comment

Blizzlike

All 7 comments

Redirect was always checked on cast.

hmmm, then something is wrong, confirmed for me

@ariel- can you take a look here please?

thanks for 7072bf8 it solves the second case what about the first?

Blizzlike

I just updated the core+DB and I got this DB errors:
`` Thespell_proctable entry for spellId 8178 doesn't have anyProcFlagsvalue defined, proc will not be triggered. Thespell_proctable entry for spellId 8178 hasSpellTypeMaskvalue defined, but it will not be used for the definedProcFlagsvalue. Thespell_proctable entry for spellId 38857 doesn't have anyProcFlagsvalue defined, proc will not be triggered. Thespell_proctable entry for spellId 38857 hasSpellTypeMaskvalue defined, but it will not be used for the definedProcFlags` value.

Fixed in ebba8dcba87190cfdef55bd896a11d2d234cd754, thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ZenoX92 picture ZenoX92  路  3Comments

Jonne733 picture Jonne733  路  3Comments

Rochet2 picture Rochet2  路  3Comments

Jildor picture Jildor  路  3Comments

tje3d picture tje3d  路  3Comments