Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
ihatethisengine committed May 3, 2024
1 parent 9d1e444 commit 8139393
Showing 1 changed file with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,12 +189,18 @@
smoke.set_up(1, 0, backblast_loc, turn(user.dir, 180))
smoke.start()
playsound(src, 'sound/weapons/gun_rocketlauncher.ogg', 100, TRUE, 10)
for(var/mob/living/carbon/C in backblast_loc)
if(C.body_position == STANDING_UP && !HAS_TRAIT(C, TRAIT_EAR_PROTECTION)) //Have to be standing up to get the fun stuff
C.apply_damage(15, BRUTE) //The shockwave hurts, quite a bit. It can knock unarmored targets unconscious in real life
C.apply_effect(4, STUN) //For good measure
C.apply_effect(6, STUTTER)
C.emote("pain")
for(var/mob/living/carbon/mob in backblast_loc)
if(mob.body_position != STANDING_UP || HAS_TRAIT(mob, TRAIT_EAR_PROTECTION)) //Have to be standing up to get the fun stuff
continue
to_chat(mob, SPAN_BOLDWARNING("You got hit by the backblast!"))
mob.apply_damage(15, BRUTE) //The shockwave hurts, quite a bit. It can knock unarmored targets unconscious in real life
var/knockdown_amount = 6
if(isxeno(mob))
var/mob/living/carbon/xenomorph/xeno = mob
knockdown_amount = knockdown_amount * (1 - xeno.caste?.xeno_explosion_resistance / 100)
mob.KnockDown(knockdown_amount)
mob.apply_effect(6, STUTTER)
mob.emote("pain")

//-------------------------------------------------------
//M5 RPG'S MEAN FUCKING COUSIN
Expand Down

0 comments on commit 8139393

Please sign in to comment.