Update holy_weapons.dm

This commit is contained in:
silicons
2021-09-12 20:23:00 -07:00
committed by GitHub
parent 57b6946fbb
commit d2f3ff4d11
+2 -2
View File
@@ -780,8 +780,8 @@
if(iscarbon(loc))
var/mob/living/carbon/wielder = loc
if(wielder.is_holding(src))
var/current_tiles = 10 / max(wielder.cached_multiplicative_movespeed, world.tick_lag)
var/datum/movespeed_modifier/M = wielder.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/item/arrythmic_knife, update = FALSE, multiplicative_slowdown = pick(-10, -10, 0, (current_tiles - 2) / 10, (current_tiles - 4) / 10))
var/current_tiles = 10 / max(wielder.cached_multiplicative_slowdown, world.tick_lag)
var/datum/movespeed_modifier/M = wielder.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/item/arrhythmic_knife, update = FALSE, multiplicative_slowdown = pick(-10, -10, 0, (current_tiles - 2) / 10, (current_tiles - 4) / 10))
M.max_tiles_per_second_boost = pick(3, 6)
wielder.update_movespeed() // update movespeed manually