Skip to content

Commit

Permalink
Fix for riposte not being added to monster lore.
Browse files Browse the repository at this point in the history
  • Loading branch information
sil-quirk committed Oct 31, 2023
1 parent 968f44b commit beb980b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/cmd1.c
Original file line number Diff line number Diff line change
Expand Up @@ -4499,6 +4499,12 @@ void py_attack_aux(int y, int x, int attack_type)
msg_format("%^s ripostes!", m_name);
make_attack_normal(m_ptr);
monster_ripostes++;

if (m_ptr->ml)
{
monster_lore* l_ptr = &l_list[m_ptr->r_idx];
l_ptr->flags2 |= (RF2_RIPOSTE);
}
}
}

Expand Down

0 comments on commit beb980b

Please sign in to comment.