diff options
author | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-09 17:49:56 +1000 |
---|---|---|
committer | Jude Brown <bookofjude@users.sourceforge.net> | 2009-11-09 17:51:07 +1000 |
commit | 6f22c1aa223a666ae4d9d65f9f400b2fc0374dfd (patch) | |
tree | 669c223415f2b0877f9ee295017969a0dfc565d4 /crawl-ref/source/monstuff.cc | |
parent | c3074999a910d76d6f5f2c644894a7baeb3a0d49 (diff) | |
download | crawl-ref-6f22c1aa223a666ae4d9d65f9f400b2fc0374dfd.tar.gz crawl-ref-6f22c1aa223a666ae4d9d65f9f400b2fc0374dfd.zip |
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.
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
-rw-r--r-- | crawl-ref/source/monstuff.cc | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |