mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
.
This commit is contained in:
@@ -376,7 +376,7 @@ local function handle_input_interfaces()
|
|||||||
count_deduct = v.count
|
count_deduct = v.count
|
||||||
count_add = v.count
|
count_add = v.count
|
||||||
|
|
||||||
elseif v.quality.level > 1 and v.count >= 10 then
|
elseif prototypes.quality[v.quality].level > 1 and v.count >= 10 then
|
||||||
count_deduct = math.floor(v.count / 10)
|
count_deduct = math.floor(v.count / 10)
|
||||||
count_add = count_deduct * (7 + (v.quality.level * 3))
|
count_add = count_deduct * (7 + (v.quality.level * 3))
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user