Exosuit Tweaks (#15673)

This commit is contained in:
Geeves
2023-02-03 23:45:19 +01:00
committed by GitHub
parent 640a6fd2de
commit aadabe1935
11 changed files with 80 additions and 59 deletions
+5 -3
View File
@@ -251,14 +251,16 @@
if(!damage)
return
adjustBruteLoss(damage)
user.attack_log += text("\[[time_stamp()]\] <span class='warning'>attacked [src.name] ([src.ckey])</span>")
src.attack_log += text("\[[time_stamp()]\] <font color='orange'>was attacked by [user.name] ([user.ckey])</font>")
if (attack_message)
src.visible_message("<span class='danger'>[user] has [attack_message] [src]!</span>")
user.do_attack_animation(src)
spawn(1) updatehealth()
return 1
apply_damage(damage, BRUTE, user.zone_sel?.selecting, armor_pen = armor_penetration, damage_flags = attack_flags)
updatehealth()
return TRUE
/mob/living/proc/IgniteMob(var/fire_stacks_to_add = 0)
@@ -69,6 +69,8 @@
for (var/atom/A in targets)
if(A == src)
continue
if(!isturf(A.loc))
A = A.loc
var/datum/callback/cb = null
for (var/type in target_type_validator_map)
if (istype(A, type))