mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-02 05:20:32 +00:00
Orb of Winter now protects your boat from destruction
This commit is contained in:
parent
24b8bcaf5e
commit
5e7920784f
3
game.cpp
3
game.cpp
@ -1760,6 +1760,9 @@ bool makeflame(cell *c, int timeout, bool checkonly) {
|
|||||||
c->wall == waTower)
|
c->wall == waTower)
|
||||||
return false;
|
return false;
|
||||||
else if(c->wall == waBoat) {
|
else if(c->wall == waBoat) {
|
||||||
|
if(isPlayerOn(c) && markOrb(itOrbWinter)) {
|
||||||
|
addMessage(XLAT("%the1 protects your boat!", itOrbWinter));
|
||||||
|
}
|
||||||
if(checkonly) return true;
|
if(checkonly) return true;
|
||||||
if(c->cpdist <= 7)
|
if(c->cpdist <= 7)
|
||||||
addMessage(XLAT("%The1 burns!", winf[c->wall].name));
|
addMessage(XLAT("%The1 burns!", winf[c->wall].name));
|
||||||
|
Loading…
Reference in New Issue
Block a user