Closed puremana closed 1 year ago
I think everything is fixed again. Turns out just needed to run below again.
Player.where("overall_ehp > 250 OR player_name IN #{Player.sql_supporters}").find_in_batches(batch_size: 25) do |batch|
batch.each do |player|
begin
player.recalculate_ehp
rescue
next
end
end
end
Weekly, monthly gains are update are now negative due to losing ehp from update