Skip to content

Commit

Permalink
Update Airflow.dm (#36701)
Browse files Browse the repository at this point in the history
  • Loading branch information
boy2mantwicethefam authored Jun 25, 2024
1 parent 8148233 commit 0167d5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/ZAS/Airflow.dm
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ atom/movable/GotoAirflowDest(n)
return FALSE
if(knockdown <= 0)
to_chat(src, "<span class='warning'>The sudden rush of air knocks you over!</span>")
SetKnockdown(rand(differential/20,differential/10))
SetKnockdown(min(rand(differential/20,differential/10), 5))
last_airflow_stun = world.time

/mob/living/silicon/airflow_stun()
Expand All @@ -78,7 +78,7 @@ atom/movable/GotoAirflowDest(n)

if(knockdown <= 0)
to_chat(src, "<span class='warning'>The sudden rush of air knocks you over!</span>")
SetKnockdown(rand(differential/20,differential/10))
SetKnockdown(min(rand(differential/20,differential/10), 5))
last_airflow_stun = world.time

/atom/movable/proc/check_airflow_movable(n)
Expand Down

0 comments on commit 0167d5d

Please sign in to comment.