From 6978a67ebdc89db58200535646f5add473f0e02b Mon Sep 17 00:00:00 2001 From: Ren Erthilo Date: Wed, 25 Apr 2012 23:28:29 +0100 Subject: [PATCH] TG: Fixes wizard projectile spells. ( Issue 387 ) Adds a var to the spellbook that determines if it can be used for buying veil renders and arsenals. Revision: r3259 Author: VivianFoxfoot --- code/datums/spells/projectile.dm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/code/datums/spells/projectile.dm b/code/datums/spells/projectile.dm index 31530d33808..b255e84523a 100644 --- a/code/datums/spells/projectile.dm +++ b/code/datums/spells/projectile.dm @@ -16,7 +16,7 @@ var/proj_lingering = 0 //if it lingers or disappears upon hitting an obstacle var/proj_homing = 1 //if it follows the target var/proj_insubstantial = 0 //if it can pass through dense objects or not - var/proj_trigger_range = 1 //the range from target at which the projectile triggers cast(target) + var/proj_trigger_range = 0 //the range from target at which the projectile triggers cast(target) var/proj_lifespan = 15 //in deciseconds * proj_step_delay var/proj_step_delay = 1 //lower = faster @@ -39,6 +39,8 @@ var/current_loc = usr.loc + projectile.loc = current_loc + for(var/i = 0,i < proj_lifespan,i++) if(!projectile) break