1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-26 18:51:21 +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

@@ -926,7 +926,7 @@ bool pcmove::attack() {
mip = movei(c2, nullptr, NO_SPACE);
if(isStunnable(c2->monst) && c2->hitpoints > 1) {
if(items[itCurseWeakness] || (isStunnable(c2->monst) && c2->hitpoints > 1)) {
if(monsterPushable(c2))
mip = determinePush(cwt, subdir, [c2] (cell *c) { return passable(c, c2, P_BLOW); });
else