mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-21 03:16:34 +01:00
regexes damage and wound types (#6735)
Different semantics demand different defines. It's hard to tell what's being used where and for what reason right now. Staging for combat PR.
This commit is contained in:
@@ -54,9 +54,9 @@
|
||||
/obj/item/modular_computer/on_bullet_act(obj/projectile/proj, impact_flags, list/bullet_act_args)
|
||||
. = ..()
|
||||
switch(proj.damage_type)
|
||||
if(BRUTE)
|
||||
if(DAMAGE_TYPE_BRUTE)
|
||||
take_damage_legacy(proj.damage_force, proj.damage_force / 2)
|
||||
if(HALLOSS)
|
||||
if(DAMAGE_TYPE_HALLOSS)
|
||||
take_damage_legacy(proj.damage_force, proj.damage_force / 3, 0)
|
||||
if(BURN)
|
||||
if(DAMAGE_TYPE_BURN)
|
||||
take_damage_legacy(proj.damage_force, proj.damage_force / 1.5)
|
||||
|
||||
Reference in New Issue
Block a user