summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/honor.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/npc/functions/honor.txt b/npc/functions/honor.txt
index 5ab2e42c8..0d1c0138d 100644
--- a/npc/functions/honor.txt
+++ b/npc/functions/honor.txt
@@ -15,7 +15,16 @@ function script get_BR {
// readbattleparam(.@rid)
// Or rather: battleparam()
if (attachrid(.@rid)) {
- .@br+=BaseLevel;
+ // 1 BR per allocated status point
+ .@br+=battleparam(UDT_STR);
+ .@br+=battleparam(UDT_AGI);
+ .@br+=battleparam(UDT_VIT);
+ .@br+=battleparam(UDT_DEX);
+ .@br+=battleparam(UDT_INT);
+ .@br+=battleparam(UDT_LUK);
+
+ // 6 BR per level
+ .@br+=BaseLevel*6;
} else {
Exception("GET_BR INVALID RID "+.@rid, RB_DEBUGMES|RB_IRCBROADCAST);
}