Skip to content

Commit

Permalink
fix: Specified the kicker name (#5891)
Browse files Browse the repository at this point in the history
* Specified the kicker name

* Apply suggestions from code review

Co-authored-by: scarf <greenscarf005@gmail.com>

---------

Co-authored-by: scarf <greenscarf005@gmail.com>
  • Loading branch information
HxHedgehog and scarf005 authored Jan 7, 2025
1 parent dfe8ee3 commit 449f3c5
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/monattack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5394,10 +5394,9 @@ bool mattack::bio_op_takedown( monster *z )
}
// Weak kick to start with, knocks you off your footing

// TODO: Literally "The zombie kicks" vvvvv | Fix message or comment why Literally.
//~ 1$s is bodypart name in accusative, 2$d is damage value.
target->add_msg_if_player( m_bad, _( "The zombie kicks your %1$s for %2$d damage…" ),
body_part_name_accusative( hit->token ), dam );
//~ 1$s is the attacker, 2$s is bodypart name in accusative, 3$d is damage value.
target->add_msg_if_player( m_bad, _( "The %1$s kicks your %2$s for %3$d damage…" ),
z->name(), body_part_name_accusative( hit->token ), dam );
foe->deal_damage( z, hit, damage_instance( DT_BASH, dam ) );
// At this point, Judo or Tentacle Bracing can make this much less painful
if( !foe->is_throw_immune() ) {
Expand Down

0 comments on commit 449f3c5

Please sign in to comment.