vmangos / core

Progressive Vanilla Core aimed at all versions from 1.2 to 1.12
GNU General Public License v2.0
691 stars 491 forks source link

🐛 [Bug] Bethor's Potion - Hex of Ravenclaw Removal spell #1222

Open schell244 opened 3 years ago

schell244 commented 3 years ago

🐛 Bug report

Drinking Bethor's Potion (spell id: 7669) triggeres the Hex of Ravenclaw Removal (spell id: 8320), which is supposed to remove the Hex of Ravenclaw debuff from the caster (spell id: 7656), but it doesn't.

Using Bethor's Potion also causes an error at server log:

Spell entry 8320, effect 0 has EffectImplicitTargetA/EffectImplicitTargetB = TARGET_UNIT_SCRIPT_NEAR_CASTER, but creature are not defined in `spell_script_target`

https://classic.wowhead.com/item=3251/bethors-potion

This issue was recently fixed on Azerothcore: https://github.com/azerothcore/azerothcore-wotlk/commit/ec4a34e4bd79af61cf22a68fddfe62ef4daba902

Steps to reproduce

  1. .quest add 446, talk to the Apothecary and the High Executor.
  2. Fight the npc Thule Ravenclaw
  3. As soon as you are affected by the Hex use the potion

Version & Environment

Client Version:

Commit Hash:
cacef79

OS Client: Win10 OS Server: Win10

Daribon commented 2 years ago

Managed to reproduce the same bug.