Core/Spells: Removed old combo point code leftovers
Port From (https://github.com/TrinityCore/TrinityCore/commit/197d4369c894e9b088f862c7189f4fe20b4836ca)
This commit is contained in:
@@ -876,7 +876,7 @@ namespace Scripts.Spells.Druid
|
||||
if (caster != null)
|
||||
{
|
||||
// 0.01 * $AP * cp
|
||||
byte cp = (byte)caster.ToPlayer().GetComboPoints();
|
||||
int cp = caster.GetPower(PowerType.ComboPoints);
|
||||
|
||||
// Idol of Feral Shadows. Can't be handled as SpellMod due its dependency from CPs
|
||||
AuraEffect idol = caster.GetAuraEffect(SpellIds.IdolOfFeralShadows, 0);
|
||||
|
||||
@@ -551,7 +551,7 @@ namespace Scripts.Spells.Rogue
|
||||
0.0375f // 5 points: ${($m1 + $b1*5 + 0.0375 * $AP) * 8} damage over 16 secs
|
||||
};
|
||||
|
||||
uint cp = caster.GetComboPoints();
|
||||
int cp = caster.GetPower(PowerType.ComboPoints);
|
||||
if (cp > 5)
|
||||
cp = 5;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user