Skip to content

Commit

Permalink
updates numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed Jan 25, 2024
1 parent e9a7b7c commit 07c6dc3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions code/datums/ammo/bullet/rifle.dm
Original file line number Diff line number Diff line change
Expand Up @@ -169,14 +169,14 @@
shell_speed = AMMO_SPEED_TIER_6

/datum/ammo/bullet/rifle/m4ra/impact/on_hit_mob(mob/M, obj/projectile/P)
knockback(M, P, 32) // Can knockback basically at max range
knockback(M, P, 32) // Can knockback basically at max range max range is 24 tiles...

/datum/ammo/bullet/rifle/m4ra/impact/knockback_effects(mob/living/living_mob, obj/projectile/fired_projectile)
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-fired_projectile.distance_travelled/10) // purely for visual effect, noone actually cares
target.Stun(0.5-fired_projectile.distance_travelled/10)
target.KnockDown(0.5-fired_projectile.distance_travelled/100) // purely for visual effect, noone actually cares
target.Stun(0.5-fired_projectile.distance_travelled/100)
target.apply_effect(2-fired_projectile.distance_travelled/20, SUPERSLOW)
target.apply_effect(5-fired_projectile.distance_travelled/10, SLOW)
else
Expand Down

0 comments on commit 07c6dc3

Please sign in to comment.