mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-20 06:03:01 +00:00
explosive barrels now react to flash and lightning
This commit is contained in:
parent
0fccad975c
commit
54e262c157
2
orbs.cpp
2
orbs.cpp
@ -193,6 +193,7 @@ void flashCell(cell *c, eMonster killer, flagtype flags) {
|
||||
if(c->wall == waGiantRug) c->wall = waNone;
|
||||
if(c->wall == waMirror) c->wall = waNone;
|
||||
if(c->wall == waCloud) c->wall = waNone;
|
||||
if(c->wall == waExplosiveBarrel) explodeBarrel(c);
|
||||
if(c->wall == waRuinWall) c->wall = waNone;
|
||||
if(c->wall == waDune) c->wall = waNone;
|
||||
if(c->wall == waSaloon) c->wall = waNone;
|
||||
@ -374,6 +375,7 @@ void castLightningBolt(cellwalker lig) {
|
||||
bool brk = false, spin = false;
|
||||
|
||||
if(c->wall == waGargoyle) brk = true;
|
||||
if(c->wall == waExplosiveBarrel) explodeBarrel(c), brk = true;
|
||||
if(c->wall == waCavewall) c->wall = waCavefloor, brk = true;
|
||||
if(c->wall == waDeadTroll) c->wall = waCavefloor, brk = true;
|
||||
if(c->wall == waDeadTroll2)c->wall = waNone, brk = true;
|
||||
|
Loading…
Reference in New Issue
Block a user