1
0

Revert "have a slightly lower pivot point to avoid negative values since most resistibility is set to >=.65"

This reverts commit 14b0a118d627a314ecebf3a723b33226a8b14f52.
This commit is contained in:
Emagi 2025-01-14 13:59:24 -05:00
parent 14b0a118d6
commit ff7753528d

View File

@ -807,7 +807,7 @@ int8 Entity::DetermineHit(Spawn* victim, int8 type, int8 damage_type, float ToHi
if(is_caster_spell && lua_spell) { if(is_caster_spell && lua_spell) {
if(lua_spell->spell->GetSpellData()->resistibility > 0) { if(lua_spell->spell->GetSpellData()->resistibility > 0) {
float pivot = 0.6f; // Central resistibility point (we seem to have .65 - .75 for our resistability usually) float pivot = 0.7f; // Central resistibility point (we seem to have .65 - .75 for our resistability usually)
float scale_factor = 2.0f; // steepness control float scale_factor = 2.0f; // steepness control
// Clamps to avoid extreme values // Clamps to avoid extreme values