Skip to content

Commit

Permalink
Fixed blind obsession yet again (#2069)
Browse files Browse the repository at this point in the history
Update waw.dm
  • Loading branch information
CrabbytheCrab authored Apr 28, 2024
1 parent b9a752c commit 5e98245
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion code/game/objects/items/ego_weapons/waw.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1857,6 +1857,7 @@
var/speed_slowdown = 0
var/mob/current_holder
var/power_timer
var/thrown = FALSE


//Equipped setup
Expand Down Expand Up @@ -1885,7 +1886,8 @@
return
speed_slowdown = 0
UnregisterSignal(current_holder, COMSIG_MOVABLE_MOVED)
PowerReset(user)
if(!thrown)
PowerReset(user)
current_holder = null
user.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/anchor, multiplicative_slowdown = 0)

Expand Down Expand Up @@ -1919,13 +1921,15 @@
speed_slowdown = 0
throwforce = 80
deltimer(power_timer)
thrown = FALSE

/obj/item/ego_weapon/blind_obsession/on_thrown(mob/living/carbon/user, atom/target)//No, clerks cannot hilariously kill others with this
if(!CanUseEgo(user))
return
if(user.get_inactive_held_item())
to_chat(user, span_notice("You cannot throw [src] with only one hand!"))
return
thrown = TRUE
user.add_or_update_variable_movespeed_modifier(/datum/movespeed_modifier/anchor, multiplicative_slowdown = 0)
return ..()

Expand Down

0 comments on commit 5e98245

Please sign in to comment.