1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-18 15:00:26 +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) c->monst == moGreaterShark || c->monst == moParrot || c->monst == moCShark)
return; return;
// turn statues into Slimes! // turn statues into Slimes!
if(c->wall == waBigStatue && t != waNone) { if(among(c->wall, waBigStatue, waTerraWarrior) && t != waNone) {
c->wall = waNone; c->wall = waNone;
c->monst = moSlimeNextTurn; c->monst = moSlimeNextTurn;
} }
@ -1628,6 +1628,7 @@ void prespill(cell* c, eWall t, int rad, cell *from) {
} }
destroyHalfvine(c); destroyHalfvine(c);
if(c->wall == waTerraWarrior) kills[waTerraWarrior]++;
c->wall = t; c->wall = t;
// destroy items... // destroy items...
c->item = itNone; c->item = itNone;