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
1 changed files with 1 additions and 1 deletions

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;
}},