Core/Spells: ported and improved SPELL_AURA_OVERRIDE_SPELL_POWER_BY_AP_PCT handling
This commit is contained in:
1 parent
0d2df3288e
commit
e1246f5c86
5 files changed
+48
-14
No files matched your search
@@ -2923,6 +2923,7 @@ void Player::InitStatsForLevel(bool reapplyMods)
|
||||
|
||||
SetFloatValue(PLAYER_FIELD_MOD_SPELL_POWER_PCT, 1.0f);
|
||||
SetFloatValue(PLAYER_FIELD_MOD_HASTE_REGEN, 1.0f);
|
||||
SetFloatValue(PLAYER_FIELD_OVERRIDE_SPELL_POWER_BY_AP_PCT, 0.0f);
|
||||
|
||||
//reset attack power, damage and attack speed fields
|
||||
SetFloatValue(UNIT_FIELD_BASEATTACKTIME, 2000.0f);
|
||||
|
||||
Reference in new issue
Block a user