1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +00:00

summoned Tortoises no longer die on hit

This commit is contained in:
Zeno Rogue 2018-07-30 09:52:19 +02:00
parent b3d074161e
commit 371ecc1ce2

View File

@ -787,7 +787,7 @@ void summonAt(cell *dest) {
if(dest->monst == moFireElemental && isFire(dest)) if(dest->monst == moFireElemental && isFire(dest))
dest->wall = waNone; dest->wall = waNone;
if(dest->monst == moTortoise) if(dest->monst == moTortoise)
tortoise::emap[dest] = dest; tortoise::emap[dest] = dest, dest->hitpoints = 3;
addMessage(XLAT("You summon %the1!", dest->monst)); addMessage(XLAT("You summon %the1!", dest->monst));
moveEffect(dest, dest, dest->monst, -1); moveEffect(dest, dest, dest->monst, -1);
if(dest->wall == waClosePlate || dest->wall == waOpenPlate) if(dest->wall == waClosePlate || dest->wall == waOpenPlate)