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:
2
orbs.cpp
2
orbs.cpp
@@ -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) {
|
||||
|
Reference in New Issue
Block a user