#include "floor/floor-object.h"
#include "floor/wild.h"
#include "game-option/birth-options.h"
+#include "game-option/cheat-options.h"
#include "grid/grid.h"
#include "monster-floor/monster-summon.h"
#include "monster-race/monster-race.h"
#include "system/floor-type-definition.h"
#include "view/display-messages.h"
#include "world/world.h"
-#include "game-option/cheat-options.h"
#define HORDE_NOGOOD 0x01 /*!< (未実装フラグ)HORDE生成でGOODなモンスターの生成を禁止する? */
#define HORDE_NOEVIL 0x02 /*!< (未実装フラグ)HORDE生成でEVILなモンスターの生成を禁止する? */
/* Process probabilities */
for (i = 0; i < alloc_race_size; i++) {
- if (table[i].level < min_level || max_level < table[i].level)
- break;
table[i].prob3 = 0;
+ if (table[i].level < min_level)
+ continue;
+ if (max_level < table[i].level)
+ break; // sorted by depth array,
r_idx = table[i].index;
r_ptr = &r_info[r_idx];
if (!(option & GMN_ARENA) && !chameleon_change_m_idx) {
}
if (cheat_hear) {
- msg_format(_("モンスター第3次候補数:%d(%d-%dF) ", "monster third selection:%d(%d-%dF) "), mon_num, min_level, max_level);
+ msg_format(_("モンスター第3次候補数:%d(%d-%dF)%d ", "monster third selection:%d(%d-%dF)%d "), mon_num, min_level, max_level, total);
}
if (total <= 0)
}
return count;
-}
+}
\ No newline at end of file