mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-02 04:09:16 +00:00
Bulls crashing into rock formations now reduce their height, and ones falling from Rock III increase the height when they fall
This commit is contained in:
parent
dc5384da1e
commit
c9a3dde67b
@ -318,6 +318,8 @@ EX void moveMonster(const movei& mi) {
|
||||
else if(inc == -3 && !survivesFall(ct->monst) && !passable(cf, ct, P_MONSTER)) {
|
||||
addMessage(XLAT("%The1 falls!", ct->monst));
|
||||
fallMonster(ct, AF_FALL);
|
||||
if(isBull(m) && cf->wall == waRed3)
|
||||
ct->wall = waRed1;
|
||||
}
|
||||
if(isThorny(ct->wall) && !survivesThorns(ct->monst)) {
|
||||
addMessage(XLAT("%The1 is killed by thorns!", ct->monst));
|
||||
@ -2160,6 +2162,12 @@ EX void beastcrash(cell *c, cell *beast) {
|
||||
addMessage(XLAT("%The1 crashes into %the2!", beast->monst, c->wall));
|
||||
explodeBarrel(c);
|
||||
}
|
||||
else if(realred(c)) {
|
||||
addMessage(XLAT("%The1 crashes into %the2!", beast->monst, c->wall));
|
||||
if(c->wall == waRed1) c->wall = waNone;
|
||||
else if(c->wall == waRed2) c->wall = waRed1;
|
||||
else if(c->wall == waRed3) c->wall = waRed2;
|
||||
}
|
||||
else if(isBull(c->monst) || isSwitch(c->monst)) {
|
||||
addMessage(XLAT("%The1 crashes into %the2!", beast->monst, c->monst));
|
||||
if(c->monst == moSleepBull) c->monst = moRagingBull, c->stuntime = 3;
|
||||
|
Loading…
Reference in New Issue
Block a user