summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-04 12:19:54 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-04 12:19:54 -0300
commit7ad63bedb74759ec9a162b451455d2955d4e3823 (patch)
treef9817fde589f89458f2bb5817364a67ec6855bca /npc/functions/hub.txt
parentaa8f332bc192afda8cbb4785ebdfa685e86c1292 (diff)
downloadserverdata-7ad63bedb74759ec9a162b451455d2955d4e3823.tar.gz
serverdata-7ad63bedb74759ec9a162b451455d2955d4e3823.tar.bz2
serverdata-7ad63bedb74759ec9a162b451455d2955d4e3823.tar.xz
serverdata-7ad63bedb74759ec9a162b451455d2955d4e3823.zip
Overpower is now based on level instead of BR. But the 30% rule still applies
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index d95a18c0d..046eb7f40 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -270,7 +270,7 @@ function script HUB_PvP {
// Prepare local variables
.@atk=get_BR(getcharid(3));
.@def=get_BR(killedrid);
- .@honor=calc_HR(.@atk, .@def);
+ .@honor=calc_HR(getcharid(3), killedrid);
.@m$=getmap();
// This is an official PVP Map