mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-23 15:36:59 +00:00
Yellow Frogs no longer phase into the player's sword
This commit is contained in:
parent
7f8d978beb
commit
e9b2c929d6
2
orbs.cpp
2
orbs.cpp
@ -1189,7 +1189,7 @@ EX int check_phase(cell *cf, cell *ct, flagtype flags, cell*& jumpthru) {
|
|||||||
forCellCM(c2, cf) {
|
forCellCM(c2, cf) {
|
||||||
if(isNeighbor(c2, ct) && !nonAdjacent(cf, c2) && !nonAdjacent(c2, ct)) {
|
if(isNeighbor(c2, ct) && !nonAdjacent(cf, c2) && !nonAdjacent(c2, ct)) {
|
||||||
jumpthru = c2;
|
jumpthru = c2;
|
||||||
if(passable(ct, cf, P_ISPLAYER | P_PHASE)) {
|
if(passable(ct, cf, flags | P_PHASE)) {
|
||||||
partial = 2;
|
partial = 2;
|
||||||
if(c2->monst || (isWall(c2) && c2->wall != waShrub)) {
|
if(c2->monst || (isWall(c2) && c2->wall != waShrub)) {
|
||||||
return 3;
|
return 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user