This commit is contained in:
2024-06-18 20:40:03 +09:00
parent aadf86987c
commit 6ede5d8eca
2 changed files with 25 additions and 49 deletions

View File

@@ -51,7 +51,7 @@ if settings.startup['PHI-PB'].value then
for _, v in pairs(items['bonus']['player_bonus']) do
if v.enabled then
game.players[command.player_index][v.name] = game.players[command.player_index][v.name] + (bonus / 10)
game.players[command.player_index][v.name] = game.players[command.player_index][v.name] + (bonus / 10 * v.value)
end
end