Helix icon indicating copy to clipboard operation
Helix copied to clipboard

Accumulate virus rewards gradually when hardware changes

Open renatomassaro opened this issue 7 years ago • 1 comments

Just a brainstorm I was having earlier today:

If hardware changes, or anything that affects the virus reward upon collect:

  • Save the amount the virus would rewarded if collected now

When collecting:

  • Check if there are accumulated rewards saved on DB.
  • If so, sum all of them and get the last accumulation date.
  • Add to that the reward of (now() - last_accumulation_date)

renatomassaro avatar Oct 18 '17 14:10 renatomassaro

Actually this behaviour is quite similar to the one used on Process.Scheduler (with the last_checkpoint thing)

renatomassaro avatar Oct 27 '17 18:10 renatomassaro