Merge pull request #48747 from kevinz000/movespeed_modifiers_take_two

Movespeed modifiers, take two
This commit is contained in:
Rohesie
2020-03-18 17:29:49 -03:00
committed by GitHub
45 changed files with 854 additions and 667 deletions
+2 -2
View File
@@ -177,7 +177,7 @@
if(!victim.client || !istype(victim))
return
to_chat(victim, "<span class='notice'>You feel fast!</span>")
victim.add_movespeed_modifier(MOVESPEED_ID_YELLOW_ORB, update=TRUE, priority=100, multiplicative_slowdown=-2, blacklisted_movetypes=(FLYING|FLOATING))
victim.add_movespeed_modifier(/datum/movespeed_modifier/yellow_orb)
sleep(duration)
victim.remove_movespeed_modifier(MOVESPEED_ID_YELLOW_ORB)
victim.remove_movespeed_modifier(/datum/movespeed_modifier/yellow_orb)
to_chat(victim, "<span class='notice'>You slow down.</span>")