giant frogs are now allowed to jump 1 cell

This commit is contained in:
Zeno Rogue
2020-03-07 04:47:10 +01:00
parent 0c6b9aa696
commit 06e9808eb4
+3 -2
View File
@@ -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)