Jump to content

Recommended Posts

Posted

- Description of the bug:

When you use it , it heals only 4 points hp, and should be 4 %

- For which repository revision was the patch created?

7648

- Is there a thread in the bug report section or at lighthouse?

http://getmangos.eu/community/viewtopic.php?id=7018

- Who has been writing this patch?

Myself

The triggered spell of "Mark of Blood" only heals 4 hps points , it was a SPELL_EFFECT_HEAL, so I found a Spell like this but with SPELL_EFFECT_HEAL_PCT.

- This is the Fix:

From 012d1b9445e419921565c9a0dcc25e2543e0123e Mon Sep 17 00:00:00 2001
From: unknown <Administrator@.(none)>
Date: Wed, 11 Mar 2009 11:02:02 -0700
Subject: [PATCH] Mark of Blood Heal Percent

---
src/game/Unit.cpp |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 66b18d0..8d075d0 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5898,7 +5898,7 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
            if (dummySpell->Id == 49005)
            {
                // TODO: need more info (cooldowns/PPM)
-                triggered_spell_id = 50424;
+                triggered_spell_id = 61607;
                break;
            }
            // Vendetta
-- 
1.6.2.msysgit.0.186.gf7512


Greetings , Opterman

  • 39 years later...
Posted

Thx, but it is a not correctly patch. Spell with id = 61607 isn't class player spell. This spell cast by mobs and bosses. (see wowhead.com)

As temp fix - patch works very nice.

Posted

or you can use a normal fix like this :

           // Mark of Blood
           if (dummySpell->Id == 49005)
           {
               // TODO: need more info (cooldowns/PPM)
+              basepoints0 = triggerAmount * target->GetMaxHealth() / 100;
               triggered_spell_id = 50424;
               break;
           }

(PS : this is writed by hand, not tested)

Posted
Thx, but it is a not correctly patch. Spell with id = 61607 isn't class player spell. This spell cast by mobs and bosses. (see wowhead.com)

As temp fix - patch works very nice.

50424 Isnt a class player spell.

I dont see in wowhead any mob or boss that casts 61607..

Greetings, Opterman

  • 3 weeks later...
Guest
This topic is now closed to further replies.
×
×
  • 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