diff options
| author | MaxtorCoder <warsongkiller.s8@gmail.com> | 2024-03-13 21:16:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-13 21:16:18 +0100 |
| commit | cfc9cc9ec285e7934f3160047ff87be3c649594f (patch) | |
| tree | be680d4f88fac55274862251c349c644a5d90930 /src/server/scripts/Spells | |
| parent | 46d929cb82b631648ef4a84e75ca7bc174a03fdd (diff) | |
Core/PacketIO: Update to 4.4.0.53627 (#29805)
* Core/PacketIO: Update to 4.4.0.53627
* Core/IO: Remove duplicate declaration of PetSpellDataID
* Core/IO: Assign STATUS_UNHANDLED to some azerite packets
Diffstat (limited to 'src/server/scripts/Spells')
| -rw-r--r-- | src/server/scripts/Spells/spell_warlock.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/scripts/Spells/spell_warlock.cpp b/src/server/scripts/Spells/spell_warlock.cpp index 2b131d686f2..a13eaa70265 100644 --- a/src/server/scripts/Spells/spell_warlock.cpp +++ b/src/server/scripts/Spells/spell_warlock.cpp @@ -158,9 +158,10 @@ class spell_warl_chaos_bolt : public SpellScript return GetCaster()->GetTypeId() == TYPEID_PLAYER; } + // @TODO: Fix for 4.4.0 void HandleDummy(SpellEffIndex /*effIndex*/) { - SetHitDamage(GetHitDamage() + CalculatePct(GetHitDamage(), GetCaster()->ToPlayer()->m_activePlayerData->SpellCritPercentage)); + SetHitDamage(GetHitDamage() + CalculatePct(GetHitDamage(), GetCaster()->ToPlayer()->m_activePlayerData->SpellCritPercentage[0])); } void CalcCritChance(Unit const* /*victim*/, float& critChance) |
