diff options
| author | ccrs <ccrs@users.noreply.github.com> | 2019-01-14 07:07:06 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2021-11-21 19:28:17 +0100 |
| commit | a8ec1ba9bc2d6d24407670159a765099f2a3004d (patch) | |
| tree | 55ecde4fd735bb46524aed60f973429e8739fb19 /src/server/scripts | |
| parent | de8e1a4820ec5b3523209f89e7519e27b53060e2 (diff) | |
Core/Unit: rename & cleanup GetCreatePowers
it hurted my eyes too much
(cherry picked from commit 954fd2639a5745c8f5165f329f64a143c6ffc5f7)
Diffstat (limited to 'src/server/scripts')
| -rw-r--r-- | src/server/scripts/Spells/spell_druid.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_druid.cpp b/src/server/scripts/Spells/spell_druid.cpp index 5e068be5a77..ad82af77549 100644 --- a/src/server/scripts/Spells/spell_druid.cpp +++ b/src/server/scripts/Spells/spell_druid.cpp @@ -777,7 +777,7 @@ public: } if (Unit* caster = GetCaster()) - amount = int32(CalculatePct(caster->GetCreatePowers(POWER_MANA), amount) / aurEff->GetTotalTicks()); + amount = int32(CalculatePct(caster->GetCreatePowerValue(POWER_MANA), amount) / aurEff->GetTotalTicks()); else amount = 0; } |
