diff --git a/server/gameserver/netdata.cc b/server/gameserver/netdata.cc index d63009f5..b1198b1a 100644 --- a/server/gameserver/netdata.cc +++ b/server/gameserver/netdata.cc @@ -651,7 +651,7 @@ float BattleDataContext::CalcDmg(Creature* target, IBullet* bullet) DistanceDmgAdditionBuff* spec_buff = (DistanceDmgAdditionBuff*)buff; float distance = owner_.Get()->GetPos().Distance2D2(target->GetPos()); if (distance > spec_buff->distance && spec_buff->distance > 0.00001f) { - dmg_addition += std::max(10.0f, (distance / spec_buff->distance) * spec_buff->add); + dmg_addition += std::min(10.0f, (distance / spec_buff->distance) * spec_buff->add); } else { dmg_addition += spec_buff->min_add; }