mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-11 18:00: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;
|
c->wall = waRed3;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
if(c->wall == waNone && c->land == laSnakeNest) {
|
||||||
|
c->item = itNone;
|
||||||
|
c->wall = waRed3;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
if(c->wall == waNone && c->land == laBurial) {
|
if(c->wall == waNone && c->land == laBurial) {
|
||||||
c->item = itNone;
|
c->item = itNone;
|
||||||
c->wall = waBarrowDig;
|
c->wall = waBarrowDig;
|
||||||
|
6
orbs.cpp
6
orbs.cpp
@ -699,6 +699,7 @@ eMonster summonedAt(cell *dest) {
|
|||||||
dest->land == laLivefjord ? moViking :
|
dest->land == laLivefjord ? moViking :
|
||||||
dest->land == laKraken ? moViking :
|
dest->land == laKraken ? moViking :
|
||||||
dest->land == laWarpCoast ? moRatling :
|
dest->land == laWarpCoast ? moRatling :
|
||||||
|
dest->land == laDocks ? moWaterElemental :
|
||||||
moPirate;
|
moPirate;
|
||||||
if(isReptile(dest->wall))
|
if(isReptile(dest->wall))
|
||||||
return moReptile;
|
return moReptile;
|
||||||
@ -720,7 +721,7 @@ eMonster summonedAt(cell *dest) {
|
|||||||
return moWaterElemental;
|
return moWaterElemental;
|
||||||
if(dest->wall == waBoat)
|
if(dest->wall == waBoat)
|
||||||
return moAirElemental;
|
return moAirElemental;
|
||||||
if(dest->wall == waStone)
|
if(dest->wall == waStone || dest->wall == waRuinWall)
|
||||||
return moEarthElemental;
|
return moEarthElemental;
|
||||||
if(dest->wall == waGiantRug)
|
if(dest->wall == waGiantRug)
|
||||||
return moVizier;
|
return moVizier;
|
||||||
@ -766,6 +767,9 @@ eMonster summonedAt(cell *dest) {
|
|||||||
if(dest->land == laVolcano) return moFireElemental;
|
if(dest->land == laVolcano) return moFireElemental;
|
||||||
if(dest->land == laBlizzard) return moAirElemental;
|
if(dest->land == laBlizzard) return moAirElemental;
|
||||||
if(dest->land == laTerracotta) return moEarthElemental;
|
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;
|
if(isHaunted(dest->land)) return moGhost;
|
||||||
}
|
}
|
||||||
return moNone;
|
return moNone;
|
||||||
|
Loading…
Reference in New Issue
Block a user