• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

変愚蛮怒のメインリポジトリです


Commit MetaInfo

Revisionde726cfdeaca7388b8dd66c37def09d7bca31a8f (tree)
Zeit2018-04-15 01:09:36
AutorDeskull <deskull@user...>
CommiterDeskull

Log Message

[fix](2.2.1.1) #37582 drain_life()をhypodynamic_bolt()に改名。 / Rename drain_life() to hypodynamic_bolt().

Ändern Zusammenfassung

Diff

--- a/src/artifact.c
+++ b/src/artifact.c
@@ -2371,7 +2371,7 @@ bool activate_random_artifact(object_type *o_ptr)
23712371 {
23722372 msg_format(_("あなたは%sに敵を締め殺すよう命じた。", "You order the %s to strangle your opponent."), name);
23732373 if (!get_aim_dir(&dir)) return FALSE;
2374- if (drain_life(dir, 100))
2374+ if (hypodynamic_bolt(dir, 100))
23752375 break;
23762376 }
23772377
@@ -2379,7 +2379,7 @@ bool activate_random_artifact(object_type *o_ptr)
23792379 {
23802380 msg_print(_("黒く輝いている...", "It glows black..."));
23812381 if (!get_aim_dir(&dir)) return FALSE;
2382- drain_life(dir, 120);
2382+ hypodynamic_bolt(dir, 120);
23832383 break;
23842384 }
23852385
@@ -2388,7 +2388,7 @@ bool activate_random_artifact(object_type *o_ptr)
23882388 if (!get_aim_dir(&dir)) return FALSE;
23892389 for (dummy = 0; dummy < 3; dummy++)
23902390 {
2391- if (drain_life(dir, 50))
2391+ if (hypodynamic_bolt(dir, 50))
23922392 hp_player(50);
23932393 }
23942394 break;
@@ -2431,7 +2431,7 @@ bool activate_random_artifact(object_type *o_ptr)
24312431 if (!get_aim_dir(&dir)) return FALSE;
24322432 for (dummy = 0; dummy < 3; dummy++)
24332433 {
2434- if (drain_life(dir, 100))
2434+ if (hypodynamic_bolt(dir, 100))
24352435 hp_player(100);
24362436 }
24372437 break;
--- a/src/cmd6.c
+++ b/src/cmd6.c
@@ -2677,7 +2677,7 @@ static int wand_effect(OBJECT_SUBTYPE_VALUE sval, int dir, bool powerful, bool m
26772677
26782678 case SV_WAND_DRAIN_LIFE:
26792679 {
2680- if (drain_life(dir, 80 + lev)) ident = TRUE;
2680+ if (hypodynamic_bolt(dir, 80 + lev)) ident = TRUE;
26812681 break;
26822682 }
26832683
@@ -3191,7 +3191,7 @@ static int rod_effect(OBJECT_SUBTYPE_VALUE sval, int dir, bool *use_charge, bool
31913191
31923192 case SV_ROD_DRAIN_LIFE:
31933193 {
3194- if (drain_life(dir, 70 + 3 * lev / 2)) ident = TRUE;
3194+ if (hypodynamic_bolt(dir, 70 + 3 * lev / 2)) ident = TRUE;
31953195 break;
31963196 }
31973197
--- a/src/do-spell.c
+++ b/src/do-spell.c
@@ -303,12 +303,12 @@ static void cast_wonder(int dir)
303303 else if (die < 71)
304304 fire_bolt_or_beam(beam_chance(), GF_FIRE, dir,
305305 damroll(8 + ((plev - 5) / 4), 8));
306- else if (die < 76) drain_life(dir, 75);
306+ else if (die < 76) hypodynamic_bolt(dir, 75);
307307 else if (die < 81) fire_ball(GF_ELEC, dir, 30 + plev / 2, 2);
308308 else if (die < 86) fire_ball(GF_ACID, dir, 40 + plev, 2);
309309 else if (die < 91) fire_ball(GF_ICE, dir, 70 + plev, 3);
310310 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);
312312 else if (die < 104)
313313 {
314314 earthquake(p_ptr->y, p_ptr->x, 12);
@@ -429,7 +429,7 @@ static void cast_invoke_spirits(int dir)
429429 }
430430 else if (die < 76)
431431 {
432- drain_life(dir, 75);
432+ hypodynamic_bolt(dir, 75);
433433 }
434434 else if (die < 81)
435435 {
@@ -449,7 +449,7 @@ static void cast_invoke_spirits(int dir)
449449 }
450450 else if (die < 101)
451451 {
452- drain_life(dir, 100 + plev);
452+ hypodynamic_bolt(dir, 100 + plev);
453453 }
454454 else if (die < 104)
455455 {
@@ -3630,7 +3630,7 @@ static cptr do_death_spell(SPELL_IDX spell, BIT_FLAGS mode)
36303630
36313631 if (!get_aim_dir(&dir)) return NULL;
36323632
3633- if (drain_life(dir, dam))
3633+ if (hypodynamic_bolt(dir, dam))
36343634 {
36353635 chg_virtue(V_SACRIFICE, -1);
36363636 chg_virtue(V_VITALITY, -1);
@@ -3795,7 +3795,7 @@ static cptr do_death_spell(SPELL_IDX spell, BIT_FLAGS mode)
37953795
37963796 for (i = 0; i < 3; i++)
37973797 {
3798- if (drain_life(dir, dam))
3798+ if (hypodynamic_bolt(dir, dam))
37993799 hp_player(dam);
38003800 }
38013801 }
--- a/src/externs.h
+++ b/src/externs.h
@@ -1155,7 +1155,7 @@ extern void call_chaos(void);
11551155 extern bool fire_beam(int typ, int dir, HIT_POINT dam);
11561156 extern bool fire_bolt_or_beam(int prob, int typ, int dir, HIT_POINT dam);
11571157 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);
11591159 extern bool death_ray(int dir, int plev);
11601160 extern bool wall_to_mud(int dir, HIT_POINT dam);
11611161 extern bool destroy_door(int dir);
--- a/src/mind.c
+++ b/src/mind.c
@@ -402,7 +402,7 @@ static cptr const mind_tips[5][MAX_MIND_POWERS] =
402402 "1体のモンスターと位置を交換する。",
403403 "自分のいる床の上に、モンスターが通ると爆発してダメージを与えるルーンを描く。",
404404 "一定時間、半物質化し壁を通り抜けられるようになる。さらに、一定時間酸への耐性を得る。装備による耐性に累積する。",
405- "自分を中心とした超巨大な毒、生命力吸収、混乱の球を発生させ、テレポートする。",
405+ "自分を中心とした超巨大な毒、衰弱、混乱の球を発生させ、テレポートする。",
406406 "ランダムな方向に何回か炎か地獄かプラズマのビームを放つ。",
407407 "全ての攻撃が、1/2の確率で無効になる。",
408408 "",
@@ -420,7 +420,7 @@ static cptr const mind_tips[5][MAX_MIND_POWERS] =
420420 "Generate a ball centered on you which inflict monster with PSI damage. Or inflict all monsters with PSI damage at level 25.",
421421 "Removes fear and stun. Gives heroism and speed. Heals HP a little unless you already have heroism and temporal speed boost.",
422422 "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.",
424424 "Fires a beam of pure energy which penetrate the invulnerability barrier.",
425425 "Stops time. Consumes all of your SP. The more consumes SP, the longer duration of spell.",
426426 "",
--- a/src/mutation.c
+++ b/src/mutation.c
@@ -2180,7 +2180,7 @@ bool mutation_power_aux(u32b power)
21802180
21812181 dummy = lvl * 2;
21822182
2183- if (drain_life(dir, dummy))
2183+ if (hypodynamic_bolt(dir, dummy))
21842184 {
21852185 if (p_ptr->food < PY_FOOD_FULL)
21862186 /* No heal if we are "full" */
--- a/src/racial.c
+++ b/src/racial.c
@@ -1263,7 +1263,7 @@ static bool cmd_racial_power_aux(s32b command)
12631263
12641264 msg_print(_("あなたはニヤリとして牙をむいた...", "You grin and bare your fangs..."));
12651265 dummy = plev + randint1(plev) * MAX(1, plev / 10); /* Dmg */
1266- if (drain_life(dir, dummy))
1266+ if (hypodynamic_bolt(dir, dummy))
12671267 {
12681268 if (p_ptr->food < PY_FOOD_FULL)
12691269 /* No heal if we are "full" */
@@ -1617,7 +1617,7 @@ static bool cmd_racial_power_aux(s32b command)
16171617
16181618 msg_print(_("あなたはニヤリとして牙をむいた...", "You grin and bare your fangs..."));
16191619 dummy = plev + randint1(plev) * MAX(1, plev / 10); /* Dmg */
1620- if (drain_life(dir, dummy))
1620+ if (hypodynamic_bolt(dir, dummy))
16211621 {
16221622 if (p_ptr->food < PY_FOOD_FULL)
16231623 /* No heal if we are "full" */
--- a/src/spells2.c
+++ b/src/spells2.c
@@ -5029,12 +5029,12 @@ bool lite_line(int dir, HIT_POINT dam)
50295029 }
50305030
50315031 /*!
5032- * @brief 吸血ボルト処理
5032+ * @brief 衰弱ボルト処理
50335033 * @param dir 方向(5ならばグローバル変数 target_col/target_row の座標を目標にする)
50345034 * @param dam 威力
50355035 * @return 作用が実際にあった場合TRUEを返す
50365036 */
5037-bool drain_life(int dir, HIT_POINT dam)
5037+bool hypodynamic_bolt(int dir, HIT_POINT dam)
50385038 {
50395039 BIT_FLAGS flg = PROJECT_STOP | PROJECT_KILL | PROJECT_REFLECTABLE;
50405040 return (project_hook(GF_HYPODYNAMIA, dir, dam, flg));
--- a/src/tables.c
+++ b/src/tables.c
@@ -6278,7 +6278,7 @@ const activation_type activation_info[] =
62786278 { "DRAIN_1", ACT_DRAIN_1, 30, 500, {12, 0},
62796279 _("窒息攻撃(100)", "a strangling attack (100)") },
62806280 { "DRAIN_2", ACT_DRAIN_2, 40, 750, {15, 0},
6281- _("生命力吸収(120)", "drain life (120)") },
6281+ _("衰弱のボルト(120)", "hypodynamic bolt (120)") },
62826282 { "VAMPIRE_1", ACT_VAMPIRE_1, 40, 1000, {20, 0},
62836283 _("吸血ドレイン(3*50)", "vampiric drain (3*50)") },
62846284 { "BO_MISS_2", ACT_BO_MISS_2, 40, 1000, {20, 0},