Skip to content

Commit

Permalink
reduces effects of impact ammo with range, proof of concept numbers c…
Browse files Browse the repository at this point in the history
…an be adjusted
  • Loading branch information
uuuuhuuuu committed Jan 25, 2024
1 parent 65ac121 commit e9a7b7c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions code/datums/ammo/bullet/rifle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,10 @@
if(iscarbonsizexeno(living_mob))
var/mob/living/carbon/xenomorph/target = living_mob
to_chat(target, SPAN_XENODANGER("You are shaken and slowed by the sudden impact!"))
target.KnockDown(0.5) // purely for visual effect, noone actually cares
target.Stun(0.5)
target.apply_effect(2, SUPERSLOW)
target.apply_effect(5, SLOW)
target.KnockDown(0.5-fired_projectile.distance_travelled/10) // purely for visual effect, noone actually cares
target.Stun(0.5-fired_projectile.distance_travelled/10)
target.apply_effect(2-fired_projectile.distance_travelled/20, SUPERSLOW)
target.apply_effect(5-fired_projectile.distance_travelled/10, SLOW)
else
if(!isyautja(living_mob)) //Not predators.
living_mob.apply_effect(1, SUPERSLOW)
Expand Down

0 comments on commit e9a7b7c

Please sign in to comment.