diff options
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_druid.cpp | 2 | ||||
| -rw-r--r-- | src/server/scripts/Spells/spell_rogue.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index ca643de8db7..760dbb40c73 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -961,7 +961,7 @@ class spell_dru_rip : public AuraScript if (Unit* caster = GetCaster()) { // 0.01 * $AP * cp - uint32 cp = caster->ToPlayer()->GetComboPoints(); + int32 cp = caster->GetPower(POWER_COMBO_POINTS); // Idol of Feral Shadows. Can't be handled as SpellMod due its dependency from CPs if (AuraEffect const* auraEffIdolOfFeralShadows = caster->GetAuraEffect(SPELL_DRUID_IDOL_OF_FERAL_SHADOWS, EFFECT_0)) diff --git a/src/server/scripts/Spells/spell_rogue.cpp b/src/server/scripts/Spells/spell_rogue.cpp index 808dbc89ab0..dc724340f64 100644 --- a/src/server/scripts/Spells/spell_rogue.cpp +++ b/src/server/scripts/Spells/spell_rogue.cpp @@ -596,7 +596,7 @@ class spell_rog_rupture : public AuraScript 0.0375f // 5 points: ${($m1 + $b1*5 + 0.0375 * $AP) * 8} damage over 16 secs }; - uint32 cp = caster->GetComboPoints(); + int32 cp = caster->GetPower(POWER_COMBO_POINTS); if (cp > 5) cp = 5; |
