Skip to content

Commit

Permalink
removed broken legs
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusLarsson421 committed Sep 9, 2024
1 parent 0294dda commit d1198f7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions code/modules/awaymissions/corpse.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ CREATION_TEST_IGNORE_SELF(/obj/effect/mob_spawn)
var/use_cooldown = FALSE
/// If this should ignore admins disabling ghost roles (like lavaland roles), since it's actually an antagonist.
var/is_antagonist = FALSE
var/broken_legs = FALSE
var/stasis_machine

//ATTACK GHOST IGNORING PARENT RETURN VALUE
Expand Down Expand Up @@ -103,9 +102,6 @@ CREATION_TEST_IGNORE_SELF(/obj/effect/mob_spawn)
M.ForceContractDisease(new disease)
if(death)
M.death(1) //Kills the new mob
if(broken_legs)
M.apply_damage(damage = 30,damagetype = BRUTE, def_zone = BODY_ZONE_L_LEG, blocked = FALSE, forced = TRUE)
M.apply_damage(damage = 30,damagetype = BRUTE, def_zone = BODY_ZONE_R_LEG, blocked = FALSE, forced = TRUE)

M.adjustOxyLoss(oxy_damage)
M.adjustBruteLoss(brute_damage)
Expand Down Expand Up @@ -398,7 +394,6 @@ CREATION_TEST_IGNORE_SELF(/obj/effect/mob_spawn)
ghost_usable = TRUE
roundstart = FALSE
death = FALSE
broken_legs = TRUE
use_cooldown = TRUE
oxy_damage = 30
brute_damage = 10
Expand Down

0 comments on commit d1198f7

Please sign in to comment.