mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-01-03 05:52:17 +00:00
Evreything works but timers
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user