• R/O
  • HTTP
  • SSH
  • HTTPS

hengband: Commit

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


Commit MetaInfo

Revision3b65081ae2b68cc2b687f0a708436105650f14bf (tree)
Time2019-06-26 00:09:10
Authordeskull <deskull@user...>
Commiterdeskull

Log Message

[Refactor] #38997 set_stun(), set_oppose_pois() に player_type * 引数を追加.

Change Summary

Incremental Difference

--- a/src/chest.c
+++ b/src/chest.c
@@ -290,7 +290,7 @@ void chest_trap(POSITION y, POSITION x, OBJECT_IDX o_idx)
290290 (void)set_paralyzed(p_ptr, p_ptr->paralyzed + 2 +
291291 randint0(6));
292292 else
293- (void)set_stun(p_ptr->stun + 10 +
293+ (void)set_stun(p_ptr, p_ptr->stun + 10 +
294294 randint0(100));
295295 }
296296 else if (one_in_(3)) apply_disenchant(0);
--- a/src/cmd-activate.c
+++ b/src/cmd-activate.c
@@ -1042,7 +1042,7 @@ bool activate_artifact(object_type *o_ptr)
10421042 (void)set_oppose_elec(p_ptr, randint1(50) + 50, FALSE);
10431043 (void)set_oppose_fire(p_ptr, randint1(50) + 50, FALSE);
10441044 (void)set_oppose_cold(p_ptr, randint1(50) + 50, FALSE);
1045- (void)set_oppose_pois(randint1(50) + 50, FALSE);
1045+ (void)set_oppose_pois(p_ptr, randint1(50) + 50, FALSE);
10461046 break;
10471047 }
10481048
@@ -1339,7 +1339,7 @@ bool activate_artifact(object_type *o_ptr)
13391339 (void)set_oppose_elec(p_ptr, randint1(40) + 40, FALSE);
13401340 (void)set_oppose_fire(p_ptr, randint1(40) + 40, FALSE);
13411341 (void)set_oppose_cold(p_ptr, randint1(40) + 40, FALSE);
1342- (void)set_oppose_pois(randint1(40) + 40, FALSE);
1342+ (void)set_oppose_pois(p_ptr, randint1(40) + 40, FALSE);
13431343 break;
13441344 }
13451345
@@ -1433,7 +1433,7 @@ bool activate_artifact(object_type *o_ptr)
14331433 case ACT_RESIST_POIS:
14341434 {
14351435 msg_format(_("%sが緑に輝いた...", "The %s grows green."), name);
1436- (void)set_oppose_pois(randint1(20) + 20, FALSE);
1436+ (void)set_oppose_pois(p_ptr, randint1(20) + 20, FALSE);
14371437 break;
14381438 }
14391439
@@ -1692,7 +1692,7 @@ bool activate_artifact(object_type *o_ptr)
16921692 (void)set_oppose_elec(p_ptr, v, FALSE);
16931693 (void)set_oppose_fire(p_ptr, v, FALSE);
16941694 (void)set_oppose_cold(p_ptr, v, FALSE);
1695- (void)set_oppose_pois(v, FALSE);
1695+ (void)set_oppose_pois(p_ptr, v, FALSE);
16961696 (void)set_ultimate_res(v, FALSE);
16971697 break;
16981698 }
--- a/src/cmd-basic.c
+++ b/src/cmd-basic.c
@@ -2309,7 +2309,7 @@ void do_cmd_fire(SPELL_IDX snipe_type)
23092309 {
23102310 msg_print(_("射撃の反動が体を襲った。", "A reactionary of shooting attacked you. "));
23112311 (void)set_slow(p_ptr, p_ptr->slow + randint0(7) + 7, FALSE);
2312- (void)set_stun(p_ptr->stun + randint1(25));
2312+ (void)set_stun(p_ptr, p_ptr->stun + randint1(25));
23132313 }
23142314 }
23152315
--- a/src/cmd-mane.c
+++ b/src/cmd-mane.c
@@ -658,7 +658,7 @@ static bool use_mane(int spell)
658658 case MS_HEAL:
659659 msg_print(_("自分の傷に念を集中した。", "You concentrate on your wounds!"));
660660 (void)hp_player(p_ptr, plev*6);
661- (void)set_stun(0);
661+ (void)set_stun(p_ptr, 0);
662662 (void)set_cut(0);
663663 break;
664664 case MS_INVULNER:
--- a/src/cmd-quaff.c
+++ b/src/cmd-quaff.c
@@ -453,7 +453,7 @@ void exe_quaff_potion(INVENTORY_IDX item)
453453 (void)set_oppose_elec(p_ptr, p_ptr->oppose_elec + randint1(20) + 20, FALSE);
454454 (void)set_oppose_fire(p_ptr, p_ptr->oppose_fire + randint1(20) + 20, FALSE);
455455 (void)set_oppose_cold(p_ptr, p_ptr->oppose_cold + randint1(20) + 20, FALSE);
456- (void)set_oppose_pois(p_ptr->oppose_pois + randint1(20) + 20, FALSE);
456+ (void)set_oppose_pois(p_ptr, p_ptr->oppose_pois + randint1(20) + 20, FALSE);
457457 ident = TRUE;
458458 break;
459459
--- a/src/core.c
+++ b/src/core.c
@@ -2067,7 +2067,7 @@ static void process_world_aux_timeout(void)
20672067 /* Oppose Poison */
20682068 if (p_ptr->oppose_pois)
20692069 {
2070- (void)set_oppose_pois(p_ptr->oppose_pois - 1, TRUE);
2070+ (void)set_oppose_pois(p_ptr, p_ptr->oppose_pois - 1, TRUE);
20712071 }
20722072
20732073 if (p_ptr->ult_res)
--- a/src/melee1.c
+++ b/src/melee1.c
@@ -3654,7 +3654,7 @@ bool make_attack_normal(MONSTER_IDX m_idx)
36543654 }
36553655 else
36563656 {
3657- if (set_stun(p_ptr->stun + 10 + randint1(r_ptr->level / 4)))
3657+ if (set_stun(p_ptr, p_ptr->stun + 10 + randint1(r_ptr->level / 4)))
36583658 {
36593659 obvious = TRUE;
36603660 }
@@ -3727,7 +3727,7 @@ bool make_attack_normal(MONSTER_IDX m_idx)
37273727 }
37283728
37293729 /* Apply the stun */
3730- if (stun_plus) (void)set_stun(p_ptr->stun + stun_plus);
3730+ if (stun_plus) (void)set_stun(p_ptr, p_ptr->stun + stun_plus);
37313731 }
37323732
37333733 if (explode)
--- a/src/mind.c
+++ b/src/mind.c
@@ -1111,7 +1111,7 @@ static bool cast_mindcrafter_spell(int spell)
11111111 if (plev > 19) set_oppose_fire(p_ptr, (TIME_EFFECT)plev, FALSE);
11121112 if (plev > 24) set_oppose_cold(p_ptr, (TIME_EFFECT)plev, FALSE);
11131113 if (plev > 29) set_oppose_elec(p_ptr, (TIME_EFFECT)plev, FALSE);
1114- if (plev > 34) set_oppose_pois((TIME_EFFECT)plev, FALSE);
1114+ if (plev > 34) set_oppose_pois(p_ptr, (TIME_EFFECT)plev, FALSE);
11151115 break;
11161116 case 7:
11171117 /* Psychometry */
--- a/src/mspells3.c
+++ b/src/mspells3.c
@@ -1281,7 +1281,7 @@ static bool cast_learned_spell(int spell, bool success)
12811281 case MS_HEAL:
12821282 msg_print(_("自分の傷に念を集中した。", "You concentrate on your wounds!"));
12831283 (void)hp_player(p_ptr, plev*4);
1284- (void)set_stun(0);
1284+ (void)set_stun(p_ptr, 0);
12851285 (void)set_cut(0);
12861286 break;
12871287 case MS_INVULNER:
--- a/src/mutation.c
+++ b/src/mutation.c
@@ -2249,7 +2249,7 @@ bool mutation_power_aux(int power)
22492249 }
22502250 if (num)
22512251 {
2252- (void)set_oppose_pois(dur, FALSE);
2252+ (void)set_oppose_pois(p_ptr, dur, FALSE);
22532253 num--;
22542254 }
22552255 }
--- a/src/player-effects.c
+++ b/src/player-effects.c
@@ -325,7 +325,7 @@ void dispel_player(void)
325325 (void)set_oppose_elec(p_ptr, 0, TRUE);
326326 (void)set_oppose_fire(p_ptr, 0, TRUE);
327327 (void)set_oppose_cold(p_ptr, 0, TRUE);
328- (void)set_oppose_pois(0, TRUE);
328+ (void)set_oppose_pois(p_ptr, 0, TRUE);
329329 (void)set_ultimate_res(0, TRUE);
330330 (void)set_mimic(p_ptr, 0, 0, TRUE);
331331 (void)set_ele_attack(p_ptr, 0, 0);
@@ -2627,20 +2627,20 @@ bool set_oppose_cold(player_type *creature_ptr, TIME_EFFECT v, bool do_dec)
26272627 * @param do_dec 現在の継続時間より長い値のみ上書きする
26282628 * @return ステータスに影響を及ぼす変化があった場合TRUEを返す。
26292629 */
2630-bool set_oppose_pois(TIME_EFFECT v, bool do_dec)
2630+bool set_oppose_pois(player_type *creature_ptr, TIME_EFFECT v, bool do_dec)
26312631 {
26322632 bool notice = FALSE;
26332633 v = (v > 10000) ? 10000 : (v < 0) ? 0 : v;
26342634
2635- if ((p_ptr->pclass == CLASS_NINJA) && (p_ptr->lev > 44)) v = 1;
2636- if (p_ptr->is_dead) return FALSE;
2635+ if ((creature_ptr->pclass == CLASS_NINJA) && (creature_ptr->lev > 44)) v = 1;
2636+ if (creature_ptr->is_dead) return FALSE;
26372637
26382638 /* Open */
26392639 if (v)
26402640 {
2641- if (p_ptr->oppose_pois && !do_dec)
2641+ if (creature_ptr->oppose_pois && !do_dec)
26422642 {
2643- if (p_ptr->oppose_pois > v) return FALSE;
2643+ if (creature_ptr->oppose_pois > v) return FALSE;
26442644 }
26452645 else if (!IS_OPPOSE_POIS())
26462646 {
@@ -2652,7 +2652,7 @@ bool set_oppose_pois(TIME_EFFECT v, bool do_dec)
26522652 /* Shut */
26532653 else
26542654 {
2655- if (p_ptr->oppose_pois && !music_singing(MUSIC_RESIST) && !(p_ptr->special_defense & KATA_MUSOU))
2655+ if (creature_ptr->oppose_pois && !music_singing(MUSIC_RESIST) && !(creature_ptr->special_defense & KATA_MUSOU))
26562656 {
26572657 msg_print(_("毒への耐性が薄れた気がする。", "You feel less resistant to poison."));
26582658 notice = TRUE;
@@ -2660,11 +2660,11 @@ bool set_oppose_pois(TIME_EFFECT v, bool do_dec)
26602660 }
26612661
26622662 /* Use the value */
2663- p_ptr->oppose_pois = v;
2663+ creature_ptr->oppose_pois = v;
26642664
26652665 /* Nothing to notice */
26662666 if (!notice) return (FALSE);
2667- p_ptr->redraw |= (PR_STATUS);
2667+ creature_ptr->redraw |= (PR_STATUS);
26682668
26692669 if (disturb_state) disturb(FALSE, FALSE);
26702670 handle_stuff();
--- a/src/player-effects.h
+++ b/src/player-effects.h
@@ -53,8 +53,8 @@ extern bool set_oppose_acid(player_type *creature_ptr, TIME_EFFECT v, bool do_de
5353 extern bool set_oppose_elec(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
5454 extern bool set_oppose_fire(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
5555 extern bool set_oppose_cold(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
56-extern bool set_oppose_pois(TIME_EFFECT v, bool do_dec);
57-extern bool set_stun(TIME_EFFECT v);
56+extern bool set_oppose_pois(player_type *creature_ptr, TIME_EFFECT v, bool do_dec);
57+extern bool set_stun(player_type *creature_ptr, TIME_EFFECT v);
5858 extern bool set_cut(TIME_EFFECT v);
5959 extern bool set_food(TIME_EFFECT v);
6060 extern bool inc_stat(player_type *creature_ptr, int stat);
--- a/src/realm-craft.c
+++ b/src/realm-craft.c
@@ -195,7 +195,7 @@ concptr do_craft_spell(SPELL_IDX spell, BIT_FLAGS mode)
195195
196196 if (cast)
197197 {
198- set_oppose_pois(randint1(base) + base, FALSE);
198+ set_oppose_pois(p_ptr, randint1(base) + base, FALSE);
199199 }
200200 }
201201 break;
@@ -325,7 +325,7 @@ concptr do_craft_spell(SPELL_IDX spell, BIT_FLAGS mode)
325325 set_oppose_elec(p_ptr, randint1(base) + base, FALSE);
326326 set_oppose_fire(p_ptr, randint1(base) + base, FALSE);
327327 set_oppose_cold(p_ptr, randint1(base) + base, FALSE);
328- set_oppose_pois(randint1(base) + base, FALSE);
328+ set_oppose_pois(p_ptr, randint1(base) + base, FALSE);
329329 }
330330 }
331331 break;
--- a/src/realm-crusade.c
+++ b/src/realm-crusade.c
@@ -129,7 +129,7 @@ concptr do_crusade_spell(SPELL_IDX spell, BIT_FLAGS mode)
129129 {
130130 set_cut(0);
131131 set_poisoned(p_ptr, 0);
132- set_stun(0);
132+ set_stun(p_ptr, 0);
133133 }
134134 }
135135 break;
@@ -269,7 +269,7 @@ concptr do_crusade_spell(SPELL_IDX spell, BIT_FLAGS mode)
269269 hp_player(p_ptr, heal);
270270 set_afraid(p_ptr, 0);
271271 set_poisoned(p_ptr, 0);
272- set_stun(0);
272+ set_stun(p_ptr, 0);
273273 set_cut(0);
274274 }
275275 }
--- a/src/realm-death.c
+++ b/src/realm-death.c
@@ -155,7 +155,7 @@ concptr do_death_spell(SPELL_IDX spell, BIT_FLAGS mode)
155155
156156 if (cast)
157157 {
158- set_oppose_pois(randint1(base) + base, FALSE);
158+ set_oppose_pois(p_ptr, randint1(base) + base, FALSE);
159159 }
160160 }
161161 break;
--- a/src/realm-life.c
+++ b/src/realm-life.c
@@ -476,7 +476,7 @@ concptr do_life_spell(SPELL_IDX spell, BIT_FLAGS mode)
476476 set_oppose_elec(p_ptr, v, FALSE);
477477 set_oppose_fire(p_ptr, v, FALSE);
478478 set_oppose_cold(p_ptr, v, FALSE);
479- set_oppose_pois(v, FALSE);
479+ set_oppose_pois(p_ptr, v, FALSE);
480480 set_ultimate_res(v, FALSE);
481481 }
482482 }
--- a/src/realm-nature.c
+++ b/src/realm-nature.c
@@ -365,7 +365,7 @@ concptr do_nature_spell(SPELL_IDX spell, BIT_FLAGS mode)
365365 set_oppose_elec(p_ptr, randint1(base) + base, FALSE);
366366 set_oppose_fire(p_ptr, randint1(base) + base, FALSE);
367367 set_oppose_cold(p_ptr, randint1(base) + base, FALSE);
368- set_oppose_pois(randint1(base) + base, FALSE);
368+ set_oppose_pois(p_ptr, randint1(base) + base, FALSE);
369369 }
370370 }
371371 break;
--- a/src/realm-song.c
+++ b/src/realm-song.c
@@ -848,7 +848,7 @@ concptr do_music_spell(SPELL_IDX spell, BIT_FLAGS mode)
848848 if (cont)
849849 {
850850 hp_player(p_ptr, damroll(dice, sides));
851- set_stun(0);
851+ set_stun(p_ptr, 0);
852852 set_cut(0);
853853 }
854854 }
--- a/src/spells-floor.c
+++ b/src/spells-floor.c
@@ -875,14 +875,14 @@ bool earthquake(POSITION cy, POSITION cx, POSITION r, MONSTER_IDX m_idx)
875875 {
876876 msg_print(_("岩石があなたに直撃した!", "You are bashed by rubble!"));
877877 damage = damroll(10, 4);
878- (void)set_stun(p_ptr->stun + randint1(50));
878+ (void)set_stun(p_ptr, p_ptr->stun + randint1(50));
879879 break;
880880 }
881881 case 3:
882882 {
883883 msg_print(_("あなたは床と壁との間に挟まれてしまった!", "You are crushed between the floor and ceiling!"));
884884 damage = damroll(10, 4);
885- (void)set_stun(p_ptr->stun + randint1(50));
885+ (void)set_stun(p_ptr, p_ptr->stun + randint1(50));
886886 break;
887887 }
888888 }
--- a/src/spells-status.c
+++ b/src/spells-status.c
@@ -281,7 +281,7 @@ bool_hack life_stream(bool_hack message, bool_hack virtue_change)
281281 (void)set_blind(p_ptr, 0);
282282 (void)set_confused(p_ptr, 0);
283283 (void)set_image(p_ptr, 0);
284- (void)set_stun(0);
284+ (void)set_stun(p_ptr, 0);
285285 (void)set_cut(0);
286286 (void)restore_all_status();
287287 (void)set_shero(p_ptr, 0, TRUE);
@@ -337,7 +337,7 @@ bool_hack cure_critical_wounds(HIT_POINT pow)
337337 if (set_blind(p_ptr, 0)) ident = TRUE;
338338 if (set_confused(p_ptr, 0)) ident = TRUE;
339339 if (set_poisoned(p_ptr, 0)) ident = TRUE;
340- if (set_stun(0)) ident = TRUE;
340+ if (set_stun(p_ptr, 0)) ident = TRUE;
341341 if (set_cut(0)) ident = TRUE;
342342 if (set_shero(p_ptr, 0, TRUE)) ident = TRUE;
343343 return ident;
@@ -350,7 +350,7 @@ bool_hack true_healing(HIT_POINT pow)
350350 if (set_blind(p_ptr, 0)) ident = TRUE;
351351 if (set_confused(p_ptr, 0)) ident = TRUE;
352352 if (set_poisoned(p_ptr, 0)) ident = TRUE;
353- if (set_stun(0)) ident = TRUE;
353+ if (set_stun(p_ptr, 0)) ident = TRUE;
354354 if (set_cut(0)) ident = TRUE;
355355 if (set_image(p_ptr, 0)) ident = TRUE;
356356 return ident;
--- a/src/spells1.c
+++ b/src/spells1.c
@@ -1747,7 +1747,7 @@ static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
17471747 set_confused(p_ptr, p_ptr->confused + 3 + randint1(dam));
17481748 break;
17491749 case 2:
1750- set_stun(p_ptr->stun + randint1(dam));
1750+ set_stun(p_ptr, p_ptr->stun + randint1(dam));
17511751 break;
17521752 case 3:
17531753 {
@@ -1939,7 +1939,7 @@ static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
19391939 switch (randint1(4))
19401940 {
19411941 case 1:
1942- set_stun(p_ptr->stun + dam / 2);
1942+ set_stun(p_ptr, p_ptr->stun + dam / 2);
19431943 break;
19441944 case 2:
19451945 set_confused(p_ptr, p_ptr->confused + dam / 2);
@@ -4256,7 +4256,7 @@ static bool project_p(MONSTER_IDX who, concptr who_name, int r, POSITION y, POSI
42564256 if (!p_ptr->resist_sound && !CHECK_MULTISHADOW())
42574257 {
42584258 int plus_stun = (randint1((dam > 40) ? 35 : (dam * 3 / 4 + 5)));
4259- (void)set_stun(p_ptr->stun + plus_stun);
4259+ (void)set_stun(p_ptr, p_ptr->stun + plus_stun);
42604260 }
42614261
42624262 if (!(p_ptr->resist_fire || IS_OPPOSE_FIRE() || p_ptr->immune_fire))
@@ -4302,7 +4302,7 @@ static bool project_p(MONSTER_IDX who, concptr who_name, int r, POSITION y, POSI
43024302 {
43034303 if (!p_ptr->resist_sound && !p_ptr->resist_water)
43044304 {
4305- set_stun(p_ptr->stun + randint1(40));
4305+ set_stun(p_ptr, p_ptr->stun + randint1(40));
43064306 }
43074307 if (!p_ptr->resist_conf && !p_ptr->resist_water)
43084308 {
@@ -4394,7 +4394,7 @@ static bool project_p(MONSTER_IDX who, concptr who_name, int r, POSITION y, POSI
43944394 else if (!CHECK_MULTISHADOW())
43954395 {
43964396 int plus_stun = (randint1((dam > 90) ? 35 : (dam / 3 + 5)));
4397- (void)set_stun(p_ptr->stun + plus_stun);
4397+ (void)set_stun(p_ptr, p_ptr->stun + plus_stun);
43984398 }
43994399
44004400 if (!p_ptr->resist_sound || one_in_(13))
@@ -4460,7 +4460,7 @@ static bool project_p(MONSTER_IDX who, concptr who_name, int r, POSITION y, POSI
44604460 if (fuzzy) msg_print(_("運動エネルギーで攻撃された!", "You are hit by kinetic force!"));
44614461 if (!p_ptr->resist_sound && !CHECK_MULTISHADOW())
44624462 {
4463- (void)set_stun(p_ptr->stun + randint1(20));
4463+ (void)set_stun(p_ptr, p_ptr->stun + randint1(20));
44644464 }
44654465 get_damage = take_hit(DAMAGE_ATTACK, dam, killer, monspell);
44664466 break;
@@ -4473,7 +4473,7 @@ static bool project_p(MONSTER_IDX who, concptr who_name, int r, POSITION y, POSI
44734473 if (fuzzy) msg_print(_("爆発があった!", "There is an explosion!"));
44744474 if (!p_ptr->resist_sound && !CHECK_MULTISHADOW())
44754475 {
4476- (void)set_stun(p_ptr->stun + randint1(20));
4476+ (void)set_stun(p_ptr, p_ptr->stun + randint1(20));
44774477 }
44784478
44794479 if (p_ptr->resist_shard)
@@ -4638,7 +4638,7 @@ static bool project_p(MONSTER_IDX who, concptr who_name, int r, POSITION y, POSI
46384638 if (!(p_ptr->resist_sound || p_ptr->levitation))
46394639 {
46404640 int plus_stun = (randint1((dam > 90) ? 35 : (dam / 3 + 5)));
4641- (void)set_stun(p_ptr->stun + plus_stun);
4641+ (void)set_stun(p_ptr, p_ptr->stun + plus_stun);
46424642 }
46434643 }
46444644 if (p_ptr->levitation)
@@ -4751,7 +4751,7 @@ static bool project_p(MONSTER_IDX who, concptr who_name, int r, POSITION y, POSI
47514751 }
47524752 if (!p_ptr->resist_sound)
47534753 {
4754- (void)set_stun(p_ptr->stun + randint1(15));
4754+ (void)set_stun(p_ptr, p_ptr->stun + randint1(15));
47554755 }
47564756
47574757 if ((!(p_ptr->resist_cold || IS_OPPOSE_COLD())) || one_in_(12))
--- a/src/spells2.c
+++ b/src/spells2.c
@@ -918,7 +918,7 @@ bool cleansing_nova(player_type *creature_ptr, bool magic, bool powerful)
918918 if (set_poisoned(p_ptr, 0)) ident = TRUE;
919919 if (set_afraid(p_ptr, 0)) ident = TRUE;
920920 if (hp_player(p_ptr, 50)) ident = TRUE;
921- if (set_stun(0)) ident = TRUE;
921+ if (set_stun(p_ptr, 0)) ident = TRUE;
922922 if (set_cut(0)) ident = TRUE;
923923 return ident;
924924 }
--- a/src/spells3.c
+++ b/src/spells3.c
@@ -3467,7 +3467,7 @@ bool detonation(player_type *creature_ptr)
34673467 {
34683468 msg_print(_("体の中で激しい爆発が起きた!", "Massive explosions rupture your body!"));
34693469 take_hit(DAMAGE_NOESCAPE, damroll(50, 20), _("爆発の薬", "a potion of Detonation"), -1);
3470- (void)set_stun(creature_ptr->stun + 75);
3470+ (void)set_stun(p_ptr, creature_ptr->stun + 75);
34713471 (void)set_cut(creature_ptr->cut + 5000);
34723472 return TRUE;
34733473 }
Show on old repository browser