1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-07-06 19:42:50 +00:00

crystal:: pirates no longer drop confusing Compasses

This commit is contained in:
Zeno Rogue 2018-12-04 02:39:01 +01:00
parent 9e3e4cf7a5
commit 207df51b8a
3 changed files with 2 additions and 3 deletions

View File

@ -875,7 +875,6 @@ void set_land(cell *c) {
auto& l = m->landmemo4[cx]; auto& l = m->landmemo4[cx];
if(l == laNone) l = getNewLand(laBarrier); if(l == laNone) l = getNewLand(laBarrier);
setland(c, l); setland(c, l);
println(hlog, "l = ", dnameof(l));
} }
else if(specialland == laCrossroads4) { else if(specialland == laCrossroads4) {

View File

@ -2186,7 +2186,7 @@ void killMonster(cell *c, eMonster who, flagtype deathflags) {
if(m == moPirate && isOnCIsland(c) && c->item == itNone && ( if(m == moPirate && isOnCIsland(c) && c->item == itNone && (
eubinary || eubinary ||
(c->master->alt && celldistAlt(c) <= 2-getDistLimit()) || (c->master->alt && celldistAlt(c) <= 2-getDistLimit()) ||
isHaunted(c->land))) { isHaunted(c->land)) && geometry != gCrystal) {
bool toomany = false; bool toomany = false;
for(int i=0; i<c->type; i++) { for(int i=0; i<c->type; i++) {
cell *c2 = c->move(i); cell *c2 = c->move(i);

View File

@ -1524,7 +1524,7 @@ void giantLandSwitch(cell *c, int d, cell *from) {
if(d == 7 && c->wall == waCTree && hrand(5000) < 100 + items[itPirate] + yendor::hardness()) if(d == 7 && c->wall == waCTree && hrand(5000) < 100 + items[itPirate] + yendor::hardness())
c->monst = moParrot; c->monst = moParrot;
ONEMPTY { ONEMPTY {
if(hrand(1500) < 4 && celldistAlt(c) <= -5 && peace::on) if(hrand(1500) < 4 && celldistAlt(c) <= -5 && peace::on && geometry != gCrystal)
c->item = itCompass; c->item = itCompass;
if(hrand(16000) < 40 + (items[itPirate] + yendor::hardness())) if(hrand(16000) < 40 + (items[itPirate] + yendor::hardness()))
c->monst = moPirate; c->monst = moPirate;