Skip to content

Commit

Permalink
Combat hotfixes (#8260)
Browse files Browse the repository at this point in the history
* gunmod dmg fixes

* Lethality reduction

This also makes combo fire + brute deadlier

* Revert "Lethality reduction"

This reverts commit 8d8d9c4.

* lethality nerf

* Update code/modules/organs/internal/_internal.dm
  • Loading branch information
Humonitarian committed Aug 25, 2023
1 parent ecdc275 commit d6d37e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions code/datums/craft/gun_parts.dm
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ semi accepts weird caliber - +1 points
if(2)
damage_name = pick("exceptional", "flawless", "superb")
name = damage_name + " " + initial(name)
I.weapon_upgrades[GUN_UPGRADE_DAMAGEMOD_PLUS] = damage_bonus - old_quality / 20
I.weapon_upgrades[GUN_UPGRADE_DAMAGEMOD_PLUS] = damage_bonus + old_quality / 20

/obj/item/part/gun/modular/mechanism/pistol
name = "pistol mechanism"
Expand Down Expand Up @@ -602,7 +602,7 @@ semi accepts weird caliber - +1 points
if(2)
damage_name = pick("exceptional", "flawless", "superb")
name = damage_name + " " + initial(name)
I.weapon_upgrades[GUN_UPGRADE_DAMAGEMOD_PLUS] = 1 - old_quality / 20
I.weapon_upgrades[GUN_UPGRADE_DAMAGEMOD_PLUS] = old_quality / 20

/obj/item/part/gun/modular/barrel/pistol
name = ".35 barrel"
Expand Down
2 changes: 1 addition & 1 deletion code/modules/organs/internal/_internal.dm
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
if(!damage_type || status & ORGAN_DEAD)
return FALSE

var/wound_count = max(0, round(amount / 4)) // At base values, every 8 points of damage is 1 wound
var/wound_count = max(0, round(amount / (damage_type == BRUTE || damage_type == BURN ? 4 : 8))) // At base values, every 8 points of damage is 1 wound, or 4 if brute or burn.

if(!wound_count)
return FALSE
Expand Down

0 comments on commit d6d37e5

Please sign in to comment.