Core/Spells: Fixed Judgements of the Just

Signed-off-by: Shauren <[email protected]>
This commit is contained in:
DrTenma
2011-01-30 19:14:18 +01:00
committed by Shauren
parent d1fe53417a
commit 59448fddc4
3 changed files with 16 additions and 0 deletions
+2
View File
@@ -19080,6 +19080,8 @@ INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFam
( 53671, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Pure (Rank 1) ( 53671, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Pure (Rank 1)
( 53672, 0x00, 10, 0x00200000, 0x00010000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Infusion of Light ( 53672, 0x00, 10, 0x00200000, 0x00010000, 0x00000000, 0x00000000, 0x00000002, 0, 0, 0), -- Infusion of Light
( 53673, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Pure (Rank 2) ( 53673, 0x00, 10, 0x00800000, 0x00000000, 0x00000000, 0x00000000, 0x00040000, 0, 0, 0), -- Judgements of the Pure (Rank 2)
( 53695, 0x00, 10, 0x00800000, 0x00000000, 0x00000008, 0x00000000, 0x00000000, 0, 0, 0), -- Judgements of the Just (Rank 1)
( 53696, 0x00, 10, 0x00800000, 0x00000000, 0x00000008, 0x00000000, 0x00000000, 0, 0, 0), -- Judgements of the Just (Rank 2)
( 53709, 0x02, 10, 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Shield of the templar ( 53709, 0x02, 10, 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Shield of the templar
( 53710, 0x02, 10, 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Shield of the templar ( 53710, 0x02, 10, 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Shield of the templar
( 53711, 0x02, 10, 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Shield of the templar ( 53711, 0x02, 10, 0x00004000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0, 0, 0), -- Shield of the templar
@@ -0,0 +1,4 @@
DELETE FROM `spell_proc_event` WHERE `entry` IN (53695,53696);
INSERT INTO `spell_proc_event` (`entry`,`SchoolMask`,`SpellFamilyName`,`SpellFamilyMask0`,`SpellFamilyMask1`,`SpellFamilyMask2`,`procFlags`,`procEx`,`ppmRate`,`CustomChance`,`Cooldown`) VALUES
(53695,0x00,10,0x00800000,0x00000000,0x00000008,0x00000000,0x00000000,0,0,0), -- Judgements of the Just (Rank 1)
(53696,0x00,10,0x00800000,0x00000000,0x00000008,0x00000000,0x00000000,0,0,0); -- Judgements of the Just (Rank 2)
+10
View File
@@ -7716,6 +7716,16 @@ bool Unit::HandleAuraProc(Unit * pVictim, uint32 damage, Aura * triggeredByAura,
*handled = true; *handled = true;
break; break;
} }
// Judgements of the Just
else if (dummySpell->SpellIconID == 3015)
{
*handled = true;
if (procSpell->Category == SPELLCATEGORY_JUDGEMENT)
{
CastSpell(pVictim, 68055, true);
return true;
}
}
break; break;
} }
case SPELLFAMILY_MAGE: case SPELLFAMILY_MAGE: