変愚蛮怒のメインリポジトリです
Revision | de726cfdeaca7388b8dd66c37def09d7bca31a8f (tree) |
---|---|
Zeit | 2018-04-15 01:09:36 |
Autor | Deskull <deskull@user...> |
Commiter | Deskull |
[fix](2.2.1.1) #37582 drain_life()をhypodynamic_bolt()に改名。 / Rename drain_life() to hypodynamic_bolt().
@@ -2371,7 +2371,7 @@ bool activate_random_artifact(object_type *o_ptr) | ||
2371 | 2371 | { |
2372 | 2372 | msg_format(_("あなたは%sに敵を締め殺すよう命じた。", "You order the %s to strangle your opponent."), name); |
2373 | 2373 | if (!get_aim_dir(&dir)) return FALSE; |
2374 | - if (drain_life(dir, 100)) | |
2374 | + if (hypodynamic_bolt(dir, 100)) | |
2375 | 2375 | break; |
2376 | 2376 | } |
2377 | 2377 |
@@ -2379,7 +2379,7 @@ bool activate_random_artifact(object_type *o_ptr) | ||
2379 | 2379 | { |
2380 | 2380 | msg_print(_("黒く輝いている...", "It glows black...")); |
2381 | 2381 | if (!get_aim_dir(&dir)) return FALSE; |
2382 | - drain_life(dir, 120); | |
2382 | + hypodynamic_bolt(dir, 120); | |
2383 | 2383 | break; |
2384 | 2384 | } |
2385 | 2385 |
@@ -2388,7 +2388,7 @@ bool activate_random_artifact(object_type *o_ptr) | ||
2388 | 2388 | if (!get_aim_dir(&dir)) return FALSE; |
2389 | 2389 | for (dummy = 0; dummy < 3; dummy++) |
2390 | 2390 | { |
2391 | - if (drain_life(dir, 50)) | |
2391 | + if (hypodynamic_bolt(dir, 50)) | |
2392 | 2392 | hp_player(50); |
2393 | 2393 | } |
2394 | 2394 | break; |
@@ -2431,7 +2431,7 @@ bool activate_random_artifact(object_type *o_ptr) | ||
2431 | 2431 | if (!get_aim_dir(&dir)) return FALSE; |
2432 | 2432 | for (dummy = 0; dummy < 3; dummy++) |
2433 | 2433 | { |
2434 | - if (drain_life(dir, 100)) | |
2434 | + if (hypodynamic_bolt(dir, 100)) | |
2435 | 2435 | hp_player(100); |
2436 | 2436 | } |
2437 | 2437 | break; |
@@ -2677,7 +2677,7 @@ static int wand_effect(OBJECT_SUBTYPE_VALUE sval, int dir, bool powerful, bool m | ||
2677 | 2677 | |
2678 | 2678 | case SV_WAND_DRAIN_LIFE: |
2679 | 2679 | { |
2680 | - if (drain_life(dir, 80 + lev)) ident = TRUE; | |
2680 | + if (hypodynamic_bolt(dir, 80 + lev)) ident = TRUE; | |
2681 | 2681 | break; |
2682 | 2682 | } |
2683 | 2683 |
@@ -3191,7 +3191,7 @@ static int rod_effect(OBJECT_SUBTYPE_VALUE sval, int dir, bool *use_charge, bool | ||
3191 | 3191 | |
3192 | 3192 | case SV_ROD_DRAIN_LIFE: |
3193 | 3193 | { |
3194 | - if (drain_life(dir, 70 + 3 * lev / 2)) ident = TRUE; | |
3194 | + if (hypodynamic_bolt(dir, 70 + 3 * lev / 2)) ident = TRUE; | |
3195 | 3195 | break; |
3196 | 3196 | } |
3197 | 3197 |
@@ -303,12 +303,12 @@ static void cast_wonder(int dir) | ||
303 | 303 | else if (die < 71) |
304 | 304 | fire_bolt_or_beam(beam_chance(), GF_FIRE, dir, |
305 | 305 | damroll(8 + ((plev - 5) / 4), 8)); |
306 | - else if (die < 76) drain_life(dir, 75); | |
306 | + else if (die < 76) hypodynamic_bolt(dir, 75); | |
307 | 307 | else if (die < 81) fire_ball(GF_ELEC, dir, 30 + plev / 2, 2); |
308 | 308 | else if (die < 86) fire_ball(GF_ACID, dir, 40 + plev, 2); |
309 | 309 | else if (die < 91) fire_ball(GF_ICE, dir, 70 + plev, 3); |
310 | 310 | else if (die < 96) fire_ball(GF_FIRE, dir, 80 + plev, 3); |
311 | - else if (die < 101) drain_life(dir, 100 + plev); | |
311 | + else if (die < 101) hypodynamic_bolt(dir, 100 + plev); | |
312 | 312 | else if (die < 104) |
313 | 313 | { |
314 | 314 | earthquake(p_ptr->y, p_ptr->x, 12); |
@@ -429,7 +429,7 @@ static void cast_invoke_spirits(int dir) | ||
429 | 429 | } |
430 | 430 | else if (die < 76) |
431 | 431 | { |
432 | - drain_life(dir, 75); | |
432 | + hypodynamic_bolt(dir, 75); | |
433 | 433 | } |
434 | 434 | else if (die < 81) |
435 | 435 | { |
@@ -449,7 +449,7 @@ static void cast_invoke_spirits(int dir) | ||
449 | 449 | } |
450 | 450 | else if (die < 101) |
451 | 451 | { |
452 | - drain_life(dir, 100 + plev); | |
452 | + hypodynamic_bolt(dir, 100 + plev); | |
453 | 453 | } |
454 | 454 | else if (die < 104) |
455 | 455 | { |
@@ -3630,7 +3630,7 @@ static cptr do_death_spell(SPELL_IDX spell, BIT_FLAGS mode) | ||
3630 | 3630 | |
3631 | 3631 | if (!get_aim_dir(&dir)) return NULL; |
3632 | 3632 | |
3633 | - if (drain_life(dir, dam)) | |
3633 | + if (hypodynamic_bolt(dir, dam)) | |
3634 | 3634 | { |
3635 | 3635 | chg_virtue(V_SACRIFICE, -1); |
3636 | 3636 | chg_virtue(V_VITALITY, -1); |
@@ -3795,7 +3795,7 @@ static cptr do_death_spell(SPELL_IDX spell, BIT_FLAGS mode) | ||
3795 | 3795 | |
3796 | 3796 | for (i = 0; i < 3; i++) |
3797 | 3797 | { |
3798 | - if (drain_life(dir, dam)) | |
3798 | + if (hypodynamic_bolt(dir, dam)) | |
3799 | 3799 | hp_player(dam); |
3800 | 3800 | } |
3801 | 3801 | } |
@@ -1155,7 +1155,7 @@ extern void call_chaos(void); | ||
1155 | 1155 | extern bool fire_beam(int typ, int dir, HIT_POINT dam); |
1156 | 1156 | extern bool fire_bolt_or_beam(int prob, int typ, int dir, HIT_POINT dam); |
1157 | 1157 | extern bool lite_line(int dir, HIT_POINT dam); |
1158 | -extern bool drain_life(int dir, HIT_POINT dam); | |
1158 | +extern bool hypodynamic_bolt(int dir, HIT_POINT dam); | |
1159 | 1159 | extern bool death_ray(int dir, int plev); |
1160 | 1160 | extern bool wall_to_mud(int dir, HIT_POINT dam); |
1161 | 1161 | extern bool destroy_door(int dir); |
@@ -402,7 +402,7 @@ static cptr const mind_tips[5][MAX_MIND_POWERS] = | ||
402 | 402 | "1体のモンスターと位置を交換する。", |
403 | 403 | "自分のいる床の上に、モンスターが通ると爆発してダメージを与えるルーンを描く。", |
404 | 404 | "一定時間、半物質化し壁を通り抜けられるようになる。さらに、一定時間酸への耐性を得る。装備による耐性に累積する。", |
405 | - "自分を中心とした超巨大な毒、生命力吸収、混乱の球を発生させ、テレポートする。", | |
405 | + "自分を中心とした超巨大な毒、衰弱、混乱の球を発生させ、テレポートする。", | |
406 | 406 | "ランダムな方向に何回か炎か地獄かプラズマのビームを放つ。", |
407 | 407 | "全ての攻撃が、1/2の確率で無効になる。", |
408 | 408 | "", |
@@ -420,7 +420,7 @@ static cptr const mind_tips[5][MAX_MIND_POWERS] = | ||
420 | 420 | "Generate a ball centered on you which inflict monster with PSI damage. Or inflict all monsters with PSI damage at level 25.", |
421 | 421 | "Removes fear and stun. Gives heroism and speed. Heals HP a little unless you already have heroism and temporal speed boost.", |
422 | 422 | "Pulls a distant item close to you.", |
423 | - "Fires a ball which damages monsters and absorbs monsters' mind power. Absorbing is takes more turns which from 0 to 1.5.", | |
423 | + "Fires a ball which damages, co. Absorbing is takes more turns which from 0 to 1.5.", | |
424 | 424 | "Fires a beam of pure energy which penetrate the invulnerability barrier.", |
425 | 425 | "Stops time. Consumes all of your SP. The more consumes SP, the longer duration of spell.", |
426 | 426 | "", |
@@ -2180,7 +2180,7 @@ bool mutation_power_aux(u32b power) | ||
2180 | 2180 | |
2181 | 2181 | dummy = lvl * 2; |
2182 | 2182 | |
2183 | - if (drain_life(dir, dummy)) | |
2183 | + if (hypodynamic_bolt(dir, dummy)) | |
2184 | 2184 | { |
2185 | 2185 | if (p_ptr->food < PY_FOOD_FULL) |
2186 | 2186 | /* No heal if we are "full" */ |
@@ -1263,7 +1263,7 @@ static bool cmd_racial_power_aux(s32b command) | ||
1263 | 1263 | |
1264 | 1264 | msg_print(_("あなたはニヤリとして牙をむいた...", "You grin and bare your fangs...")); |
1265 | 1265 | dummy = plev + randint1(plev) * MAX(1, plev / 10); /* Dmg */ |
1266 | - if (drain_life(dir, dummy)) | |
1266 | + if (hypodynamic_bolt(dir, dummy)) | |
1267 | 1267 | { |
1268 | 1268 | if (p_ptr->food < PY_FOOD_FULL) |
1269 | 1269 | /* No heal if we are "full" */ |
@@ -1617,7 +1617,7 @@ static bool cmd_racial_power_aux(s32b command) | ||
1617 | 1617 | |
1618 | 1618 | msg_print(_("あなたはニヤリとして牙をむいた...", "You grin and bare your fangs...")); |
1619 | 1619 | dummy = plev + randint1(plev) * MAX(1, plev / 10); /* Dmg */ |
1620 | - if (drain_life(dir, dummy)) | |
1620 | + if (hypodynamic_bolt(dir, dummy)) | |
1621 | 1621 | { |
1622 | 1622 | if (p_ptr->food < PY_FOOD_FULL) |
1623 | 1623 | /* No heal if we are "full" */ |
@@ -5029,12 +5029,12 @@ bool lite_line(int dir, HIT_POINT dam) | ||
5029 | 5029 | } |
5030 | 5030 | |
5031 | 5031 | /*! |
5032 | - * @brief 吸血ボルト処理 | |
5032 | + * @brief 衰弱ボルト処理 | |
5033 | 5033 | * @param dir 方向(5ならばグローバル変数 target_col/target_row の座標を目標にする) |
5034 | 5034 | * @param dam 威力 |
5035 | 5035 | * @return 作用が実際にあった場合TRUEを返す |
5036 | 5036 | */ |
5037 | -bool drain_life(int dir, HIT_POINT dam) | |
5037 | +bool hypodynamic_bolt(int dir, HIT_POINT dam) | |
5038 | 5038 | { |
5039 | 5039 | BIT_FLAGS flg = PROJECT_STOP | PROJECT_KILL | PROJECT_REFLECTABLE; |
5040 | 5040 | return (project_hook(GF_HYPODYNAMIA, dir, dam, flg)); |
@@ -6278,7 +6278,7 @@ const activation_type activation_info[] = | ||
6278 | 6278 | { "DRAIN_1", ACT_DRAIN_1, 30, 500, {12, 0}, |
6279 | 6279 | _("窒息攻撃(100)", "a strangling attack (100)") }, |
6280 | 6280 | { "DRAIN_2", ACT_DRAIN_2, 40, 750, {15, 0}, |
6281 | - _("生命力吸収(120)", "drain life (120)") }, | |
6281 | + _("衰弱のボルト(120)", "hypodynamic bolt (120)") }, | |
6282 | 6282 | { "VAMPIRE_1", ACT_VAMPIRE_1, 40, 1000, {20, 0}, |
6283 | 6283 | _("吸血ドレイン(3*50)", "vampiric drain (3*50)") }, |
6284 | 6284 | { "BO_MISS_2", ACT_BO_MISS_2, 40, 1000, {20, 0}, |