mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +00:00
when setting Elemental Wall as cheat destination, Elemental Wall itself is no longer picked
This commit is contained in:
parent
320aac6b9a
commit
622bb9e5f7
@ -379,7 +379,7 @@ EX eLand getNewLand(eLand old) {
|
|||||||
eLand l = callhandlers(laNone, hooks_nextland, old);
|
eLand l = callhandlers(laNone, hooks_nextland, old);
|
||||||
if(l) return l;
|
if(l) return l;
|
||||||
|
|
||||||
if(cheatdest != old) if(!isCyclic(cheatdest) && !isTechnicalLand(cheatdest)) return cheatdest;
|
if(cheatdest != old && cheatdest != laElementalWall) if(!isCyclic(cheatdest) && !isTechnicalLand(cheatdest)) return cheatdest;
|
||||||
|
|
||||||
if(old == laTortoise) return laDragon;
|
if(old == laTortoise) return laDragon;
|
||||||
|
|
||||||
@ -425,9 +425,9 @@ EX eLand getNewLand(eLand old) {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
if(tactic::on) return specialland;
|
if(tactic::on) return specialland;
|
||||||
if(specialland != old && easy_to_find_specialland) return specialland;
|
if(specialland != old && easy_to_find_specialland && specialland != laElementalWall) return specialland;
|
||||||
|
|
||||||
if(specialland != old && easy_specialland) {
|
if(specialland != old && easy_specialland && specialland != laElementalWall) {
|
||||||
easy_specialland--;
|
easy_specialland--;
|
||||||
return specialland;
|
return specialland;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user