mirror of
https://github.com/ComfyFactory/ComfyFactorio.git
synced 2024-12-26 22:56:43 +02:00
shaman fix
This commit is contained in:
parent
4ded92482b
commit
d5c40d6cd1
@ -85,6 +85,10 @@ function Public.class_update_auxiliary_data(tick_interval)
|
||||
local data = class_auxiliary_data[player_index]
|
||||
processed_players[player_index] = true
|
||||
|
||||
if not data.shaman_charge then
|
||||
data.shaman_charge = 0
|
||||
end
|
||||
|
||||
if data.shaman_charge < Balance.shaman_max_charge then
|
||||
-- charge from accumulators
|
||||
local power_need = Balance.shaman_max_charge - data.shaman_charge
|
||||
|
Loading…
Reference in New Issue
Block a user