1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-18 06:35:12 +00:00

Curse of Weakness allows to push stunned monsters as originally designed

This commit is contained in:
Zeno Rogue
2021-05-22 01:22:03 +02:00
parent 9af73d9543
commit 8678a2f77f
2 changed files with 2 additions and 3 deletions

View File

@@ -1045,8 +1045,7 @@ EX void killFriendlyIvy() {
}
EX bool monsterPushable(cell *c2) {
if(markOrb(itCurseWeakness) && attackJustStuns(c2, 0, moPlayer))
return false;
if(markOrb(itCurseWeakness) && (c2->stuntime < 2 || attackJustStuns(c2, 0, moPlayer))) return false;
return (c2->monst != moFatGuard && !(isMetalBeast(c2->monst) && c2->stuntime < 2) && c2->monst != moTortoise && c2->monst != moTerraWarrior && c2->monst != moVizier && c2->monst != moWorldTurtle);
}