Core: Updated to 11.2.7

This commit is contained in:
Shauren
2025-12-16 00:09:26 +01:00
parent af57aa29dc
commit bd2b12fa36
73 changed files with 6621 additions and 3091 deletions
+5 -2
View File
@@ -597,6 +597,7 @@ float const m_diminishing_k[MAX_CLASSES] =
0.9830f, // Demon Hunter
0.9880f, // Evoker
1.0f, // Adventurer
1.0f, // Traveler
};
// helper function
@@ -622,7 +623,7 @@ float CalculateDiminishingReturns(float const (&capArray)[MAX_CLASSES], uint8 pl
return result;
}
float const parry_cap[MAX_CLASSES] =
constexpr float parry_cap[MAX_CLASSES] =
{
65.631440f, // Warrior
65.631440f, // Paladin
@@ -638,6 +639,7 @@ float const parry_cap[MAX_CLASSES] =
65.631440f, // Demon Hunter
0.0f, // Evoker
0.0f, // Adventurer
0.0f, // Traveler
};
void Player::UpdateParryPercentage()
@@ -663,7 +665,7 @@ void Player::UpdateParryPercentage()
SetUpdateFieldStatValue(m_values.ModifyValue(&Player::m_activePlayerData).ModifyValue(&UF::ActivePlayerData::ParryPercentage), value);
}
float const dodge_cap[MAX_CLASSES] =
constexpr float dodge_cap[MAX_CLASSES] =
{
65.631440f, // Warrior
65.631440f, // Paladin
@@ -679,6 +681,7 @@ float const dodge_cap[MAX_CLASSES] =
145.560408f, // Demon Hunter
145.560408f, // Evoker
0.0f, // Adventurer
0.0f, // Traveler
};
void Player::UpdateDodgePercentage()