Skip to content

Commit

Permalink
Revert "ueh (PMC-Unga-Marines#94)"
Browse files Browse the repository at this point in the history
This reverts commit ddca13f.
  • Loading branch information
homexp13 committed Aug 25, 2024
1 parent a61f8f5 commit d54dc94
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
1 change: 0 additions & 1 deletion code/__DEFINES/cooldowns.dm
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
#define COOLDOWN_EVASION_ACTIVATION "cooldown_evasion_activation"
#define COOLDOWN_TANK_SWIVEL "tank_turret_swivel"
#define COOLDOWN_ARMORED_HORN "cooldown_armored_horn"
#define COOLDOWN_MOB_EX_ACT "mob_ex_act"

//Mecha cooldowns
#define COOLDOWN_MECHA "mecha"
Expand Down
5 changes: 1 addition & 4 deletions code/modules/mob/living/carbon/human/human.dm
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@
if(severity <= 0)
return

if(TIMER_COOLDOWN_CHECK(src, COOLDOWN_MOB_EX_ACT))
return

if(lying_angle)
severity *= EXPLOSION_PRONE_MULTIPLIER

Expand Down Expand Up @@ -164,7 +161,7 @@
take_overall_damage(severity * 0.5, BRUTE, BOMB, updating_health = TRUE, max_limbs = 4)
take_overall_damage(severity * 0.5, BURN, BOMB, updating_health = TRUE, max_limbs = 4)
explosion_throw(severity, direction)
TIMER_COOLDOWN_START(src, COOLDOWN_MOB_EX_ACT, 0.1 SECONDS) // this is to prevent x2 damage from mob getting thrown into the explosions wave


/mob/living/carbon/human/attack_animal(mob/living/M as mob)
if(M.melee_damage == 0)
Expand Down
4 changes: 0 additions & 4 deletions code/modules/mob/living/carbon/xenomorph/damage_procs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@
if(status_flags & (INCORPOREAL|GODMODE))
return

if(TIMER_COOLDOWN_CHECK(src, COOLDOWN_MOB_EX_ACT))
return

if(lying_angle)
severity *= EXPLOSION_PRONE_MULTIPLIER

Expand All @@ -57,7 +54,6 @@
adjust_stagger(powerfactor_value / 2)
else
adjust_slowdown(powerfactor_value / 3)
TIMER_COOLDOWN_START(src, COOLDOWN_MOB_EX_ACT, 0.1 SECONDS) // this is to prevent x2 damage from mob getting thrown into the explosions wave

/mob/living/carbon/xenomorph/apply_damage(damage = 0, damagetype = BRUTE, def_zone, blocked = 0, sharp = FALSE, edge = FALSE, updating_health = FALSE, penetration)
if(status_flags & GODMODE)
Expand Down

0 comments on commit d54dc94

Please sign in to comment.