mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-12-25 17:40:36 +00:00
Merge pull request #192 from jruderman/f1
Curse of Weakness no longer allows pushing parts of multitile monsters
This commit is contained in:
commit
ff40a46883
@ -1050,6 +1050,7 @@ EX void killFriendlyIvy() {
|
||||
|
||||
EX bool monsterPushable(cell *c2) {
|
||||
if(markOrb(itCurseWeakness) && (c2->stuntime < 2 || attackJustStuns(c2, 0, moPlayer))) return false;
|
||||
if(isMultitile(c2->monst)) return false;
|
||||
return (c2->monst != moFatGuard && !(isMetalBeast(c2->monst) && c2->stuntime < 2) && c2->monst != moTortoise && c2->monst != moTerraWarrior && c2->monst != moVizier && c2->monst != moWorldTurtle);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user