Evreything works but timers

This commit is contained in:
kevinz000
2018-10-14 10:47:27 -07:00
parent e216aafe18
commit 50838a76f2
41 changed files with 180 additions and 138 deletions

View File

@@ -7,7 +7,7 @@
var/spell/targeted/projectile/carried
penetrating = 0
kill_count = 10 //set by the duration of the spell
range = 10 //set by the duration of the spell
var/proj_trail = 0 //if it leaves a trail
var/proj_trail_lifespan = 0 //deciseconds

View File

@@ -29,12 +29,13 @@ If the spell_projectile is seeking, it will update its target every process and
projectile.shot_from = user //fired from the user
projectile.hitscan = !proj_step_delay
projectile.step_delay = proj_step_delay
projectile.speed = proj_step_delay
if(istype(projectile, /obj/item/projectile/spell_projectile))
var/obj/item/projectile/spell_projectile/SP = projectile
SP.carried = src //casting is magical
projectile.launch(target, target_zone="chest")
return
projectile.def_zone = check_zone("chest")
projectile.old_style_target(target)
projectile.fire()
/spell/targeted/projectile/proc/choose_prox_targets(mob/user = usr, var/atom/movable/spell_holder)
var/list/targets = list()