mirror of
https://github.com/PHIDIAS0303/factorio-mod-PHI.git
synced 2026-02-10 18:12:04 +09:00
.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user