--- deliantra/server/common/map.C 2008/05/04 19:14:23 1.139 +++ deliantra/server/common/map.C 2008/05/04 20:40:52 1.140 @@ -983,10 +983,17 @@ { total_exp += op->stats.exp; - if (archetype *at = type_to_archetype (GENERATE_TYPE (op))) - total_exp += at->stats.exp * 8; + if (archetype *at = op->other_arch) + { + total_exp += at->stats.exp * 8; + monster_cnt++; + } - monster_cnt++; + for (object *inv = op->inv; inv; inv = inv->below) + { + total_exp += op->stats.exp * 8; + monster_cnt++; + } } }