aura_damage = damroll(1 + (r_ptr->level / 26), 1 + (r_ptr->level / 17));
/* Hack -- Get the "died from" name */
- monster_desc(aura_dam, m_ptr, 0x88);
+ monster_desc(aura_dam, m_ptr, 0x288);
#ifdef JP
msg_print("ÆÍÁ³¤È¤Æ¤âÇ®¤¯¤Ê¤Ã¤¿¡ª");
aura_damage = damroll(1 + (r_ptr->level / 26), 1 + (r_ptr->level / 17));
/* Hack -- Get the "died from" name */
- monster_desc(aura_dam, m_ptr, 0x88);
+ monster_desc(aura_dam, m_ptr, 0x288);
#ifdef JP
msg_print("ÆÍÁ³¤È¤Æ¤â´¨¤¯¤Ê¤Ã¤¿¡ª");
aura_damage = damroll(1 + (r_ptr->level / 26), 1 + (r_ptr->level / 17));
/* Hack -- Get the "died from" name */
- monster_desc(aura_dam, m_ptr, 0x88);
+ monster_desc(aura_dam, m_ptr, 0x288);
if (p_ptr->oppose_elec) aura_damage = (aura_damage + 2) / 3;
if (p_ptr->resist_elec) aura_damage = (aura_damage + 2) / 3;
/* Note cause of death */
(void)strcpy(died_from, hit_from);
- if (p_ptr->image) strcat(died_from,"(?)");
-
/* No longer a winner */
total_winner = FALSE;
monster_desc(m_name, m_ptr, 0);
/* Get the "died from" information (i.e. "a kobold") */
- monster_desc(ddesc, m_ptr, 0x88);
+ monster_desc(ddesc, m_ptr, 0x288);
if (p_ptr->special_defense & KATA_IAI)
{
int ap_cnt;
int ac, rlev, pt;
char m_name[80], t_name[80];
- char ddesc[80], temp[80];
+ char temp[80];
bool blinked, heal_effect;
bool explode = FALSE, touched = FALSE, fear = FALSE;
int y_saver = t_ptr->fy;
/* Get the monster name (or "it") */
monster_desc(t_name, t_ptr, 0);
- /* Get the "died from" information (i.e. "a kobold") */
- monster_desc(ddesc, m_ptr, 0x88);
-
/* Assume no blink */
blinked = FALSE;
* 0x20 --> Pronominalize visible monsters
* 0x40 --> Assume the monster is hidden
* 0x80 --> Assume the monster is visible
+ * 0x100 --> Chameleon's true name
+ * 0x200 --> Ignore hallucination
*
* Useful Modes:
* 0x00 --> Full nominative name ("the kobold") or "it"
else name = (r_name + r_ptr->name);
/* Are we hallucinating? (Idea from Nethack...) */
- if (p_ptr->image)
+ if (p_ptr->image && !(mode & 0x200))
{
if (one_in_(2))
{
else
{
/* It could be a Unique */
- if ((r_ptr->flags1 & RF1_UNIQUE) && !p_ptr->image)
+ if ((r_ptr->flags1 & RF1_UNIQUE) && !(p_ptr->image && !(mode & 0x200)))
{
/* Start with the name (thus nominative and objective) */
if ((m_ptr->mflag2 & MFLAG_CHAMELEON) && !(mode & 0x100))
monster_desc(m_poss, m_ptr, 0x22);
/* Hack -- Get the "died from" name */
- monster_desc(ddesc, m_ptr, 0x88);
+ monster_desc(ddesc, m_ptr, 0x288);
if (stupid_monsters)
{
else
{
/* Injure +/- confusion */
- monster_desc(killer, m_ptr, 0x88);
+ monster_desc(killer, m_ptr, 0x288);
take_hit(DAMAGE_ATTACK, dam, killer, -1); /* has already been /3 */
if (one_in_(4))
{
else
{
/* Injure + mana drain */
- monster_desc(killer, m_ptr, 0x88);
+ monster_desc(killer, m_ptr, 0x288);
#ifdef JP
msg_print("ĶǽÎϥѥ¤òµÛ¤¤¤È¤é¤ì¤¿¡ª");
#else
{
x1 = m_list[who].fx;
y1 = m_list[who].fy;
- monster_desc(who_name, &m_list[who], 0x88);
+ monster_desc(who_name, &m_list[who], 0x288);
}
/* Oops */