summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-23 21:56:06 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-23 21:56:06 -0300
commit215e4c40b3c08bbce484bccfc1c31538774d48dc (patch)
tree0717feb93b0ea639f72937eecae596a2114be1df /npc/functions/hub.txt
parent13271142c7bb7e47e43a236694e8187e6cef4ad9 (diff)
downloadserverdata-215e4c40b3c08bbce484bccfc1c31538774d48dc.tar.gz
serverdata-215e4c40b3c08bbce484bccfc1c31538774d48dc.tar.bz2
serverdata-215e4c40b3c08bbce484bccfc1c31538774d48dc.tar.xz
serverdata-215e4c40b3c08bbce484bccfc1c31538774d48dc.zip
Report about honor
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 6bcda9ccb..eadbb949f 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -286,6 +286,9 @@ function script HUB_PvP {
// ^ Dishonorable duel, but was a duel!
}
+ // Report about honor
+ dispbottom l("%d vs %d: Honor (%d)", .@atk, .@def, .@honor);
+
// 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