[MIRROR] reimplements attack and player logs (#12553)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-19 23:03:53 +01:00
committed by GitHub
co-authored by Kashargul
parent bb90e792ca
commit 99afe463dc
50 changed files with 411 additions and 270 deletions
+1 -1
View File
@@ -418,7 +418,7 @@
if(!damage)
return
visible_message(span_danger("[user] [attack_message] the [src]!"))
user.attack_log += text("\[[time_stamp()]\] [span_red("attacked [src.name]")]")
add_attack_logs(user, src, "attacked")
user.do_attack_animation(src)
src.health -= damage
if(mechanical && prob(10))