mirror of
https://github.com/azerothcore/azerothcore-wotlk.git
synced 2026-01-27 14:52:26 -08:00
fix(Scripts/DK): fix math after removal of a general function in spell_group pr (#24064)
This commit is contained in:
parent
34f261b92c
commit
9cfbb48520
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ class spell_dk_raise_ally : public SpellScript
|
|||
|
||||
// DK Ghoul haste refresh
|
||||
float val = (GetCaster()->m_modAttackSpeedPct[BASE_ATTACK] - 1.0f) * 100.0f;
|
||||
val *= 2000.0f + 2000.0f * ((100.0f + val) / 100.0f);
|
||||
val = 2000.0f * (100.0f + val) / 100.0f;
|
||||
ghoul->m_modAttackSpeedPct[BASE_ATTACK] = GetCaster()->m_modAttackSpeedPct[BASE_ATTACK];
|
||||
ghoul->SetFloatValue(UNIT_FIELD_BASEATTACKTIME, val);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue