Core/Spells: Define all spell modifier types and implement ProcCooldown mod and PeriodicHealingAndDamage for melee periodic damage

Port From (https://github.com/TrinityCore/TrinityCore/commit/6585666e6e34ade0333e4c23876acdf847d169c0)
This commit is contained in:
hondacrx
2021-03-17 18:52:59 -04:00
parent f667df1b11
commit 4568cdad48
16 changed files with 168 additions and 158 deletions
+1 -1
View File
@@ -352,7 +352,7 @@ namespace Game.Combat
Player modOwner = hatedUnit.GetSpellModOwner();
if (modOwner != null)
modOwner.ApplySpellMod(threatSpell, SpellModOp.Threat, ref threat);
modOwner.ApplySpellMod(threatSpell, SpellModOp.Hate, ref threat);
}
return hatedUnit.ApplyTotalThreatModifier(threat, schoolMask);