OSDN Git Service

[Refactor] #37353 BIAS_* と artifact_bias_name を artifact.c/h へ移動。 / Move BIAS_* and...
[hengband/hengband.git] / src / artifact.c
index 78fb9ee..1557dc8 100644 (file)
 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