TrinityCore icon indicating copy to clipboard operation
TrinityCore copied to clipboard

Dummy aura proc from black bruise

Open Greymane opened this issue 13 years ago • 0 comments

Sup tob, since you have a great knowledge about the spell system of TC, i'm here to ask for your help on a half made work

I'm tryingto fix item 50035 and item 50692 necrotic touch proc. Those items applyes the 71876 and 71878 auras which have a 2% chance to proc the 71875 and 71877 auras, both of them have a dummy aura effect, wich is the 71879 spell.

I tried to define it on HandleDummyAuraProc, following the example of Necrosis:

             // Necrotic Touch
                if (dummySpell->Id == 71877 || dummySpell->Id == 71875)
                {
                    basepoints0 = CalculatePctN(int32(damage), triggerAmount);
                    triggered_spell_id = 71879;
                }

Also, added this SQL:

DELETE FROM `spell_proc_event` WHERE `entry` IN (71877,71875);
INSERT INTO `spell_proc_event` (`entry`,`procflags`) VALUES
(71877,4),
(71875,4);

But seems i'm missing something >.>

Well, if you have time and want to take a look, any help would be appreciated :P

Greymane avatar Aug 12 '11 00:08 Greymane