mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-23 07:17:07 +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:
@@ -197,7 +197,7 @@
|
||||
name = "kinetic force"
|
||||
icon_state = null
|
||||
damage_force = 30
|
||||
damage_type = BRUTE
|
||||
damage_type = DAMAGE_TYPE_BRUTE
|
||||
damage_flag = ARMOR_BOMB
|
||||
range = WORLD_ICON_SIZE * 4
|
||||
// log_override = TRUE
|
||||
@@ -208,7 +208,7 @@
|
||||
|
||||
/obj/projectile/kinetic/premium
|
||||
damage_force = 40
|
||||
damage_type = BRUTE
|
||||
damage_type = DAMAGE_TYPE_BRUTE
|
||||
range = 5
|
||||
|
||||
/obj/projectile/kinetic/Destroy()
|
||||
|
||||
@@ -187,12 +187,12 @@
|
||||
if(thrown? (get_dir(src, L) & L.dir) : ((user.dir & backstab_dir) && (L.dir & backstab_dir)))
|
||||
if(!QDELETED(C))
|
||||
C.total_damage += detonation_damage + backstab_bonus + thrown_bonus //cheat a little and add the total before killing it, so certain mobs don't have much lower chances of giving an item
|
||||
L.apply_damage(detonation_damage + backstab_bonus + thrown_bonus, BRUTE, blocked = def_check)
|
||||
L.apply_damage(detonation_damage + backstab_bonus + thrown_bonus, DAMAGE_TYPE_BRUTE, blocked = def_check)
|
||||
playsound(src, 'sound/weapons/kenetic_accel.ogg', 100, 1) //Seriously who spelled it wrong
|
||||
else
|
||||
if(!QDELETED(C))
|
||||
C.total_damage += detonation_damage + thrown_bonus
|
||||
L.apply_damage(detonation_damage + thrown_bonus, BRUTE, blocked = def_check)
|
||||
L.apply_damage(detonation_damage + thrown_bonus, DAMAGE_TYPE_BRUTE, blocked = def_check)
|
||||
|
||||
/obj/item/kinetic_crusher/throw_impact(atom/A, datum/thrownthing/TT)
|
||||
. = ..()
|
||||
@@ -307,8 +307,9 @@
|
||||
name = "destabilizing force"
|
||||
icon_state = "pulse1"
|
||||
nodamage = TRUE
|
||||
damage_force = 0 //We're just here to mark people. This is still a melee weapon.
|
||||
damage_type = BRUTE
|
||||
// We're just here to mark people. This is still a melee weapon.
|
||||
damage_force = 0
|
||||
damage_type = DAMAGE_TYPE_BRUTE
|
||||
damage_flag = ARMOR_BOMB
|
||||
range = WORLD_ICON_SIZE * 6
|
||||
accuracy_disabled = TRUE
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
if(creator)
|
||||
add_attack_logs(creator, L, "used a resonator field on")
|
||||
to_chat(L, "<span class='danger'>\The [src] ruptured with you in it!</span>")
|
||||
L.apply_damage(resonance_damage, BRUTE)
|
||||
L.apply_damage(resonance_damage, DAMAGE_TYPE_BRUTE)
|
||||
qdel(src)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user