Jump to content

[BUG][SPELL] [BUG] Mark of Blood


Guest kisslota

Recommended Posts

Mangos Version: 9810

Custom Patches: None

SD2 Version: 1679

Database Name and Version : UDB Rev. 390

Mark of Blood http://www.wowhead.com/spell=49005

[]ENG[]

The bug consists that when you hang up on mob a label, at heal mob the player, others mobs in crowd aggr on healmob... And should beat the player...

As an exit it is necessary on triggered_spell_id = 61607; make that the original caster be the player instead of mob..

[]RU[]

Баг заключается в том, что когда вешаешь на моба метку, то при хиле мобом игрока, другие мобы в толпе агрятся на моба (хилера)... А должны оставатся бить игрока...

Как выход Нужно просто сделать, чтобы original caster-ом 61607 был не моб, а тот, кто повесил спелл (игрок).

// Mark of Blood
           if (dummySpell->Id == 49005)
           {
               // TODO: need more info (cooldowns/PPM)
               triggered_spell_id = 61607;
               break;
           }

Link to comment
Share on other sites

Bug confirmed.

patch from ru-mangos.ru by laise

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 801c51d..02ddcaf 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -7080,8 +7080,8 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
            if (dummySpell->Id == 49005)
            {
                // TODO: need more info (cooldowns/PPM)
-                triggered_spell_id = 61607;
-                break;
+                target->CastSpell(target, 61607, true, NULL, triggeredByAura);
+                return true;
            }
            // Vendetta
            if (dummySpell->SpellFamilyFlags & UI64LIT(0x0000000000010000))

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use