mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-24 17:10:36 +00:00
Thumpers now attract monsters with special movement rules
This commit is contained in:
parent
62634e1dc3
commit
b1665ab23b
1
game.cpp
1
game.cpp
@ -4931,6 +4931,7 @@ EX void groupmove2(cell *c, cell *from, int d, eMonster movtype, flagtype mf) {
|
||||
if(movtype == moKrakenH && isTargetOrAdjacent(from)) ;
|
||||
/* else if(passable_for(movtype, from, c, P_ONPLAYER | P_CHAIN | P_MONSTER)) ;
|
||||
else if(canAttack(c, movtype, from, from->monst, AF_GETPLAYER)) ; */
|
||||
else if(from->wall == waThumperOn) ;
|
||||
else if(passable_for(movtype, from, c, P_CHAIN | P_MONSTER)) ;
|
||||
else if(canAttack(c, movtype, from, from->monst, AF_GETPLAYER)) ;
|
||||
else if(isMagneticPole(movtype)) {
|
||||
|
Loading…
Reference in New Issue
Block a user