1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-26 22:56:43 +02:00

Mtn v3 - fix character_reach_distance_bonus uint convert

This commit is contained in:
Gerkiz 2023-10-09 19:27:59 +02:00
parent edf6fdc771
commit 341604a356

View File

@ -563,6 +563,10 @@ local function apply_buffs(starting_items)
if buff then
if buff.modifier == 'rpg_distance' then
for _, buff_name in pairs(buff.modifiers) do
if buff_name == 'character_reach_distance_bonus' then
buff.state = 1
end
force[buff_name] = force[buff_name] + buff.state
if not this.buffs_collected[buff_name] then