From 3ca08631b5d24d945b4386fef0220031dabef4bd Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Tue, 10 Oct 2017 15:15:27 +0200 Subject: [PATCH] Salamander stunned for long time when pushed into wall/another --- game.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/game.cpp b/game.cpp index 7e5ed457..f15bdc69 100644 --- a/game.cpp +++ b/game.cpp @@ -7118,6 +7118,8 @@ bool movepcto(int d, int subdir, bool checkonly) { } else if(isStunnable(c2->monst) && c2->hitpoints > 1) { attackMonster(c2, AF_ORSTUN | AF_MSG, moPlayer); + // salamanders are stunned for longer time when pushed into a wall + if(c2->monst == moSalamander && (pushto == c2 || !pushto)) c2->stuntime = 10; if(pushto && pushto != c2) pushMonster(pushto, c2); } else if(c2->monst == moVizier && c2->hitpoints > 1) {