Core/Spells: Fix Item - Hunter T9 4P Bonus
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
-- Spell proc cooldown for Item - Hunter T9 4P Bonus
|
||||||
|
DELETE FROM `spell_proc_event` WHERE `entry`=67151;
|
||||||
|
INSERT INTO `spell_proc_event` (`entry`,`Cooldown`) VALUES
|
||||||
|
(67151,45);
|
||||||
@@ -7250,7 +7250,7 @@ bool Unit::HandleDummyAuraProc(Unit* victim, uint32 damage, AuraEffect* triggere
|
|||||||
// Item - Shaman T10 Elemental 4P Bonus
|
// Item - Shaman T10 Elemental 4P Bonus
|
||||||
case 70817:
|
case 70817:
|
||||||
{
|
{
|
||||||
if(!target)
|
if (!target)
|
||||||
return false;
|
return false;
|
||||||
// try to find spell Flame Shock on the target
|
// try to find spell Flame Shock on the target
|
||||||
if (AuraEffect const* aurEff = target->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_SHAMAN, 0x10000000, 0x0, 0x0, GetGUID()))
|
if (AuraEffect const* aurEff = target->GetAuraEffect(SPELL_AURA_PERIODIC_DAMAGE, SPELLFAMILY_SHAMAN, 0x10000000, 0x0, 0x0, GetGUID()))
|
||||||
@@ -8407,6 +8407,13 @@ bool Unit::HandleProcTriggerSpell(Unit* victim, uint32 damage, AuraEffect* trigg
|
|||||||
basepoints0 += victim->GetRemainingPeriodicAmount(GetGUID(), trigger_spell_id, SPELL_AURA_PERIODIC_DAMAGE);
|
basepoints0 += victim->GetRemainingPeriodicAmount(GetGUID(), trigger_spell_id, SPELL_AURA_PERIODIC_DAMAGE);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
// Item - Hunter T9 4P Bonus
|
||||||
|
if (auraSpellInfo->Id == 67151)
|
||||||
|
{
|
||||||
|
trigger_spell_id = 68130;
|
||||||
|
target = this;
|
||||||
|
break;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case SPELLFAMILY_PALADIN:
|
case SPELLFAMILY_PALADIN:
|
||||||
@@ -14329,7 +14336,7 @@ void Unit::ProcDamageAndSpellFor(bool isVictim, Unit* target, uint32 procFlag, u
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!handled)
|
if (!handled)
|
||||||
for (uint8 effIndex = 0; effIndex<MAX_SPELL_EFFECTS; ++effIndex)
|
for (uint8 effIndex = 0; effIndex < MAX_SPELL_EFFECTS; ++effIndex)
|
||||||
{
|
{
|
||||||
if (!(i->effMask & (1<<effIndex)))
|
if (!(i->effMask & (1<<effIndex)))
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user