Added summoning rules for the new lands.

This commit is contained in:
Zeno Rogue 2018-01-04 20:28:57 +01:00
parent 0ee865828e
commit 9c86b073bb
2 changed files with 10 additions and 1 deletions

View File

@ -1609,6 +1609,11 @@ bool earthWall(cell *c) {
c->wall = waRed3;
return true;
}
if(c->wall == waNone && c->land == laSnakeNest) {
c->item = itNone;
c->wall = waRed3;
return true;
}
if(c->wall == waNone && c->land == laBurial) {
c->item = itNone;
c->wall = waBarrowDig;

View File

@ -699,6 +699,7 @@ eMonster summonedAt(cell *dest) {
dest->land == laLivefjord ? moViking :
dest->land == laKraken ? moViking :
dest->land == laWarpCoast ? moRatling :
dest->land == laDocks ? moWaterElemental :
moPirate;
if(isReptile(dest->wall))
return moReptile;
@ -720,7 +721,7 @@ eMonster summonedAt(cell *dest) {
return moWaterElemental;
if(dest->wall == waBoat)
return moAirElemental;
if(dest->wall == waStone)
if(dest->wall == waStone || dest->wall == waRuinWall)
return moEarthElemental;
if(dest->wall == waGiantRug)
return moVizier;
@ -766,6 +767,9 @@ eMonster summonedAt(cell *dest) {
if(dest->land == laVolcano) return moFireElemental;
if(dest->land == laBlizzard) return moAirElemental;
if(dest->land == laTerracotta) return moEarthElemental;
if(dest->land == laRuins) return moEarthElemental;
if(dest->land == laSwitch) return passive_switch;
if(dest->land == laSnakeNest) return moEarthElemental;
if(isHaunted(dest->land)) return moGhost;
}
return moNone;