Core/Spells: Fix Item - Chamber of Aspects 25 Normal/Heroic Tank Trinket.
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
DELETE FROM `spell_proc_event` WHERE `entry` IN (75475,75481);
|
||||||
|
INSERT INTO `spell_proc_event` (`entry`,`Cooldown`) VALUES
|
||||||
|
(75475,45),
|
||||||
|
(75481,45);
|
||||||
@@ -8688,6 +8688,15 @@ bool Unit::HandleProcTriggerSpell(Unit *pVictim, uint32 damage, AuraEffect* trig
|
|||||||
if (pVictim)
|
if (pVictim)
|
||||||
pVictim->CastSpell(pVictim, trigger_spell_id, true); // EffectImplicitTarget is self
|
pVictim->CastSpell(pVictim, trigger_spell_id, true); // EffectImplicitTarget is self
|
||||||
return true;
|
return true;
|
||||||
|
// Item - Chamber of Aspects 25 Normal/Heroic Tank Trinket
|
||||||
|
case 75475:
|
||||||
|
case 75481:
|
||||||
|
{
|
||||||
|
// Procs only if damage takes health below $s1%
|
||||||
|
if (!pVictim || !pVictim->isAlive() || !pVictim->HealthBelowPctDamaged(triggerAmount, damage))
|
||||||
|
return false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user