mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-02-23 06:20:09 +00:00
fixed Orbs not affecting slime
This commit is contained in:
parent
c6369ac832
commit
fe42b5e2ef
3
orbs.cpp
3
orbs.cpp
@ -340,6 +340,7 @@ EX void checkFreedom(cell *cf) {
|
|||||||
}
|
}
|
||||||
addMessage(XLAT("Your %1 activates!", itOrbFreedom));
|
addMessage(XLAT("Your %1 activates!", itOrbFreedom));
|
||||||
drainOrb(itOrbFreedom);
|
drainOrb(itOrbFreedom);
|
||||||
|
orig_wall = cwt.at->wall;
|
||||||
for(cell *pc: player_positions())
|
for(cell *pc: player_positions())
|
||||||
drawBigFlash(pc);
|
drawBigFlash(pc);
|
||||||
for(int i=0; i<isize(dcal); i++) {
|
for(int i=0; i<isize(dcal); i++) {
|
||||||
@ -357,6 +358,7 @@ EX void activateFlash() {
|
|||||||
drawFlash(pc);
|
drawFlash(pc);
|
||||||
|
|
||||||
addMessage(XLAT("You activate the Flash spell!"));
|
addMessage(XLAT("You activate the Flash spell!"));
|
||||||
|
orig_wall = cwt.at->wall;
|
||||||
playSound(cwt.at, "storm");
|
playSound(cwt.at, "storm");
|
||||||
drainOrb(itOrbFlash);
|
drainOrb(itOrbFlash);
|
||||||
for(int i=0; i<isize(dcal); i++) {
|
for(int i=0; i<isize(dcal); i++) {
|
||||||
@ -548,6 +550,7 @@ EX void castLightningBolt(cellwalker lig) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
EX void castLightningBoltFrom(cell *c) {
|
EX void castLightningBoltFrom(cell *c) {
|
||||||
|
orig_wall = c->wall;
|
||||||
for(int i=0; i<c->type; i++) castLightningBolt(cellwalker(c, i));
|
for(int i=0; i<c->type; i++) castLightningBolt(cellwalker(c, i));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user