mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 09:50:34 +00:00
Added summoning rules for the new lands.
This commit is contained in:
parent
0ee865828e
commit
9c86b073bb
5
game.cpp
5
game.cpp
@ -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;
|
||||
|
6
orbs.cpp
6
orbs.cpp
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user