mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-29 21:13:00 +00:00
summoning bats in the Dungeon activates plates now, since they are stunned
This commit is contained in:
2
orbs.cpp
2
orbs.cpp
@@ -760,6 +760,8 @@ void summonAt(cell *dest) {
|
|||||||
tortoise::emap[dest] = dest;
|
tortoise::emap[dest] = dest;
|
||||||
addMessage(XLAT("You summon %the1!", dest->monst));
|
addMessage(XLAT("You summon %the1!", dest->monst));
|
||||||
moveEffect(dest, dest, dest->monst);
|
moveEffect(dest, dest, dest->monst);
|
||||||
|
if(dest->wall == waClosePlate || dest->wall == waOpenPlate)
|
||||||
|
toggleGates(dest, dest->wall);
|
||||||
|
|
||||||
if(hasHitpoints(dest->monst))
|
if(hasHitpoints(dest->monst))
|
||||||
dest->hitpoints = palaceHP();
|
dest->hitpoints = palaceHP();
|
||||||
|
|||||||
Reference in New Issue
Block a user