static bool has_extreme_damage_rate(object_type *o_ptr);
static bool weakening_artifact(object_type *o_ptr);
+#ifdef JP
+/*!
+ * @brief ランダムアーティファクトのバイアス名称テーブル
+ */
+const concptr artifact_bias_name[MAX_BIAS] =
+{
+ "なし",
+ "電撃",
+ "毒",
+ "火炎",
+ "冷気",
+ "酸",
+ "腕力",
+ "知力",
+ "賢さ",
+ "器用さ",
+ "耐久",
+ "魅力",
+ "混沌",
+ "プリースト",
+ "死霊",
+ "法",
+ "盗賊",
+ "メイジ",
+ "戦士",
+ "レンジャー",
+};
+#else
+const concptr artifact_bias_name[MAX_BIAS] =
+{
+ "None",
+ "Elec",
+ "Poison",
+ "Fire",
+ "Cold",
+ "Acid",
+ "STR",
+ "INT",
+ "WIS",
+ "DEX",
+ "CON",
+ "CHA",
+ "Chaos",
+ "Pristly",
+ "Necromantic",
+ "Law",
+ "Rogue",
+ "Mage",
+ "Warrior",
+ "Ranger",
+};
+#endif
/*!
* @brief 対象のオブジェクトにランダムな上位耐性を一つ付加する。/ Choose one random high resistance
/* Arrows */
#define ART_BARD_ARROW 153
+
+
+/* "Biases" for random artifact gen */
+#define BIAS_ELEC 1 /*!< ランダムアーティファクトバイアス:電撃 */
+#define BIAS_POIS 2 /*!< ランダムアーティファクトバイアス:毒 */
+#define BIAS_FIRE 3 /*!< ランダムアーティファクトバイアス:火炎 */
+#define BIAS_COLD 4 /*!< ランダムアーティファクトバイアス:冷気 */
+#define BIAS_ACID 5 /*!< ランダムアーティファクトバイアス:酸 */
+#define BIAS_STR 6 /*!< ランダムアーティファクトバイアス:腕力 */
+#define BIAS_INT 7 /*!< ランダムアーティファクトバイアス:知力 */
+#define BIAS_WIS 8 /*!< ランダムアーティファクトバイアス:賢さ */
+#define BIAS_DEX 9 /*!< ランダムアーティファクトバイアス:器用さ */
+#define BIAS_CON 10 /*!< ランダムアーティファクトバイアス:耐久 */
+#define BIAS_CHR 11 /*!< ランダムアーティファクトバイアス:魅力 */
+#define BIAS_CHAOS 12 /*!< ランダムアーティファクトバイアス:混沌 */
+#define BIAS_PRIESTLY 13 /*!< ランダムアーティファクトバイアス:プリースト系 */
+#define BIAS_NECROMANTIC 14 /*!< ランダムアーティファクトバイアス:死霊 */
+#define BIAS_LAW 15 /*!< ランダムアーティファクトバイアス:法 */
+#define BIAS_ROGUE 16 /*!< ランダムアーティファクトバイアス:盗賊系 */
+#define BIAS_MAGE 17 /*!< ランダムアーティファクトバイアス:メイジ系 */
+#define BIAS_WARRIOR 18 /*!< ランダムアーティファクトバイアス:戦士系 */
+#define BIAS_RANGER 19 /*!< ランダムアーティファクトバイアス:レンジャー系 */
+#define MAX_BIAS 20 /*!< ランダムアーティファクトバイアス:最大数 */
#define MON_DRAIN_LIFE 2 /*!< モンスターの打撃によるプレイヤーの経験値吸収基本倍率(%) / Percent of player exp drained per hit */
#define USE_DEVICE 3 /*!< 魔道具の最低失敗基準値 x> Harder devices x< Easier devices */
-
-/* "Biases" for random artifact gen */
-
-#define BIAS_ELEC 1 /*!< ランダムアーティファクトバイアス:電撃 */
-#define BIAS_POIS 2 /*!< ランダムアーティファクトバイアス:毒 */
-#define BIAS_FIRE 3 /*!< ランダムアーティファクトバイアス:火炎 */
-#define BIAS_COLD 4 /*!< ランダムアーティファクトバイアス:冷気 */
-#define BIAS_ACID 5 /*!< ランダムアーティファクトバイアス:酸 */
-#define BIAS_STR 6 /*!< ランダムアーティファクトバイアス:腕力 */
-#define BIAS_INT 7 /*!< ランダムアーティファクトバイアス:知力 */
-#define BIAS_WIS 8 /*!< ランダムアーティファクトバイアス:賢さ */
-#define BIAS_DEX 9 /*!< ランダムアーティファクトバイアス:器用さ */
-#define BIAS_CON 10 /*!< ランダムアーティファクトバイアス:耐久 */
-#define BIAS_CHR 11 /*!< ランダムアーティファクトバイアス:魅力 */
-#define BIAS_CHAOS 12 /*!< ランダムアーティファクトバイアス:混沌 */
-#define BIAS_PRIESTLY 13 /*!< ランダムアーティファクトバイアス:プリースト系 */
-#define BIAS_NECROMANTIC 14 /*!< ランダムアーティファクトバイアス:死霊 */
-#define BIAS_LAW 15 /*!< ランダムアーティファクトバイアス:法 */
-#define BIAS_ROGUE 16 /*!< ランダムアーティファクトバイアス:盗賊系 */
-#define BIAS_MAGE 17 /*!< ランダムアーティファクトバイアス:メイジ系 */
-#define BIAS_WARRIOR 18 /*!< ランダムアーティファクトバイアス:戦士系 */
-#define BIAS_RANGER 19 /*!< ランダムアーティファクトバイアス:レンジャー系 */
-#define MAX_BIAS 20 /*!< ランダムアーティファクトバイアス:最大数 */
-
/*** Pet constants ***/
extern const byte feature_action_flags[FF_FLAG_MAX];
extern const dragonbreath_type dragonbreath_info[];
extern const activation_type activation_info[];
-extern const concptr artifact_bias_name[MAX_BIAS];
extern const option_type option_info[];
extern const option_type cheat_info[CHEAT_MAX];
"" }
};
-#ifdef JP
-/*!
- * @brief ランダムアーティファクトのバイアス名称テーブル
- */
-const concptr artifact_bias_name[MAX_BIAS] =
-{
- "なし",
- "電撃",
- "毒",
- "火炎",
- "冷気",
- "酸",
- "腕力",
- "知力",
- "賢さ",
- "器用さ",
- "耐久",
- "魅力",
- "混沌",
- "プリースト",
- "死霊",
- "法",
- "盗賊",
- "メイジ",
- "戦士",
- "レンジャー",
-};
-#else
-const concptr artifact_bias_name[MAX_BIAS] =
-{
- "None",
- "Elec",
- "Poison",
- "Fire",
- "Cold",
- "Acid",
- "STR",
- "INT",
- "WIS",
- "DEX",
- "CON",
- "CHA",
- "Chaos",
- "Pristly",
- "Necromantic",
- "Law",
- "Rogue",
- "Mage",
- "Warrior",
- "Ranger",
-};
-#endif
\ No newline at end of file