mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-27 14:08:44 +01:00
reimplements attack and player logs (#19313)
* reomplements attack and player logs * right log cat * updates logging, makesDB optional * regex serarch * . * . * . * sucks * db load * . * . * db logging
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
take_charge(user, skipcharge)
|
||||
|
||||
before_cast(targets) //applies any overlays and effects
|
||||
user.attack_log += text("\[[time_stamp()]\] [span_red("[user.real_name] ([user.ckey]) cast the spell [name].")]")
|
||||
add_attack_logs(user, targets, "casted the spell [name]")
|
||||
if(prob(critfailchance))
|
||||
critfail(targets, user)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user