jinrou
jinrou copied to clipboard
fix: special jobs losts discount on prize counter
If I didn't get you wrong, you intends to give those special jobs a discount on prize counter in this block and this win_sample.csv.
However, former RegExp makes res[2]
always unavailable.
By merging this PR, players would
- gain prize of special jobs explosively,
- must set their
.nowprize
again before their "nowprize" could display properly.
Or we might need a tool/repair10.js
to repair player.prize
and player.nowprize
in DB, during the server shut down.
Ehhhhhhh..... what....... oh....
Thanks anyway........
Yes, repair10.js
seems the best way to go, but let me consider whether we can do that.
That would be not impossible.
- Deal win.csv and lose.csv with new and old
loadTable()
, and find the differences. - Traversal
db.users
to replaceuser.prize
anduser.nowprize
items with correct ones. I think.
Yeah... I think I can try. Anyway let me handle this during March 🙂 February release will come soon.