summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-04 12:30:21 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-04 12:30:21 -0300
commit4fdaf4196fa186c4ec29496dae36f7ba0db4b10c (patch)
treea78250c3f77c254565874d4073f54e73d1c82b88 /npc/functions
parent133d8d7c35b98aca5eab52fe811dda9c6d7871f0 (diff)
downloadserverdata-4fdaf4196fa186c4ec29496dae36f7ba0db4b10c.tar.gz
serverdata-4fdaf4196fa186c4ec29496dae36f7ba0db4b10c.tar.bz2
serverdata-4fdaf4196fa186c4ec29496dae36f7ba0db4b10c.tar.xz
serverdata-4fdaf4196fa186c4ec29496dae36f7ba0db4b10c.zip
Revert "Overpower Safety."
I mean, defenders could abuse this. Better make a rule instead. This reverts commit 133d8d7c35b98aca5eab52fe811dda9c6d7871f0.
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt12
1 files changed, 2 insertions, 10 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 50cec28cd..6569e3c75 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -281,11 +281,7 @@ function script HUB_PvP {
if (ispvpmap(.@m$)) {
// Honorable Death
if (.@honor >= 0) {
- // Overpower safety (200%)
- if (.@atk > .@def*3)
- HONOR+=1;
- else
- HONOR+=.@honor;
+ HONOR+=.@honor;
} else {
// Dishonorable... But... Legit?
if (is_bandit(killedrid))
@@ -298,11 +294,7 @@ function script HUB_PvP {
} else {
// Honorable Duel: HONOR +30%
if (.@honor > 0)
- // Overpower safety (200%)
- if (.@atk > .@def*3)
- HONOR+=1;
- else
- HONOR+=max(1, .@honor*3/10);
+ HONOR+=max(1, .@honor*3/10);
else if (.@honor < 0)
HONOR+=1;
// ^ Dishonorable duel, but was a duel!