Core/Spells: Removed old combo point code leftovers

Port From (https://github.com/TrinityCore/TrinityCore/commit/197d4369c894e9b088f862c7189f4fe20b4836ca)
This commit is contained in:
hondacrx
2023-09-12 18:08:48 -04:00
parent 913cfa0fbd
commit 44e79ec8ea
8 changed files with 10 additions and 101 deletions
+1 -6
View File
@@ -548,11 +548,6 @@ namespace Game.Spells
return IsChanneled() && !ChannelInterruptFlags.HasFlag(SpellAuraInterruptFlags.Moving | SpellAuraInterruptFlags.Turning);
}
public bool NeedsComboPoints()
{
return HasAttribute(SpellAttr1.FinishingMoveDamage | SpellAttr1.FinishingMoveDuration);
}
public bool IsNextMeleeSwingSpell()
{
return HasAttribute(SpellAttr0.OnNextSwingNoDamage | SpellAttr0.OnNextSwing);
@@ -4193,7 +4188,7 @@ namespace Game.Spells
// bonus amount from combo points
if (comboDamage != 0)
{
uint comboPoints = casterUnit.GetComboPoints();
int comboPoints = casterUnit.GetPower(PowerType.ComboPoints);
if (comboPoints != 0)
value += comboDamage * comboPoints;
}