mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-27 06:54:18 +01:00
Exosuit Tweaks (#15673)
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user