mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-16 05:14:06 +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);
|
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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user