diff options
| author | fusion32 <marcopuzziello@gmail.com> | 2026-01-06 06:17:27 -0300 |
|---|---|---|
| committer | fusion32 <marcopuzziello@gmail.com> | 2026-01-06 06:18:27 -0300 |
| commit | eeddc2b65af76b45001768133ed14d9ab94583b7 (patch) | |
| tree | 335b1ad5a06f13304de595d0fc281d5e61765062 /src/crcombat.cc | |
| parent | 8222b2412494738a2ea8a6facdee883521394077 (diff) | |
| download | game-eeddc2b65af76b45001768133ed14d9ab94583b7.tar.gz game-eeddc2b65af76b45001768133ed14d9ab94583b7.zip | |
fix condition for PVP_ENFORCED exp distribution (#50)
Diffstat (limited to 'src/crcombat.cc')
| -rw-r--r-- | src/crcombat.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
