From d775c1ece591e482dff765a115acf82606e5caf6 Mon Sep 17 00:00:00 2001 From: Emagi Date: Tue, 14 Jan 2025 14:56:53 -0500 Subject: [PATCH] be a bit more generous on the scale factor --- source/WorldServer/Combat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/WorldServer/Combat.cpp b/source/WorldServer/Combat.cpp index 46876c6..a9c6dd0 100644 --- a/source/WorldServer/Combat.cpp +++ b/source/WorldServer/Combat.cpp @@ -808,7 +808,7 @@ int8 Entity::DetermineHit(Spawn* victim, int8 type, int8 damage_type, float ToHi if(is_caster_spell && lua_spell) { 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 scale_factor = 2.0f; // steepness control + float scale_factor = 1.25f; // steepness control // Clamps to avoid extreme values float resistibility = std::clamp(lua_spell->spell->GetSpellData()->resistibility, 0.0f, 1.0f);