Module:MinerList: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(xp per hour when dropping deathstone doesnt work as you need to get more explosives anyway)
m (miscalculating resources per hour from duration and respawn)
 
Line 92: Line 92:
--products per hour
--products per hour
item.batch = 24
item.batch = 24
item.durationEffective = item.respawn and item.respawn / item.nodes
item.durationEffective = item.duration and item.respawn and (item.duration + item.respawn) / item.nodes
item.productPerHour = item.durationEffective and math.floor(1 / (item.durationEffective + item.downtime / item.batch) * 3600)
item.productPerHour = item.durationEffective and math.floor(1 / (item.durationEffective + item.downtime / item.batch) * 3600)
item.productPerHourDropping = item.durationEffective and 1 / (item.durationEffective) * 3600
item.productPerHourDropping = item.durationEffective and 1 / (item.durationEffective) * 3600