mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
.
This commit is contained in:
@@ -104,6 +104,9 @@ local function apply_periodic_bonus(player)
|
||||
end
|
||||
|
||||
local function bonus_score_limit_calc(player)
|
||||
game.print(Roles.get_player_highest_role(player).index)
|
||||
game.print(Roles.get_role_by_name(config.pts.role_name).index)
|
||||
|
||||
return math.floor(config.pts.base * (1 + config.pts.increase_percentage_per_role_level * (Roles.get_player_highest_role(player).index - Roles.get_role_by_name(config.pts.role_name).index)))
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user