1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-21 08:57:39 +00:00

auto-charged teleport in bounded minefield

This commit is contained in:
Zeno Rogue
2019-04-10 02:33:54 +02:00
parent 5e9a54129b
commit 14b32ced68
4 changed files with 10 additions and 0 deletions

View File

@@ -79,6 +79,7 @@ bool reduceOrbPower(eItem it, int cap) {
return true;
}
if(items[it] > cap && timerghost) items[it] = cap;
auto_teleport_charges();
return false;
}
@@ -571,6 +572,7 @@ void teleportTo(cell *dest) {
checkmoveO();
movecost(from, dest, 2);
auto_teleport_charges();
}
void jumpTo(cell *dest, eItem byWhat, int bonuskill, eMonster dashmon) {