mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-25 22:28:44 +01:00
[MIRROR] reimplements attack and player logs (#12553)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
bb90e792ca
commit
99afe463dc
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user