+ * \88ê\95\94\82Ì\8e\80\88ö\82Å\81u\8e\80\82ñ\82¾\81v\82ª\95\\8e¦\82³\82ê\82È\82¢\96â\91è\82ð\8fC\90³ (#36579)
+
Sun Jun 11 2016 Kentaro Shirakata <argrath@ub32.org>
* JNetHack-3.6.0-0.6\83\8a\83\8a\81[\83X
pline("Ingesting that is fatal.");
*/
pline("\8eæ\82è\8d\9e\82ñ\82¾\82ç\82·\82®\82É\8e\80\82ñ\82Å\82µ\82Ü\82Á\82½\81D");
-/*JP
+#if 0 /*JP*/
Sprintf(killer.name, "unwisely ate the brain of %s", pd->mname);
-*/
- Sprintf(killer.name, "\8bð\82©\82É\82à%s\82Ì\91Ì\82ð\90H\82×\82Ä", pd->mname);
killer.format = NO_KILLER_PREFIX;
+#else
+ Sprintf(killer.name, "\8bð\82©\82É\82à%s\82Ì\91Ì\82ð\90H\82×\82Ä", pd->mname);
+ killer.format = KILLED_BY;
+#endif
done(DIED);
/* life-saving needed to reach here */
exercise(A_WIS, FALSE);
*/
You("\8f°\82É\92@\82«\82Â\82¯\82ç\82ê\82½\81I");
dmg = rn1(8, 25 - (int) ACURR(A_CON));
+#if 0 /*JP*/
losehp(Maybe_Half_Phys(dmg), fell_on_sink, NO_KILLER_PREFIX);
+#else
+ losehp(Maybe_Half_Phys(dmg), fell_on_sink, KILLED_BY);
+#endif
exercise(A_DEX, FALSE);
/*JP
selftouch("Falling, you");
"fell into a chasm", NO_KILLER_PREFIX);
#else
losehp(Maybe_Half_Phys(rnd(6)),
- "\92n\8a\84\82ê\82É\97\8e\82¿\82Ä", NO_KILLER_PREFIX);
+ "\92n\8a\84\82ê\82É\97\8e\82¿\82Ä", KILLED_BY);
#endif
/*JP
selftouch("Falling, you");
"hurt in a chasm", NO_KILLER_PREFIX);
#else
losehp(Maybe_Half_Phys(rnd(keepfooting ? 2 : 4)),
- "\92n\8a\84\82ê\82Å\8f\9d\82Â\82¢\82Ä", NO_KILLER_PREFIX);
+ "\92n\8a\84\82ê\82Å\8f\9d\82Â\82¢\82Ä", KILLED_BY);
#endif
if (keepfooting)
exercise(A_DEX, TRUE);
{
/* You can't revert back while unchanging */
if (Unchanging && (u.mh < 1)) {
+#if 0 /*JP*/
killer.format = NO_KILLER_PREFIX;
-/*JP
Strcpy(killer.name, "killed while stuck in creature form");
-*/
+#else
+ killer.format = KILLED_BY;
Strcpy(killer.name, "\8c³\82Ì\8ep\82Ö\96ß\82ê\82¸\82É");
+#endif
done(DIED);
}
#if 0 /*JP*/
Sprintf(buf, "zapped %sself with a spell",
uhim());
+ losehp(damage, buf, NO_KILLER_PREFIX);
#else
Strcpy(buf, "\8e©\95ª\8e©\90g\82Ì\96\82\96@\82ð\97\81\82Ñ\82Ä");
+ losehp(damage, buf, KILLED_BY);
#endif
- losehp(damage, buf, NO_KILLER_PREFIX);
}
} else {
explode(u.dx, u.dy,
Strcpy(buf, "\8e©\95ª\8e©\90g\82Ì\96\82\96@\82ð\97\81\82Ñ\82Ä");
if (physical_damage)
damage = Maybe_Half_Phys(damage);
+#if 0 /*JP*/
losehp(damage, buf, NO_KILLER_PREFIX);
+#else
+ losehp(damage, buf, KILLED_BY);
+#endif
}
} else
weffects(pseudo);
SUPPRESS_IT | SUPPRESS_INVISIBLE
| SUPPRESS_HALLUCINATION,
TRUE));
+#if 0 /*JP*/
losehp(Maybe_Half_Phys(rn1(5, 10)), buf, NO_KILLER_PREFIX);
+#else
+ losehp(Maybe_Half_Phys(rn1(5, 10)), buf, KILLED_BY);
+#endif
return (FALSE);
}
? "\82í\82´\82í\82´\83g\83Q\82¾\82ç\82¯\82Ì\97\8e\82µ\8c\8a\82É\93Ë\93ü\82µ\82Ä"
: adj_pit ? "\83g\83Q\82¾\82ç\82¯\82Ì\97\8e\82µ\8c\8a\82É\93¥\82Ý\8d\9e\82ñ\82Å"
: "\83g\83Q\82¾\82ç\82¯\82Ì\97\8e\82µ\8c\8a\82É\97\8e\82¿\82Ä",
- NO_KILLER_PREFIX);
+ KILLED_BY);
#endif
if (!rn2(6))
#if 0 /*JP*/
losehp(Maybe_Half_Phys(rnd(6)),
plunged ? "\82í\82´\82í\82´\97\8e\82µ\8c\8a\82É\93Ë\93ü\82µ\82Ä"
: "\97\8e\82µ\8c\8a\82É\97\8e\82¿\82Ä",
- NO_KILLER_PREFIX);
+ KILLED_BY);
#endif
}
if (Punished && !carried(uball)) {
Sprintf(buf, "zapped %sself with a wand", uhim());
losehp(Maybe_Half_Phys(damage), buf, NO_KILLER_PREFIX);
#else
- losehp(Maybe_Half_Phys(damage), "\8e©\95ª\8e©\90g\82Ì\8fñ\82Ì\97Í\82ð\97\81\82Ñ\82Ä", NO_KILLER_PREFIX);
+ losehp(Maybe_Half_Phys(damage), "\8e©\95ª\8e©\90g\82Ì\8fñ\82Ì\97Í\82ð\97\81\82Ñ\82Ä", KILLED_BY);
#endif
}
} else {
break;
}
learn_it = TRUE;
-/*JP
+#if 0 /*JP*/
Sprintf(killer.name, "shot %sself with a death ray", uhim());
-*/
- Strcpy(killer.name, "\8e©\95ª\82ª\8c\82\82Á\82½\8e\80\82Ì\8cõ\90ü\82É\82æ\82Á\82Ä");
killer.format = NO_KILLER_PREFIX;
+#else
+ Strcpy(killer.name, "\8e©\95ª\82ª\8c\82\82Á\82½\8e\80\82Ì\8cõ\90ü\82É\82æ\82Á\82Ä");
+ killer.format = KILLED_BY;
+#endif
/*JP
You("irradiate yourself with pure energy!");
*/
Sprintf(buf, "%s %sself with %s", ordinary ? "zapped" : "blasted",
uhim(), how);
/* might rehumanize(); could be fatal, but only for Unchanging */
+#if 0 /*JP*/
losehp(Maybe_Half_Phys(dmg), buf, NO_KILLER_PREFIX);
+#else
+ losehp(Maybe_Half_Phys(dmg), buf, KILLED_BY);
+#endif
}
return dmg;
}