mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-31 04:51:40 +09:00
.
This commit is contained in:
@@ -104,10 +104,7 @@ local function apply_periodic_bonus(player)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function bonus_score_limit_calc(player)
|
local function bonus_score_limit_calc(player)
|
||||||
game.print(Roles.get_player_highest_role(player).index)
|
return math.floor(config.pts.base * (1 + config.pts.increase_percentage_per_role_level * (Roles.get_role_by_name(config.pts.role_name).index - 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
|
end
|
||||||
|
|
||||||
--- Control label for the bonus points available
|
--- Control label for the bonus points available
|
||||||
|
|||||||
Reference in New Issue
Block a user