summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-mon.cc
diff options
context:
space:
mode:
authorDarshan Shaligram <dshaligram@users.sourceforge.net>2009-12-31 17:35:53 +0530
committerDarshan Shaligram <dshaligram@users.sourceforge.net>2009-12-31 17:37:55 +0530
commitf3a3978b980b4c634bc31344fb3477242ec3cd8f (patch)
tree82479637a7cc3381f89802269f59b9cfd97c7a21 /crawl-ref/source/wiz-mon.cc
parent66a86ff1f08b7f291f5831d0c54d8947809d7ba4 (diff)
downloadcrawl-ref-f3a3978b980b4c634bc31344fb3477242ec3cd8f.tar.gz
crawl-ref-f3a3978b980b4c634bc31344fb3477242ec3cd8f.zip
Adjust Shoals monster depths and tweak new Shoals monsters to reduce experience overdose in the Shoals.
Weaken impalers and javelineers. They should still be a threat, but more in line with the Shoals depth.
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r--crawl-ref/source/wiz-mon.cc12
1 files changed, 7 insertions, 5 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc
index e237401b5d..5664e28fcf 100644
--- a/crawl-ref/source/wiz-mon.cc
+++ b/crawl-ref/source/wiz-mon.cc
@@ -263,7 +263,7 @@ void debug_list_monsters()
std::sort(mon_nums, mon_nums + MAX_MONSTERS, _sort_monster_list);
- int total_exp = 0, total_adj_exp = 0;
+ long total_exp = 0, total_adj_exp = 0, total_nonuniq_exp = 0;
std::string prev_name = "";
int count = 0;
@@ -297,6 +297,8 @@ void debug_list_monsters()
int exp = exper_value(mi);
total_exp += exp;
+ if (!mons_is_unique(mi->type))
+ total_nonuniq_exp += exp;
if ((mi->flags & (MF_WAS_NEUTRAL | MF_NO_REWARD))
|| mi->has_ench(ENCH_ABJ))
@@ -320,13 +322,13 @@ void debug_list_monsters()
if (total_adj_exp == total_exp)
{
- mprf("%d monsters, %d total exp value",
- nfound, total_exp);
+ mprf("%d monsters, %ld total exp value (%ld non-uniq)",
+ nfound, total_exp, total_nonuniq_exp);
}
else
{
- mprf("%d monsters, %d total exp value (%d adjusted)",
- nfound, total_exp, total_adj_exp);
+ mprf("%d monsters, %ld total exp value (%ld non-uniq, %ld adjusted)",
+ nfound, total_exp, total_nonuniq_exp, total_adj_exp);
}
}