1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 06:50:27 +00:00

Terracotta Warriors now turn into slimes when slimed

This commit is contained in:
Zeno Rogue 2019-05-15 13:20:26 +02:00
parent 66b73648d5
commit 5353a82ebf

View File

@ -1568,7 +1568,7 @@ void prespill(cell* c, eWall t, int rad, cell *from) {
c->monst == moGreaterShark || c->monst == moParrot || c->monst == moCShark)
return;
// turn statues into Slimes!
if(c->wall == waBigStatue && t != waNone) {
if(among(c->wall, waBigStatue, waTerraWarrior) && t != waNone) {
c->wall = waNone;
c->monst = moSlimeNextTurn;
}
@ -1628,6 +1628,7 @@ void prespill(cell* c, eWall t, int rad, cell *from) {
}
destroyHalfvine(c);
if(c->wall == waTerraWarrior) kills[waTerraWarrior]++;
c->wall = t;
// destroy items...
c->item = itNone;