mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-08 00:34:30 +00:00
Raiders take pseudohept into account
This commit is contained in:
1 parent
1c07230f88
commit
4bf892442f
2 files changed
+3
-3
No files matched your search
@@ -851,13 +851,13 @@ bool passable_for(eMonster m, cell *w, cell *from, flagtype extra) {
|
||||
if(extra & P_ONPLAYER) {
|
||||
if(isPlayerOn(w)) return true;
|
||||
}
|
||||
return !ctof(w) && passable(w, from, extra);
|
||||
return !pseudohept(w) && passable(w, from, extra);
|
||||
}
|
||||
if(m == moAltDemon) {
|
||||
if(extra & P_ONPLAYER) {
|
||||
if(isPlayerOn(w)) return true;
|
||||
}
|
||||
return (!w || !from || w==from || ctof(w) || ctof(from)) && passable(w, from, extra);
|
||||
return (!w || !from || w==from || pseudohept(w) || pseudohept(from)) && passable(w, from, extra);
|
||||
}
|
||||
if(m == moMonk) {
|
||||
if(extra & P_ONPLAYER) {
|
||||
|
||||
Reference in new issue
Block a user