From eeddc2b65af76b45001768133ed14d9ab94583b7 Mon Sep 17 00:00:00 2001 From: fusion32 Date: Tue, 6 Jan 2026 06:17:27 -0300 Subject: fix condition for PVP_ENFORCED exp distribution (#50) --- src/crcombat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/crcombat.cc') diff --git a/src/crcombat.cc b/src/crcombat.cc index c50f028..98d689a 100644 --- a/src/crcombat.cc +++ b/src/crcombat.cc @@ -919,7 +919,7 @@ void TCombat::DistributeExperiencePoints(uint32 Exp){ int MasterLevel = Master->Skills[SKILL_LEVEL]->Get(); int AttackerLevel = Attacker->Skills[SKILL_LEVEL]->Get(); int MaxLevel = (MasterLevel * 11) / 10; - if(AttackerLevel <= MaxLevel){ + if(AttackerLevel >= MaxLevel){ continue; } -- cgit v1.2.3