mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-12 15:45:25 +01:00
Merge pull request #12694 from TheSardele/slime-log
Logs slime attacks correctly
This commit is contained in:
@@ -79,5 +79,5 @@ In all, this is a lot like the monkey code. /N
|
||||
if(M.is_adult)
|
||||
damage = rand(10, 40)
|
||||
adjustBruteLoss(damage)
|
||||
add_attack_logs(src, M, "Slime'd for [damage] damage")
|
||||
add_attack_logs(M, src, "Slime'd for [damage] damage")
|
||||
updatehealth("slime attack")
|
||||
@@ -296,7 +296,7 @@
|
||||
return FALSE
|
||||
|
||||
if(stat != DEAD)
|
||||
add_attack_logs(src, M, "Slime'd")
|
||||
add_attack_logs(M, src, "Slime'd")
|
||||
M.do_attack_animation(src)
|
||||
visible_message("<span class='danger'>\The [M.name] glomps [src]!</span>", "<span class='userdanger'>\The [M.name] glomps you!</span>")
|
||||
return TRUE
|
||||
|
||||
Reference in New Issue
Block a user