Makes bolas knock down instead of stunning (#18207)

* Bola stun't

* now with extra readability

* hold on a minute
This commit is contained in:
Viz
2022-07-05 23:53:10 +01:00
committed by GitHub
parent fc2b99bd51
commit 8d1e1bd183
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -158,8 +158,8 @@
gender = NEUTER
origin_tech = "engineering=3;combat=1"
hitsound = 'sound/effects/snap.ogg'
///the duration of the stun in seconds
var/weaken = 0
///the duration of the knockdown in seconds
var/knockdown_duration = 0
/obj/item/restraints/legcuffs/bola/throw_at(atom/target, range, speed, mob/thrower, spin=1, diagonals_first = 0, datum/callback/callback)
playsound(loc,'sound/weapons/bolathrow.ogg', 50, TRUE)
@@ -177,7 +177,7 @@
C.update_inv_legcuffed()
SSblackbox.record_feedback("tally", "handcuffs", 1, type)
to_chat(C, "<span class='userdanger'>[src] ensnares you!</span>")
C.Weaken(weaken)
C.KnockDown(knockdown_duration)
playsound(loc, hitsound, 50, TRUE)
/obj/item/restraints/legcuffs/bola/tactical //traitor variant
@@ -187,7 +187,7 @@
item_state = "bola_r"
breakouttime = 70
origin_tech = "engineering=4;combat=3"
weaken = 2 SECONDS
knockdown_duration = 2 SECONDS
/obj/item/restraints/legcuffs/bola/energy //For Security
name = "energy bola"