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 MP)", "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に変換することができる。(0 MP)", "You can convert HP to SP (cost 0).");
66 self_ptr->info[self_ptr->line++] = _("あなたはMPをHPに変換することができる。(0 MP)", "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++] = _("あなたは構えることができる。(0 MP)", "You can assume a special stance (cost 0).");
81 if (creature_ptr->lev > 29)
82 self_ptr->info[self_ptr->line++] = _("あなたは通常の2倍の攻撃を行うことができる。(30 MP)", "You can perform two attacks at the same time (cost 30).");
85 case CLASS_MINDCRAFTER:
86 case CLASS_FORCETRAINER:
87 if (creature_ptr->lev > 14)
88 self_ptr->info[self_ptr->line++]
89 = _("あなたは精神を集中してMPを回復させることができる。(0 MP)", "You can concentrate to regenerate your mana (cost 0).");
93 self_ptr->info[self_ptr->line++] = _("あなたは写真を撮影することができる。(0 MP)", "You can take a photograph (cost 0).");
94 if (creature_ptr->lev > 24)
95 self_ptr->info[self_ptr->line++] = _("あなたはアイテムを完全に鑑定することができる。(20 MP)", "You can *identify* items (cost 20).");
99 if (creature_ptr->lev > 29)
100 self_ptr->info[self_ptr->line++] = _("あなたは怪物の特殊攻撃をダメージ2倍でまねることができる。(100 MP)",
101 "You can imitate monster's special attacks with double damage (cost 100).");
104 case CLASS_BEASTMASTER:
105 self_ptr->info[self_ptr->line++]
106 = _("あなたは1体の生命のあるモンスターを支配することができる。(レベル/4 MP)", "You can dominate a monster (cost level/4).");
107 if (creature_ptr->lev > 29)
108 self_ptr->info[self_ptr->line++] = _("あなたは視界内の生命のあるモンスターを支配することができる。((レベル+20)/2 MP)",
109 "You can dominate living monsters in sight (cost (level+20)/4).");
112 case CLASS_MAGIC_EATER:
113 self_ptr->info[self_ptr->line++] = _("あなたは杖/魔法棒/ロッドの魔力を自分のものにすることができる。", "You can absorb a staff, wand or rod itself.");
116 if (creature_ptr->lev > 47)
117 self_ptr->info[self_ptr->line++] = _("あなたは1ターンに2回魔法を唱えることができる。(20 MP)", "You can cast two spells simultaneously (cost 20).");
121 self_ptr->info[self_ptr->line++] = _("あなたは精神を集中して気合いを溜めることができる。", "You can concentrate to regenerate your mana.");
122 if (creature_ptr->lev > 24)
123 self_ptr->info[self_ptr->line++] = _("あなたは特殊な型で構えることができる。", "You can assume a special stance.");
126 case CLASS_BLUE_MAGE:
127 self_ptr->info[self_ptr->line++] = _("あなたは相手に使われた魔法を学ぶことができる。", "You can study spells which your enemy casts on you.");
130 if (creature_ptr->lev > 9)
131 self_ptr->info[self_ptr->line++]
132 = _("あなたはモンスターに乗って無理矢理ペットにすることができる。", "You can ride on a hostile monster to forcibly turn it into a pet.");
135 case CLASS_BERSERKER:
136 if (creature_ptr->lev > 9)
137 self_ptr->info[self_ptr->line++] = _("あなたは街とダンジョンの間を行き来することができる。", "You can travel between town and the depths.");
140 case CLASS_MIRROR_MASTER:
141 self_ptr->info[self_ptr->line++] = _("あなたは鏡を作り出すことができる。(2 MP)", "You can create a Mirror (cost 2).");
142 self_ptr->info[self_ptr->line++] = _("あなたは鏡を割ることができる。(0 MP)", "You can break distant Mirrors (cost 0).");
145 if (creature_ptr->lev > 19)
146 self_ptr->info[self_ptr->line++] = _("あなたは素早く移動することができる。", "You can walk extremely fast.");