diff --git a/hyper.h b/hyper.h index cc13fcc7..1de1e941 100644 --- a/hyper.h +++ b/hyper.h @@ -3289,6 +3289,7 @@ namespace daily { void turnoff(); void showMenu(); int find_daily_lbid(int id); + bool prevent_spawn_treasure_on(cell *c); } enum eOrbLandRelation { diff --git a/monstergen.cpp b/monstergen.cpp index f282dc12..05337bc8 100644 --- a/monstergen.cpp +++ b/monstergen.cpp @@ -281,6 +281,9 @@ bool haveKraken() { eItem wanderingTreasure(cell *c) { eLand l = c->land; + #if CAP_DAILY + if(daily::on && daily::prevent_spawn_treasure_on(c)) return itNone; + #endif if(l == laEFire) return itFireShard; if(l == laEWater) return itWaterShard; if(l == laEAir) return itAirShard;