1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

Black Lotus achievements were awarded incorrectly in the OSM

This commit is contained in:
Zeno Rogue 2017-08-14 20:38:17 +02:00
parent 602ea1801e
commit 41c4d8361b

View File

@ -5550,9 +5550,9 @@ void movecost(cell* from, cell *to) {
if(isHaunted(from->land) && !isHaunted(to->land)) {
updateHi(itLotus, truelotus = items[itLotus]);
if(items[itLotus] >= 1) achievement_gain("LOTUS1");
if(items[itLotus] >= 10) achievement_gain("LOTUS2");
if(items[itLotus] >= 25) achievement_gain("LOTUS3");
if(items[itLotus] >= 50) achievement_gain("LOTUS4");
if(items[itLotus] >= (inv::on ? 25 : 10)) achievement_gain("LOTUS2");
if(items[itLotus] >= (inv::on ? 50 : 25)) achievement_gain("LOTUS3");
if(items[itLotus] >= 50 && !inv::on) achievement_gain("LOTUS4");
achievement_final(false);
}