1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-18 23:47:40 +00:00

the cost of leaving Land of Power now happens before collecting items

This commit is contained in:
Zeno Rogue
2018-08-01 14:04:47 +02:00
parent f1250a677d
commit 508cecb3b3
4 changed files with 25 additions and 16 deletions

View File

@@ -1713,7 +1713,7 @@ void movePlayer(monster *m, int delta) {
items[itOrbAether] = 0;
addMessage(XLAT("Your Aether powers are drained by %the1!", c2->wall));
}
movecost(m->base, c2);
movecost(m->base, c2, 1);
bool nomine = (c2->wall == waMineMine || c2->wall == waMineUnknown) && markOrb(itOrbAether);
@@ -1743,6 +1743,7 @@ void movePlayer(monster *m, int delta) {
if(c2->item == itOrbYendor && !peace::on) yendor::check(c2);
collectItem(c2);
movecost(m->base, c2, 2);
}
}