From f3a3978b980b4c634bc31344fb3477242ec3cd8f Mon Sep 17 00:00:00 2001 From: Darshan Shaligram Date: Thu, 31 Dec 2009 17:35:53 +0530 Subject: 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. --- crawl-ref/source/wiz-mon.cc | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'crawl-ref/source/wiz-mon.cc') 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); } } -- cgit v1.2.3-54-g00ecf