Hopefully I put in the override correctly

This commit is contained in:
necromanceranne
2020-01-27 10:41:27 +11:00
parent 5ce066a21e
commit 8e489a7726

View File

@@ -6,8 +6,10 @@
nodamage = 0
stamina = 60
eyeblur = 10
knockdown = 10
slur = 5
var/hardstun_ds = 0
var/softstun_ds = 1
var/stam_dmg = 0
/obj/item/projectile/energy/bolt/on_hit(atom/target, blocked = FALSE)
. = ..()
@@ -16,6 +18,7 @@
var/obj/item/I = C.get_active_held_item()
if(I && C.dropItemToGround(I))
to_chat(C, "<span class ='notice'>Your arm goes limp, and you drop what you're holding!</span>")
C.Knockdown(softstun_ds, TRUE, FALSE, hardstun_ds, stam_dmg)
/obj/item/projectile/energy/bolt/halloween
name = "candy corn"