1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-12-25 09:30:35 +00:00

Orb of Summoning now works on deep water, shallow water, and Camelot moat tiles

This commit is contained in:
Zeno Rogue 2024-05-07 22:25:12 +02:00
parent 9ba9797068
commit 51ecd882e1

View File

@ -884,6 +884,10 @@ EX eMonster summonedAt(cell *dest) {
dest->land == laWarpCoast ? moRatling : dest->land == laWarpCoast ? moRatling :
dest->land == laDocks ? moWaterElemental : dest->land == laDocks ? moWaterElemental :
moPirate; moPirate;
if(among(dest->wall, waDeepWater, waShallow))
return moRusalka;
if(dest->wall == waCamelotMoat)
return moWaterElemental;
if(isReptile(dest->wall)) if(isReptile(dest->wall))
return moReptile; return moReptile;
if(dest->wall == waChasm) if(dest->wall == waChasm)