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
1 changed files with 3 additions and 0 deletions

View File

@ -1760,6 +1760,9 @@ bool makeflame(cell *c, int timeout, bool checkonly) {
c->wall == waTower)
return false;
else if(c->wall == waBoat) {
if(isPlayerOn(c) && markOrb(itOrbWinter)) {
addMessage(XLAT("%the1 protects your boat!", itOrbWinter));
}
if(checkonly) return true;
if(c->cpdist <= 7)
addMessage(XLAT("%The1 burns!", winf[c->wall].name));