1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-23 21:07:17 +00:00

onemore fixup to ElectricLand

This commit is contained in:
Zeno Rogue 2020-02-26 01:37:55 +01:00
parent 0a1d29ad1a
commit 511a8e9157

View File

@ -416,7 +416,10 @@ EX void castLightningBolt(cellwalker lig) {
if(c->wall == waGrounded) brk = true;
if(c->wall == waFan) spin = true;
if(c->wall == waMetal) c->wall = waCharged, brk = true;
if(c->wall == waSandstone) c->wall = waNone, c->item = itFulgurite, brk = true;
if(c->wall == waSandstone) {
c->wall = waNone, brk = true;
if(c->land == laStorms) c->item = itFulgurite;
}
if(c->wall == waCharged && first) {
for(int i=0; i<c->type; i++)