add_attack_logs ssd tweak

only overrides the log_level if the target is SSD AND there is a user
This commit is contained in:
joep van der velden
2021-09-07 21:04:29 +02:00
parent 5da6a7f915
commit 4b22aa12da
5 changed files with 9 additions and 9 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)