mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-05-08 08:11:21 +00:00
after 3 illegal moves, provide some suggestions regarding possible skip-moves and Orb uses
This commit is contained in:
@@ -517,7 +517,10 @@ EX void shoot() {
|
||||
gen_bowpath_map();
|
||||
}
|
||||
|
||||
EX bool have_bow_target() {
|
||||
EX cell *have_bow_target() {
|
||||
if(!bow::crossbow_mode()) return nullptr;
|
||||
if(items[itCrossbow]) return nullptr;
|
||||
|
||||
dynamicval<decltype(bowpath)> bp(bowpath);
|
||||
dynamicval<decltype(bowpath_map)> bpm(bowpath_map);
|
||||
|
||||
@@ -536,9 +539,9 @@ EX bool have_bow_target() {
|
||||
bool b = pcm.try_shooting(false);
|
||||
changes.rollback();
|
||||
|
||||
if(b) return true;
|
||||
if(b) return c;
|
||||
}
|
||||
return false;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
EX void showMenu() {
|
||||
|
||||
Reference in New Issue
Block a user