1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-06-18 11:19:59 +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];
if(l == laNone) l = getNewLand(laBarrier);
setland(c, l);
println(hlog, "l = ", dnameof(l));
}
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 && (
eubinary ||
(c->master->alt && celldistAlt(c) <= 2-getDistLimit()) ||
isHaunted(c->land))) {
isHaunted(c->land)) && geometry != gCrystal) {
bool toomany = false;
for(int i=0; i<c->type; 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())
c->monst = moParrot;
ONEMPTY {
if(hrand(1500) < 4 && celldistAlt(c) <= -5 && peace::on)
if(hrand(1500) < 4 && celldistAlt(c) <= -5 && peace::on && geometry != gCrystal)
c->item = itCompass;
if(hrand(16000) < 40 + (items[itPirate] + yendor::hardness()))
c->monst = moPirate;