S:1_IN_5 |
S:BR_FIRE | BR_PLAS | BLIND | TELE_TO | S_KIN | S_HI_UNDEAD |
S:HAND_DOOM | TELE_AWAY | S_CYBER | S_DEMON
-A:245:3:100
+A:245:3:50
A:78:1:100
D:$Surtur is also one of the most ancient of all creatures. He is a demonic
D:$giant of fire, who is destined to set the nine worlds afire with his
S:BA_MANA | BA_FIRE | BA_WATE | BA_NETH | BA_DARK |
S:S_MONSTERS | S_DEMON | S_HI_UNDEAD | S_HI_DRAGON |
S:HAND_DOOM | ANIM_DEAD | DISPEL | PSY_SPEAR
-A:13:10:100
+A:13:10:10
A:14:1:100
D:$Mighty in spells and enchantments,
D:$he created the One Ring. His eyes glow with power and his gaze seeks to
* @param md_ptr モンスター死亡構造体への参照ポインタ
* @return 何かドロップするなら1以上、何もドロップしないなら0
*/
-static ARTIFACT_IDX get_artifact_index(player_type *player_ptr, monster_death_type *md_ptr)
+static ARTIFACT_IDX drop_artifact_index(player_type *player_ptr, monster_death_type *md_ptr)
{
ARTIFACT_IDX a_idx = 0;
PERCENTAGE chance = 0;
if (current_world_ptr->character_dungeon)
a_ptr->floor_id = player_ptr->floor_id;
- continue;
+ break;
}
- if (!preserve_mode)
+ if (!preserve_mode) {
a_ptr->cur_num = 1;
+ break;
+ }
}
return a_idx;
if (!md_ptr->drop_chosen_item)
return;
- ARTIFACT_IDX a_idx = get_artifact_index(player_ptr, md_ptr);
+ ARTIFACT_IDX a_idx = drop_artifact_index(player_ptr, md_ptr);
if (((md_ptr->r_ptr->flags7 & RF7_GUARDIAN) == 0) || (d_info[player_ptr->dungeon_idx].final_guardian != md_ptr->m_ptr->r_idx))
return;