diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-28 08:58:09 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-28 08:58:09 +0000 |
commit | 84651bb77b43871a8142015a87f14b9e52f9e0d8 (patch) | |
tree | edf6ce9f7c0f6283ddc1b8160c91e76cdcc2028b /crawl-ref/source/mapdef.cc | |
parent | 242254cdf5f10ae806f22b624e830f51aca1e054 (diff) | |
download | crawl-ref-84651bb77b43871a8142015a87f14b9e52f9e0d8.tar.gz crawl-ref-84651bb77b43871a8142015a87f14b9e52f9e0d8.zip |
Updated levels (David).
Give Tiamat wings and flight. Converted her second attack to a tail-slap
(David).
Allow ITEM: declarations to use * % and |.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1113 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mapdef.cc')
-rw-r--r-- | crawl-ref/source/mapdef.cc | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/crawl-ref/source/mapdef.cc b/crawl-ref/source/mapdef.cc index 706bfec6bf..acd7dc4dbf 100644 --- a/crawl-ref/source/mapdef.cc +++ b/crawl-ref/source/mapdef.cc @@ -1104,9 +1104,20 @@ item_spec item_list::parse_single_spec(std::string s) trim_string(s); // Completely random? - if (s == "random" || s == "any") + if (s == "random" || s == "any" || s == "%") return (result); + if (s == "*") + { + result.level = ISPEC_GOOD; + return (result); + } + else if (s == "|") + { + result.level = ISPEC_SUPERB; + return (result); + } + if (s == "nothing") { result.base_type = OBJ_UNASSIGNED; |