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:
silicons
2024-09-09 15:13:34 -06:00
committed by GitHub
parent 40ddbc3e86
commit e6f972666c
163 changed files with 607 additions and 641 deletions
@@ -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)