1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-20 11:54:48 +00:00

variant:: no more graves created on traps

This commit is contained in:
Zeno Rogue 2018-12-25 23:52:54 +01:00
parent ebe75cdd62
commit d2bef0eaf8

View File

@ -214,7 +214,7 @@ struct variant_feature {
const array<variant_feature, 21> variant_features {{
variant_feature{(color_t)(-0x202020), 5, moNecromancer, VF {
if(hrand(1500) < 20) c->wall = waFreshGrave;
if(c->wall == waNone && hrand(1500) < 20) c->wall = waFreshGrave;
if(hrand(20000) < 10 + items[itVarTreasure])
c->monst = moNecromancer;
}},