Jump to content

Recommended Posts

Posted

What bug does the patch fix? What features does the patch add?

This patch would fix Siphon Life after client switch.

For which repository revision was the patch created?

8016

Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.

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

Who has been writing this patch? Please include either forum user names or email addresses.

Corfen and ChanF07.

Core patch:

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 4d53011..84d9378 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5140,6 +5140,13 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
                    triggered_spell_id = 37378;
                    break;
                }
+                //Siphon Life
+                case 63108:
+                {
+                        basepoints0 = int32(damage * triggerAmount/100);
+                        triggered_spell_id = 63106;
+                    break;
+                }
            }
            break;
        }

and sql fix:

INSERT INTO spell_proc_event VALUES
('63108', 0x00, 5, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
INSERT INTO spell_bonus_data VALUES
('63106', '0', '0', '0', 'Warlock - Siphon Life');

patch file

  • 39 years later...
Posted

[color=#000000][color=#007700]+                    if([/color][color=#0000BB]procSpell[/color][color=#007700]->[/color][color=#0000BB]SpellFamilyFlags [/color][color=#007700]& [/color][color=#0000BB]UI64LIT[/color][color=#007700]([/color][color=#0000BB]0x0000000000000002[/color][color=#007700]))

spell_proc_event ?

[/color][/color]

[color=#000000][color=#007700]+                        [/color][color=#0000BB]target [/color][color=#007700]= [/color][color=#0000BB]this[/color][color=#007700];[/color][/color][color=#000000][color=#007700]

63106 has TARGET_SELF

[/color][/color]

Posted
[color=#000000][color=#007700]+                    if([/color][color=#0000bb]procSpell[/color][color=#007700]->[/color][color=#0000bb]SpellFamilyFlags [/color][color=#007700]& [/color][color=#0000bb]UI64LIT[/color][color=#007700]([/color][color=#0000bb]0x0000000000000002[/color][color=#007700]))[/color][/color]

spell_proc_event ?

[color=#000000][color=#007700]+                        [/color][color=#0000bb]target [/color][color=#007700]= [/color][color=#0000bb]this[/color][color=#007700];[/color][/color]

63106 has TARGET_SELF

Oh, thx, I forgot about it. Firts post updated.

Posted
[color=#000000][color=#007700]+                    if([/color][color=#0000bb]procSpell[/color][color=#007700]->[/color][color=#0000bb]SpellFamilyFlags [/color][color=#007700]& [/color][color=#0000bb]UI64LIT[/color][color=#007700]([/color][color=#0000bb]0x0000000000000002[/color][color=#007700]))[/color][/color]

spell_proc_event ?

So you mean something like

<ignore since proper one is in first post now>

For the other part do we just drop the target line altogether?

Anyways thanks for your feedback.

  • 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