PDA

Просмотр полной версии : [fix] Paladin T5 Holy 2p bonus


Den
24.07.2011, 12:52
DELETE FROM `spell_proc_event` WHERE `entry` IN (37188);
INSERT INTO `spell_proc_event` VALUES (37188, 0x00, 10, 0x00080000, 0x00080000, 0x00080000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00011110, 0x00000000, 0.000000, 0.000000, 0);

diff --git a/src/game/UnitAuraProcHandler.cpp b/src/game/UnitAuraProcHandler.cpp
index c1ff8a7..80722aa 100644
--- a/src/game/UnitAuraProcHandler.cpp
+++ b/src/game/UnitAuraProcHandler.cpp
@@ -1863,6 +1863,15 @@ SpellAuraProcResult Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, Aura
pVictim->CastCustomSpell(pVictim, 20267, &basepoints[0], NULL, NULL, true, NULL, triggeredByAura);
return SPELL_AURA_PROC_OK;
}
+ // Improved Judgement
+ case 37188:
+ {
+ if (!procSpell)
+ return SPELL_AURA_PROC_FAILED;
+
+ triggered_spell_id = 43838;
+ break;
+ }
// Judgement of Wisdom
case 20186:
{