Porting the twohanded component.
This commit is contained in:
@@ -136,7 +136,7 @@
|
||||
/turf/closed/wall/mineral/wood/attackby(obj/item/W, mob/user)
|
||||
if(W.sharpness && W.force)
|
||||
var/duration = (48/W.force) * 2 //In seconds, for now.
|
||||
if(istype(W, /obj/item/hatchet) || istype(W, /obj/item/twohanded/fireaxe))
|
||||
if(istype(W, /obj/item/hatchet) || istype(W, /obj/item/fireaxe))
|
||||
duration /= 4 //Much better with hatchets and axes.
|
||||
var/src_type = type
|
||||
if(do_after(user, duration*10, target=src) && type == src_type) //Into deciseconds.
|
||||
|
||||
Reference in New Issue
Block a user