Thrown items can be targeted, has miss chance...

...based on distance, similar to projectiles.
This commit is contained in:
mwerezak
2014-07-15 01:14:04 -04:00
parent 836d2e40a8
commit f2845dbe76
21 changed files with 52 additions and 27 deletions

View File

@@ -116,7 +116,7 @@
H.concealed = 1
H.update_icon()
usr.visible_message("\The [usr] deals a card to \the [M].")
H.throw_at(get_step(M,M.dir),10,1)
H.throw_at(get_step(M,M.dir),10,1,H)
/obj/item/weapon/hand/attackby(obj/O as obj, mob/user as mob)
if(istype(O,/obj/item/weapon/hand))