mirror of
https://github.com/Refactorio/RedMew.git
synced 2025-01-18 03:21:47 +02:00
Updated strike cost
The strike count and cost described by the market was correct but the actual number of capsules sent and the number of capsules removed from the chest was wrong. Bug due to starting index, have now updated the maths to be correct. Tested and the market description, number of shots fired and the number of capsules removed from the chest are now correct.
This commit is contained in:
parent
52b5face58
commit
b3a0665566
@ -219,7 +219,7 @@ local function strike(args, player)
|
||||
end
|
||||
|
||||
local radius = 5+(radius_level*3)
|
||||
local count = (count_level-1)*5+3
|
||||
local count = (count_level-2)*5+3
|
||||
local strikeCost = count * 4 -- the number of poison-capsules required in the chest as payment
|
||||
|
||||
-- parse GPS coordinates from map ping
|
||||
|
Loading…
Reference in New Issue
Block a user