Scripts/BWD: Maloriak's Consuming Flames will no longer deal increased damage from its own damage

This commit is contained in:
Ovahlord
2020-09-12 00:27:18 +02:00
parent 5327dde2a8
commit abfd6f02f7

View File

@@ -943,7 +943,10 @@ class spell_maloriak_consuming_flames: public AuraScript
{
bool CheckProc(ProcEventInfo& eventInfo)
{
return eventInfo.GetSpellInfo() && eventInfo.GetDamageInfo();
if (eventInfo.GetSpellInfo() && eventInfo.GetSpellInfo()->Id == GetId())
return false;
return eventInfo.GetDamageInfo();
}
void HandleProc(AuraEffect const* /*aurEff*/, ProcEventInfo& eventInfo)