mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-27 08:23:08 +00:00
themed Alchemy2 as Volcanic Wasteland
This commit is contained in:
1 parent
99d27f608d
commit
362abea781
8 files changed
+145
-53
No files matched your search
@@ -1266,3 +1266,20 @@ bool isShmupLifeOrb(eItem it) {
|
||||
it == itOrbUndeath || it == itOrbLove ||
|
||||
it == itOrbDomination;
|
||||
}
|
||||
|
||||
void makelava(cell *c, int i) {
|
||||
if(!pseudohept(c)) return;
|
||||
if(isPlayerOn(c)) return;
|
||||
if(c->wall == waFire && c->wparam < i)
|
||||
c->wparam = i;
|
||||
else makeflame(c, i, false);
|
||||
}
|
||||
|
||||
void orboflava(int i) {
|
||||
if(items[itOrbLava])
|
||||
for(cell *c: dcal) {
|
||||
if(c->cpdist > 5) break;
|
||||
if(!c->monst || isFriendly(c) || survivesFire(c->monst)) continue;
|
||||
forCellEx(c2, c) makelava(c2, i);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user