changes the inefficient attack message string and threshold. (#12498)

This commit is contained in:
Ghom
2020-06-13 02:08:10 +02:00
committed by GitHub
parent 584a1428d5
commit 77c428479e
2 changed files with 3 additions and 3 deletions

View File

@@ -272,7 +272,7 @@ GLOBAL_LIST_INIT(shove_disarming_types, typecacheof(list(
* should the current-attack-damage be lower than the item force multiplied by this value,
* a "inefficiently" prefix will be added to the message.
*/
#define INEFFICIENT_ATTACK_MSG_THRESHOLD 0.7
#define FEEBLE_ATTACK_MSG_THRESHOLD 0.5
//bullet_act() return values

View File

@@ -213,8 +213,8 @@
var/message_verb = "attacked"
if(I.attack_verb && I.attack_verb.len)
message_verb = "[pick(I.attack_verb)]"
if(current_force < I.force * INEFFICIENT_ATTACK_MSG_THRESHOLD)
message_verb = "inefficiently [message_verb]"
if(current_force < I.force * FEEBLE_ATTACK_MSG_THRESHOLD)
message_verb = "[pick("feebly", "limply", "saplessly")] [message_verb]"
else if(!I.force)
return
var/message_hit_area = ""