OSDN Git Service
(root)
/
hengband
/
hengband.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Refactor] #37353 コメント整理 / Refactor comments.
[hengband/hengband.git]
/
src
/
spells1.c
diff --git
a/src/spells1.c
b/src/spells1.c
index
0430f78
..
7e362f6
100644
(file)
--- a/
src/spells1.c
+++ b/
src/spells1.c
@@
-753,7
+753,7
@@
static bool project_f(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
case GF_GRAVITY:
message = _("粉砕された", "was crushed."); break;
default:
case GF_GRAVITY:
message = _("粉砕された", "was crushed."); break;
default:
- message = NULL;break;
+ message = NULL;
break;
}
if (message)
{
}
if (message)
{
@@
-1559,9
+1559,6
@@
static bool project_o(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
k_idx = o_ptr->k_idx;
is_potion = object_is_potion(o_ptr);
k_idx = o_ptr->k_idx;
is_potion = object_is_potion(o_ptr);
-
-
- /* Delete the object */
delete_object_idx(this_o_idx);
/* Potions produce effects when 'shattered' */
delete_object_idx(this_o_idx);
/* Potions produce effects when 'shattered' */
@@
-3710,7
+3707,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
if (!resists_tele)
{
if (!resists_tele)
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Prepare to teleport */
if (seen) obvious = TRUE;
/* Prepare to teleport */
@@
-3734,7
+3730,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
/* Only affect undead */
if (r_ptr->flags3 & (RF3_UNDEAD))
{
/* Only affect undead */
if (r_ptr->flags3 & (RF3_UNDEAD))
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Learn about type */
if (seen) obvious = TRUE;
/* Learn about type */
@@
-3777,7
+3772,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
/* Only affect evil */
if (r_ptr->flags3 & (RF3_EVIL))
{
/* Only affect evil */
if (r_ptr->flags3 & (RF3_EVIL))
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Learn about type */
if (seen) obvious = TRUE;
/* Learn about type */
@@
-3817,7
+3811,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
skipped = TRUE;
break;
}
skipped = TRUE;
break;
}
- /* Obvious */
if (seen) obvious = TRUE;
/* Apply some fear */
if (seen) obvious = TRUE;
/* Apply some fear */
@@
-3852,7
+3845,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
/* Only affect undead */
if (r_ptr->flags3 & (RF3_UNDEAD))
{
/* Only affect undead */
if (r_ptr->flags3 & (RF3_UNDEAD))
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Learn about type */
if (seen) obvious = TRUE;
/* Learn about type */
@@
-3888,7
+3880,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
/* Only affect evil */
if (r_ptr->flags3 & (RF3_EVIL))
{
/* Only affect evil */
if (r_ptr->flags3 & (RF3_EVIL))
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Learn about type */
if (seen) obvious = TRUE;
/* Learn about type */
@@
-3923,7
+3914,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
/* Only affect good */
if (r_ptr->flags3 & (RF3_GOOD))
{
/* Only affect good */
if (r_ptr->flags3 & (RF3_GOOD))
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Learn about type */
if (seen) obvious = TRUE;
/* Learn about type */
@@
-3958,7
+3948,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
/* Only affect non-undead */
if (monster_living(r_ptr))
{
/* Only affect non-undead */
if (monster_living(r_ptr))
{
- /* Obvious */
if (seen) obvious = TRUE;
note = _("は身震いした。", " shudders.");
if (seen) obvious = TRUE;
note = _("は身震いした。", " shudders.");
@@
-3990,7
+3979,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
/* Only affect demons */
if (r_ptr->flags3 & (RF3_DEMON))
{
/* Only affect demons */
if (r_ptr->flags3 & (RF3_DEMON))
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Learn about type */
if (seen) obvious = TRUE;
/* Learn about type */
@@
-4022,7
+4010,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
dam = 0;
break;
}
dam = 0;
break;
}
- /* Obvious */
if (seen) obvious = TRUE;
note = _("は身震いした。", " shudders.");
if (seen) obvious = TRUE;
note = _("は身震いした。", " shudders.");
@@
-4686,7
+4673,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
!(r_ptr->flagsr & (RFR_RES_SOUN | RFR_RES_WALL)) &&
!(r_ptr->flags3 & RF3_NO_STUN))
{
!(r_ptr->flagsr & (RFR_RES_SOUN | RFR_RES_WALL)) &&
!(r_ptr->flags3 & RF3_NO_STUN))
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Get stunned */
if (seen) obvious = TRUE;
/* Get stunned */
@@
-4713,7
+4699,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
!(r_ptr->flags3 & RF3_NO_CONF) &&
!(r_ptr->flagsr & RFR_EFF_RES_CHAO_MASK))
{
!(r_ptr->flags3 & RF3_NO_CONF) &&
!(r_ptr->flagsr & RFR_EFF_RES_CHAO_MASK))
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Already partially confused */
if (seen) obvious = TRUE;
/* Already partially confused */
@@
-4739,7
+4724,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
if (do_time)
{
if (do_time)
{
- /* Obvious */
if (seen) obvious = TRUE;
if (do_time >= m_ptr->maxhp) do_time = m_ptr->maxhp - 1;
if (seen) obvious = TRUE;
if (do_time >= m_ptr->maxhp) do_time = m_ptr->maxhp - 1;
@@
-4758,7
+4742,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
{
if (polymorph_monster(y, x))
{
{
if (polymorph_monster(y, x))
{
- /* Obvious */
if (seen) obvious = TRUE;
/* Monster polymorphs */
if (seen) obvious = TRUE;
/* Monster polymorphs */
@@
-4783,7
+4766,6
@@
static bool project_m(MONSTER_IDX who, POSITION r, POSITION y, POSITION x, HIT_P
/* Handle "teleport" */
if (do_dist)
{
/* Handle "teleport" */
if (do_dist)
{
- /* Obvious */
if (seen) obvious = TRUE;
note = _("が消え去った!", " disappears!");
if (seen) obvious = TRUE;
note = _("が消え去った!", " disappears!");