diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-01-23 21:42:59 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-01-23 21:42:59 -0300 |
commit | 76359f9526f426243a09df520ace1c7fb0fe6ada (patch) | |
tree | 8270cb8b737259ebbb71fecae558f14501a35605 /npc/functions/honor.txt | |
parent | 5147ff2436d787c511009c4b31f468dc26b9b089 (diff) | |
download | serverdata-76359f9526f426243a09df520ace1c7fb0fe6ada.tar.gz serverdata-76359f9526f426243a09df520ace1c7fb0fe6ada.tar.bz2 serverdata-76359f9526f426243a09df520ace1c7fb0fe6ada.tar.xz serverdata-76359f9526f426243a09df520ace1c7fb0fe6ada.zip |
Okay this will do as a fake BR formula
Diffstat (limited to 'npc/functions/honor.txt')
-rw-r--r-- | npc/functions/honor.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/functions/honor.txt b/npc/functions/honor.txt index 97a79a31c..3b470bf63 100644 --- a/npc/functions/honor.txt +++ b/npc/functions/honor.txt @@ -29,6 +29,13 @@ function script get_BR { // 1 BR for 5 DMG points (average) .@br+=(battleparam(UDT_ATKMIN)+battleparam(UDT_ATKMAX))/5; .@br+=battleparam(UDT_MATKMAX)/5; + + // 8 BR for each attack range + .@br+=battleparam(UDT_ATKRANGE)*8; + + // 1 BR for 10 DEF points + .@br+=battleparam(UDT_DEF)/10; + .@br+=battleparam(UDT_MDEF)/10; } else { Exception("GET_BR INVALID RID "+.@rid, RB_DEBUGMES|RB_IRCBROADCAST); } |