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:
Kashargul
2026-03-19 22:37:45 +01:00
committed by GitHub
parent 861b270c25
commit 6c768b06ec
50 changed files with 411 additions and 270 deletions
+1 -1
View File
@@ -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