<ClCompile Include="..\..\src\spell\technic-info-table.c" />\r
<ClCompile Include="..\..\src\combat\aura-counterattack.c" />\r
<ClCompile Include="..\..\src\window\main-window-equipments.c" />\r
+ <ClCompile Include="..\..\src\wizard\artifact-bias-table.c" />\r
<ClCompile Include="..\..\src\wizard\spoiler-table.c" />\r
<ClCompile Include="..\..\src\wizard\tval-descriptions-table.c" />\r
<ClCompile Include="..\..\src\savedata\quest-loader.c" />\r
<ClInclude Include="..\..\src\view\object-describer.h" />\r
<ClInclude Include="..\..\src\view\status-bars-table.h" />\r
<ClInclude Include="..\..\src\window\main-window-equipments.h" />\r
+ <ClInclude Include="..\..\src\wizard\artifact-bias-table.h" />\r
<ClInclude Include="..\..\src\wizard\spoiler-table.h" />\r
<ClInclude Include="..\..\src\wizard\wizard-messages.h" />\r
<ClInclude Include="..\..\src\wizard\wizard-spells.h" />\r
<ClCompile Include="..\..\src\object-enchant\artifact.c">
<Filter>object-enchant</Filter>
</ClCompile>
+ <ClCompile Include="..\..\src\wizard\artifact-bias-table.c">
+ <Filter>wizard</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\src\combat\shoot.h">
<ClInclude Include="..\..\src\object-enchant\artifact.h">
<Filter>object-enchant</Filter>
</ClInclude>
+ <ClInclude Include="..\..\src\wizard\artifact-bias-table.h">
+ <Filter>wizard</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\..\src\wall.bmp" />
window/main-window-util.c window/main-window-util.h \
window/main-window-equipment.c window/main-window-equipment.h \
\
+ wizard/artifact-bias-table.c wizard/artifact-bias-table.h \
wizard/spoiler-table.c wizard/spoiler-table.h \
wizard/tval-descriptions-table.c wizard/tval-descriptions-table.h \
wizard/wizard-messages.c wizard/wizard-messages.h \
#include "util/bit-flags-calculator.h"
#include "util/quarks.h"
#include "view/display-messages.h"
+#include "wizard/artifact-bias-table.h"
#include "wizard/wizard-messages.h"
#include "world/world.h"
static bool weakening_artifact(player_type *player_ptr, object_type *o_ptr);
/*!
- * @brief ランダムアーティファクトのバイアス名称テーブル
- */
-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"),
-};
-
-/*!
* @brief ランダムアーティファクト生成中、対象のオブジェクトを呪いのアーティファクトにする経過処理。/ generation process of cursed artifact.
* @details pval、AC、命中、ダメージが正の場合、符号反転の上1d4だけ悪化させ、重い呪い、呪いフラグを必ず付加。
* 祝福を無効。確率に応じて、永遠の呪い、太古の怨念、経験値吸収、弱い呪いの継続的付加、強い呪いの継続的付加、HP吸収の呪い、
--- /dev/null
+#include "wizard/artifact-bias-table.h"
+
+/*!
+ * @brief ランダムアーティファクトのバイアス名称テーブル
+ */
+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"),
+};
--- /dev/null
+#pragma once
+
+#include "artifact/random-art-bias-types.h"
+#include "system/angband.h"
+
+extern const concptr artifact_bias_name[MAX_BIAS];