1 #include "player-info/class-ability-info.h"
2 #include "player-info/self-info-util.h"
3 #include "realm/realm-names-table.h"
4 #include "realm/realm-types.h"
6 void set_class_ability_info(player_type *creature_ptr, self_info_type *self_ptr)
8 switch (creature_ptr->pclass) {
10 if (creature_ptr->lev > 39)
11 self_ptr->info[self_ptr->line++]
12 = _("あなたはランダムな方向に対して数回攻撃することができる。(75 HP)", "You can attack some random directions simultaneously (cost 75).");
16 if (creature_ptr->realm1 == REALM_HEX)
21 if (creature_ptr->lev > 24)
22 self_ptr->info[self_ptr->line++] = _("あなたはアイテムの魔力を吸収することができる。(1 MP)", "You can absorb charges from an item (cost 1).");
26 if (is_good_realm(creature_ptr->realm1)) {
27 if (creature_ptr->lev > 34)
28 self_ptr->info[self_ptr->line++] = _("あなたは武器を祝福することができる。(70 MP)", "You can bless a weapon (cost 70).");
33 if (creature_ptr->lev > 41)
34 self_ptr->info[self_ptr->line++]
35 = _("あなたは周りのすべてのモンスターを攻撃することができる。(40 MP)", "You can damage all monsters in sight (cost 40).");
39 if (creature_ptr->lev > 7)
40 self_ptr->info[self_ptr->line++]
41 = _("あなたは攻撃して即座に逃げることができる。(12 MP)", "You can hit a monster and teleport away simultaneously (cost 12).");
45 if (creature_ptr->lev > 14)
46 self_ptr->info[self_ptr->line++] = _("あなたは怪物を調査することができる。(20 MP)", "You can probe monsters (cost 20).");
50 if (is_good_realm(creature_ptr->realm1)) {
51 if (creature_ptr->lev > 29) {
52 self_ptr->info[self_ptr->line++] = _("あなたは聖なる槍を放つことができる。(30 MP)", "You can fire a holy spear (cost 30).");
58 if (creature_ptr->lev > 29)
59 self_ptr->info[self_ptr->line++]
60 = _("あなたは生命力を減少させる槍を放つことができる。(30 MP)", "You can fire a spear which drains vitality (cost 30).");
63 case CLASS_WARRIOR_MAGE:
64 if (creature_ptr->lev > 24) {
65 self_ptr->info[self_ptr->line++] = _("あなたはHPをMPに変換することができる。(消費なし)", "You can convert HP to SP (cost 0).");
66 self_ptr->info[self_ptr->line++] = _("あなたはMPをHPに変換することができる。(消費なし)", "You can convert SP to HP (cost 0).");
70 case CLASS_CHAOS_WARRIOR:
71 if (creature_ptr->lev > 39) {
72 self_ptr->info[self_ptr->line++]
73 = _("あなたは周囲に怪物を惑わす光を発生させることができる。(50 MP)", "You can radiate light which confuses nearby monsters (cost 50).");
78 if (creature_ptr->lev > 24)
79 self_ptr->info[self_ptr->line++] = _("あなたは構えることができる。(消費なし)", "You can assume a special stance (cost 0).");
81 if (creature_ptr->lev > 29)
82 self_ptr->info[self_ptr->line++]
83 = _("あなたは通常の2倍の攻撃を行うことができる。(30 MP)", "You can perform two attacks at the same time (cost 30).");
86 case CLASS_MINDCRAFTER:
87 case CLASS_FORCETRAINER:
88 case CLASS_ELEMENTALIST:
89 if (creature_ptr->lev > 14)
90 self_ptr->info[self_ptr->line++]
91 = _("あなたは精神を集中してMPを回復させることができる。(消費なし)", "You can concentrate to regenerate your mana (cost 0).");
95 self_ptr->info[self_ptr->line++] = _("あなたは写真を撮影することができる。(消費なし)", "You can take a photograph (cost 0).");
97 if (creature_ptr->lev > 24)
98 self_ptr->info[self_ptr->line++] = _("あなたはアイテムを完全に鑑定することができる。(20 MP)", "You can *identify* items (cost 20).");
102 if (creature_ptr->lev > 29)
103 self_ptr->info[self_ptr->line++] = _("あなたは怪物の特殊攻撃をダメージ2倍でまねることができる。(100 MP)",
104 "You can imitate monster's special attacks with double damage (cost 100).");
107 case CLASS_BEASTMASTER:
108 self_ptr->info[self_ptr->line++]
109 = _("あなたは1体の生命のあるモンスターを支配することができる。((レベル+3)/4 MP)", "You can dominate a monster (cost (level+3)/4).");
111 if (creature_ptr->lev > 29)
112 self_ptr->info[self_ptr->line++] = _("あなたは視界内の生命のあるモンスターを支配することができる。((レベル+20)/2 MP)",
113 "You can dominate living monsters in sight (cost (level+20)/2).");
116 case CLASS_MAGIC_EATER:
117 self_ptr->info[self_ptr->line++]
118 = _("あなたは杖/魔法棒/ロッドの魔力を自分のものにすることができる。(消費なし)", "You can absorb a staff, wand or rod itself (cost 0).");
120 if (creature_ptr->lev > 9)
121 self_ptr->info[self_ptr->line++] = _("あなたは杖/魔法棒/ロッドの魔力を強力に発動することができる。(10+(レベル-10)/2 HP)",
122 "You can powerfully activate a staff, wand or rod (cost 10+(level-10)/2).");
126 if (creature_ptr->lev > 47)
127 self_ptr->info[self_ptr->line++] = _("あなたは1ターンに2回魔法を唱えることができる。(20 MP)", "You can cast two spells simultaneously (cost 20).");
131 self_ptr->info[self_ptr->line++]
132 = _("あなたは精神を集中して気合いを溜めることができる。(消費なし)", "You can concentrate to regenerate your mana (cost 0).");
134 if (creature_ptr->lev > 24)
135 self_ptr->info[self_ptr->line++] = _("あなたは特殊な型で構えることができる。(消費なし)", "You can assume a special stance (cost 0).");
138 case CLASS_BLUE_MAGE:
139 self_ptr->info[self_ptr->line++]
140 = _("あなたは相手に使われた魔法を学ぶことができる。(消費なし)", "You can study spells which your enemy casts on you (cost 0).");
143 if (creature_ptr->lev > 9)
144 self_ptr->info[self_ptr->line++] = _("あなたはモンスターに乗って無理矢理ペットにすることができる。(消費なし)",
145 "You can ride on a hostile monster to forcibly turn it into a pet (cost 0).");
148 case CLASS_BERSERKER:
149 if (creature_ptr->lev > 9)
150 self_ptr->info[self_ptr->line++]
151 = _("あなたは街とダンジョンの間を行き来することができる。(10 HP)", "You can travel between town and the depths (cost 10).");
155 if (creature_ptr->lev > 4)
156 self_ptr->info[self_ptr->line++] = _("あなたは武器や防具を鑑定することができる。(15 HP)", "You can identify weapons or armours (cost 15).");
159 case CLASS_MIRROR_MASTER:
160 self_ptr->info[self_ptr->line++] = _("あなたは鏡を作り出すことができる。(2 MP)", "You can create a Mirror (cost 2).");
161 self_ptr->info[self_ptr->line++] = _("あなたは鏡を割ることができる。(消費なし)", "You can break distant Mirrors (cost 0).");
164 if (creature_ptr->lev > 19)
165 self_ptr->info[self_ptr->line++] = _("あなたは素早く移動することができる。(消費なし)", "You can walk extremely fast (cost 0).");