diff options
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/honor.txt | 9 | ||||
-rw-r--r-- | npc/functions/scoreboards.txt | 2 |
2 files changed, 9 insertions, 2 deletions
diff --git a/npc/functions/honor.txt b/npc/functions/honor.txt index 8ebe86cd8..97a79a31c 100644 --- a/npc/functions/honor.txt +++ b/npc/functions/honor.txt @@ -25,6 +25,10 @@ function script get_BR { // 6 BR per level .@br+=BaseLevel*6; + + // 1 BR for 5 DMG points (average) + .@br+=(battleparam(UDT_ATKMIN)+battleparam(UDT_ATKMAX))/5; + .@br+=battleparam(UDT_MATKMAX)/5; } else { Exception("GET_BR INVALID RID "+.@rid, RB_DEBUGMES|RB_IRCBROADCAST); } @@ -50,10 +54,11 @@ function script calc_HR { // Dishonorable: You used maxop above cbase // Maybe we should use level difference? + // FIXME if (.@overpower > .@cbase+.@maxop) { - .@honor=-(0); + .@honor=-(BaseLevel/4); } else { - .@honor=0; + .@honor=BaseLevel/4; } return .@honor; diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index 86bccdd86..eab2a0514 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -227,6 +227,8 @@ function script HallOfUDT { function script HallOfHonor { mes ""; mes l("##BHall Of Honor: TOP 10##b"); + mesc l("WARNING: This is experimental!!"), 1; + mesc l("We may delete all entries and change formulas in the future."), 1; mes("1."+$@hof_name$[0]+" ("+$@hof_value[0]+")"); mes("2."+$@hof_name$[1]+" ("+$@hof_value[1]+")"); mes("3."+$@hof_name$[2]+" ("+$@hof_value[2]+")"); |