Merge pull request #16654 from farie82/add_attack_log-ssd-tweak

Attack logs on SSD targets now only get the FEW loglevel if there is a user doing it
This commit is contained in:
variableundefined
2021-09-09 17:14:59 -05:00
committed by GitHub
5 changed files with 22 additions and 18 deletions
+1 -1
View File
@@ -51,7 +51,7 @@
user.visible_message("<span class='danger'>[user] zaps [user.p_them()]self with [src].</span>")
playsound(user, fire_sound, 50, 1)
user.create_attack_log("<b>[key_name(user)]</b> zapped [user.p_them()]self with a <b>[src]</b>")
add_attack_logs(null, user, "zapped [user.p_them()]self with a [src]", ATKLOG_ALL)
add_attack_logs(user, user, "zapped [user.p_them()]self with a [src]", ATKLOG_ALL)
/////////////////////////////////////
//WAND OF DEATH
+1 -1
View File
@@ -275,7 +275,7 @@
return
M.create_attack_log("<font color='orange'>[key_name(M)] became [new_mob.real_name].</font>")
add_attack_logs(null, M, "became [new_mob.real_name]", ATKLOG_ALL)
add_attack_logs(M, M, "became [new_mob.real_name]", ATKLOG_ALL)
new_mob.a_intent = INTENT_HARM
if(M.mind)