mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-11-09 10:14:16 +00:00
giant frogs are now allowed to jump 1 cell
This commit is contained in:
@@ -535,8 +535,9 @@ EX bool passable_for(eMonster m, cell *w, cell *from, flagtype extra) {
|
|||||||
}
|
}
|
||||||
return !pseudohept(w) && passable(w, from, extra);
|
return !pseudohept(w) && passable(w, from, extra);
|
||||||
}
|
}
|
||||||
if(m == moFrog)
|
if(m == moFrog) {
|
||||||
return (!from || from == w) ? passable(w, from, extra) : check_jump(from, w, extra, dummy) == 3;
|
return isNeighbor1(from, w) ? passable(w, from, extra) : check_jump(from, w, extra, dummy) == 3;
|
||||||
|
}
|
||||||
if(m == moPhaser)
|
if(m == moPhaser)
|
||||||
return isNeighbor1(from, w) ? passable(w, from, extra) : check_phase(from, w, extra, dummy) == 3;
|
return isNeighbor1(from, w) ? passable(w, from, extra) : check_phase(from, w, extra, dummy) == 3;
|
||||||
if(m == moVaulter)
|
if(m == moVaulter)
|
||||||
|
|||||||
Reference in New Issue
Block a user