From a9b7c07f9344e85e68456986d0acfe5848c40afa Mon Sep 17 00:00:00 2001 From: Eduardo Dantas Date: Sat, 21 Dec 2024 00:18:39 -0300 Subject: [PATCH] fix: factor value for distance weapons --- src/items/weapons/weapons.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/items/weapons/weapons.cpp b/src/items/weapons/weapons.cpp index 5181ae6dff4..b9b3966adf6 100644 --- a/src/items/weapons/weapons.cpp +++ b/src/items/weapons/weapons.cpp @@ -932,7 +932,7 @@ int32_t WeaponDistance::getWeaponDamage(const std::shared_ptr &player, c const float attackFactor = player->getAttackFactor(); int32_t minValue = player->getLevel() / 5; - int32_t maxValue = std::round((0.09f * attackFactor) * attackSkill * attackValue + minValue); + int32_t maxValue = std::round((3.0f * attackFactor) * attackSkill * attackValue + minValue); if (maxDamage) { return -maxValue; }