diff options
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r-- | npc/functions/hub.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt index 7263037f7..9fc9c9876 100644 --- a/npc/functions/hub.txt +++ b/npc/functions/hub.txt @@ -260,8 +260,12 @@ function script HUB_PvP { // Prepare local variables .@atk=get_BR(getcharid(3)); .@def=get_BR(killedrid); + .@honor=calc_HR(.@atk, .@def); .@m$=getmap(); + if (ispvpmap(.@m$)) { + } + // TODO: Start using readparam2() to read if the opponent was worthy // That is, read total attack, defense, HP, evasion and hit chance // And compare with your own readparam2(), then use a % and a table |