diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 6569e3c75..50cec28cd 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -281,7 +281,11 @@ function script HUB_PvP { if (ispvpmap(.@m$)) { // Honorable Death if (.@honor >= 0) { - HONOR+=.@honor; + // Overpower safety (200%) + if (.@atk > .@def*3) + HONOR+=1; + else + HONOR+=.@honor; } else { // Dishonorable... But... Legit? if (is_bandit(killedrid)) @@ -294,7 +298,11 @@ function script HUB_PvP { } else { // Honorable Duel: HONOR +30% if (.@honor > 0) - HONOR+=max(1, .@honor*3/10); + // Overpower safety (200%) + if (.@atk > .@def*3) + HONOR+=1; + else + HONOR+=max(1, .@honor*3/10); else if (.@honor < 0) HONOR+=1; // ^ Dishonorable duel, but was a duel! |