Jump to content

[FIX] Judgement of the wise


kozelo

Recommended Posts

  • Replies 77
  • Created
  • Last Reply

Top Posters In This Topic

i actually meant what's still keeping it from being included in the git.. :)

and I told you why. Dev's don't like it when you don't use aura implementation, didn't use proc flags, and the patch in question, doesn't even work correctly.

after reading it the first time, and now reading what i've said, the 2nd time, do you still think it should be committed into master?

:)

Link to comment
Share on other sites

fix spell_proc_event for spell chance and procflags

delete from `spell_proc_event` where entry in (31876,31877,31878);
insert into `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) values('31876','0','10','8388608','0','0','16','0','0','33','0');
insert into `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) values('31877','0','10','8388608','0','0','16','0','0','66','0');
insert into `spell_proc_event` (`entry`, `SchoolMask`, `SpellFamilyName`, `SpellFamilyMask0`, `SpellFamilyMask1`, `SpellFamilyMask2`, `procFlags`, `procEx`, `ppmRate`, `CustomChance`, `Cooldown`) values('31878','0','10','8388608','0','0','16','0','0','100','0');

diff is for revision 7477

diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp
index 839ebe2..f50b709 100644
--- a/src/game/Unit.cpp
+++ b/src/game/Unit.cpp
@@ -5344,6 +5344,16 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura* triggeredByAu
        }
        case SPELLFAMILY_PALADIN:
        {
+    //Judgements of the wise 
+    if ( dummySpell->SpellIconID==3017 )
+    {
+            target = this;
+            triggered_spell_id =31930;
+            basepoints0 = GetCreateMana() * 0.15;
+            CastSpell ( this,57669,true,NULL,GetDummyAura ( dummySpell->Id ),GetGUID() );
+        break;
+    }
+
            // Seal of Righteousness - melee proc dummy (addition ${$MWS*(0.022*$AP+0.044*$SPH)} damage)
            if (dummySpell->SpellFamilyFlags&0x000000008000000LL && effIndex==0)
            {

<10 letters>

Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...
  • 3 weeks later...
  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...
×
×
  • 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