From 14b0a118d627a314ecebf3a723b33226a8b14f52 Mon Sep 17 00:00:00 2001 From: Emagi Date: Tue, 14 Jan 2025 13:57:01 -0500 Subject: [PATCH] have a slightly lower pivot point to avoid negative values since most resistibility is set to >=.65 --- 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 85d799f..46228aa 100644 --- a/source/WorldServer/Combat.cpp +++ b/source/WorldServer/Combat.cpp @@ -807,7 +807,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.7f; // Central resistibility point (we seem to have .65 - .75 for our resistability usually) + float pivot = 0.6f; // Central resistibility point (we seem to have .65 - .75 for our resistability usually) float scale_factor = 2.0f; // steepness control // Clamps to avoid extreme values