diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-22 23:19:13 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-22 23:19:13 -0300 |
commit | 790e9c80f391a3cb394ec77c911b3d112ae28bc0 (patch) | |
tree | 5294945da04f84d72c5ae80cd12d9298715d752a /npc/functions/honor.txt | |
parent | 7e2bf74ba8a0c7bf5529c001777579799617c9c4 (diff) | |
download | serverdata-790e9c80f391a3cb394ec77c911b3d112ae28bc0.tar.gz serverdata-790e9c80f391a3cb394ec77c911b3d112ae28bc0.tar.bz2 serverdata-790e9c80f391a3cb394ec77c911b3d112ae28bc0.tar.xz serverdata-790e9c80f391a3cb394ec77c911b3d112ae28bc0.zip |
Start making battle rating in something remotely useful
Diffstat (limited to 'npc/functions/honor.txt')
-rw-r--r-- | npc/functions/honor.txt | 11 |
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); } |