From 6f22c1aa223a666ae4d9d65f9f400b2fc0374dfd Mon Sep 17 00:00:00 2001 From: Jude Brown Date: Mon, 9 Nov 2009 17:49:56 +1000 Subject: Finally move unique monster placement to Lua. See dat/uniques.des for more information and a quick run down on how things work. Unique placement now should be roughly similar to unique placement before; weights may need to be adjusted, but initial statistics seem to be very, very similar. --- crawl-ref/source/monstuff.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crawl-ref/source/monstuff.cc') diff --git a/crawl-ref/source/monstuff.cc b/crawl-ref/source/monstuff.cc index 8a8e48f753..563e6aec1b 100644 --- a/crawl-ref/source/monstuff.cc +++ b/crawl-ref/source/monstuff.cc @@ -2019,6 +2019,8 @@ int monster_die(monsters *monster, killer_type killer, // Now that Boris is dead, he's a valid target for monster // creation again. -- bwr you.unique_creatures[monster->type] = false; + // And his vault can be placed again. + you.uniq_map_names.erase("uniq_boris"); } else if (monster->type == MONS_KIRKE && !in_transit) { -- cgit v1.2.3-54-g00ecf