mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-05 23:21:53 +00:00
fixes a forcebolt runtime (#20501)
* fixes a forcebolt runtime * Update code/modules/projectiles/projectile/force.dm Co-authored-by: Farie82 <farie82@users.noreply.github.com> --------- Co-authored-by: Farie82 <farie82@users.noreply.github.com>
This commit is contained in:
@@ -8,9 +8,8 @@
|
||||
/obj/item/projectile/forcebolt/strong
|
||||
name = "force bolt"
|
||||
|
||||
/obj/item/projectile/forcebolt/on_hit(atom/target, blocked = 0)
|
||||
/obj/item/projectile/forcebolt/on_hit(atom/movable/target, blocked = 0)
|
||||
. = ..()
|
||||
if(blocked < 100)
|
||||
var/obj/T = target
|
||||
var/throwdir = get_dir(firer,target)
|
||||
T.throw_at(get_edge_target_turf(target, throwdir),10,10)
|
||||
if(istype(target) && blocked < 100)
|
||||
var/throwdir = get_dir(firer, target)
|
||||
target.throw_at(get_edge_target_turf(target, throwdir), 10, 10)
|
||||
|
||||
Reference in New Issue
Block a user