summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/functions/hub.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 2dc883545..6569e3c75 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -293,9 +293,9 @@ function script HUB_PvP {
// It was a duel!
} else {
// Honorable Duel: HONOR +30%
- if (.@honor)
+ if (.@honor > 0)
HONOR+=max(1, .@honor*3/10);
- else
+ else if (.@honor < 0)
HONOR+=1;
// ^ Dishonorable duel, but was a duel!
}