1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-03-25 12:57:03 +00:00

summoning bats in the Dungeon activates plates now, since they are stunned

This commit is contained in:
Zeno Rogue 2017-09-03 00:56:39 +02:00
parent 7a6ed68653
commit 606bcf23bd

View File

@ -760,6 +760,8 @@ void summonAt(cell *dest) {
tortoise::emap[dest] = dest;
addMessage(XLAT("You summon %the1!", dest->monst));
moveEffect(dest, dest, dest->monst);
if(dest->wall == waClosePlate || dest->wall == waOpenPlate)
toggleGates(dest, dest->wall);
if(hasHitpoints(dest->monst))
dest->hitpoints = palaceHP();