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