mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-06-29 00:12:52 +00:00
made Red Raiders' wall destruction stronger
This commit is contained in:
parent
9bfb1ecddf
commit
ad1f5ed39d
6
game.cpp
6
game.cpp
@ -5387,9 +5387,9 @@ void moverefresh(bool turn = true) {
|
|||||||
if(c->monst == moPair && !c->stuntime) {
|
if(c->monst == moPair && !c->stuntime) {
|
||||||
cell *c2 = c->mov[c->mondir];
|
cell *c2 = c->mov[c->mondir];
|
||||||
if(c2->monst != moPair) continue;
|
if(c2->monst != moPair) continue;
|
||||||
if(!c2->stuntime) {
|
if(true) for(int i: {-1, 1}) {
|
||||||
cell *c3 = c->mov[(c->mondir + 1) % c->type];
|
cell *c3 = c->mov[(c->mondir + MODFIXER + i) % c->type];
|
||||||
if(among(c3->wall, waRuinWall, waColumn, waStone, waVinePlant)) {
|
if(among(c3->wall, waRuinWall, waColumn, waStone, waVinePlant, waPalace)) {
|
||||||
drawParticles(c3, winf[c3->wall].color, 30);
|
drawParticles(c3, winf[c3->wall].color, 30);
|
||||||
c3->wall = waNone;
|
c3->wall = waNone;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user