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

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