mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 10:26:28 +01:00
Scripts/BWD: fixed a possible edge case in which Maloriak's Consuming Flames could get increased when taking damage from non damage class magic attacks
This commit is contained in:
@@ -943,7 +943,7 @@ class spell_maloriak_consuming_flames: public AuraScript
|
||||
{
|
||||
bool CheckProc(ProcEventInfo& eventInfo)
|
||||
{
|
||||
if (eventInfo.GetSpellInfo() && eventInfo.GetSpellInfo()->Id == GetId())
|
||||
if (!eventInfo.GetSpellInfo() || eventInfo.GetSpellInfo()->DmgClass != SPELL_DAMAGE_CLASS_MAGIC || eventInfo.GetSpellInfo()->Id == GetId())
|
||||
return false;
|
||||
|
||||
return eventInfo.GetDamageInfo();
|
||||
|
||||
Reference in New Issue
Block a user