1
0
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:
Zeno Rogue 2018-12-25 23:56:24 +01:00
parent 24b8bcaf5e
commit 5e7920784f

View File

@ -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));