fix(Core/Spell): Val'anyr periodic healings proc and move to new proc system (#4216)

This commit is contained in:
r0m1ntik
2021-03-22 03:40:50 +01:00
committed by GitHub
parent acfba80174
commit 66ca61025d
2 changed files with 2 additions and 4 deletions

View File

@@ -0,0 +1,2 @@
INSERT INTO `version_db_world` (`sql_rev`) VALUES ('1609870134525124000');
UPDATE `spell_proc_event` SET `procFlags` = 279552|1024|16384|262144, `procEx` = 786432|262144|524288 WHERE `entry` = 64411;

View File

@@ -1764,10 +1764,6 @@ public:
bool CheckProc(ProcEventInfo& eventInfo)
{
SpellInfo const* spellInfo = eventInfo.GetHealInfo()->GetSpellInfo();
if (!spellInfo || !spellInfo->HasEffect(SPELL_EFFECT_HEAL))
return false;
return eventInfo.GetHealInfo() && eventInfo.GetHealInfo()->GetHeal() > 0;
}