mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-20 00:17:39 +00:00
prevent_spawn_treasure in daily
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user