*Fix improved shadowform.
--HG-- branch : trunk
This commit is contained in:
@@ -0,0 +1,6 @@
|
|||||||
|
DELETE FROM `spell_proc_event` WHERE `entry` IN (47569, 47570);
|
||||||
|
INSERT INTO `spell_proc_event` VALUES
|
||||||
|
(47569, 0x00, 6, 0x00004000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 50.000000, 0),
|
||||||
|
(47570, 0x00, 6, 0x00004000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 100.000000, 0);
|
||||||
|
|
||||||
|
|
||||||
@@ -1220,11 +1220,10 @@ bool SpellMgr::IsSpellProcEventCanTriggeredBy(SpellProcEventEntry const* spellPr
|
|||||||
else // For spells need check school/spell family/family mask
|
else // For spells need check school/spell family/family mask
|
||||||
{
|
{
|
||||||
// Item cast can trigger only with spells with spellfamily
|
// Item cast can trigger only with spells with spellfamily
|
||||||
if (procExtra & PROC_EX_INTERNAL_ITEM_CAST && procSpell->SpellFamilyName)
|
if (procExtra & PROC_EX_INTERNAL_ITEM_CAST)
|
||||||
{
|
{
|
||||||
if (procSpell->SpellFamilyName == spellProcEvent->spellFamilyName)
|
if (!spellProcEvent->SpellFamilyName)
|
||||||
return true;
|
return false;
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
// Check (if set) for school
|
// Check (if set) for school
|
||||||
if(spellProcEvent->schoolMask && (spellProcEvent->schoolMask & procSpell->SchoolMask) == 0)
|
if(spellProcEvent->schoolMask && (spellProcEvent->schoolMask & procSpell->SchoolMask) == 0)
|
||||||
|
|||||||
@@ -5512,6 +5512,14 @@ bool Unit::HandleDummyAuraProc(Unit *pVictim, uint32 damage, AuraEffect* trigger
|
|||||||
triggered_spell_id = 56160;
|
triggered_spell_id = 56160;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// Improved Shadowform
|
||||||
|
case 47570:
|
||||||
|
case 47569:
|
||||||
|
{
|
||||||
|
RemoveAurasByTypeWithDispel(SPELL_AURA_MOD_ROOT);
|
||||||
|
RemoveAurasByTypeWithDispel(SPELL_AURA_MOD_DECREASE_SPEED);
|
||||||
|
break;
|
||||||
|
}
|
||||||
// Psychic Horror
|
// Psychic Horror
|
||||||
case 47571:
|
case 47571:
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user