From d99c9b23cf5540680fdf69cbbcec0455e3d6ccdd Mon Sep 17 00:00:00 2001 From: DGamerL <108773801+DGamerL@users.noreply.github.com> Date: Mon, 30 Dec 2024 15:44:57 +0100 Subject: [PATCH] More spell var removals (#27704) --- code/datums/spell.dm | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/code/datums/spell.dm b/code/datums/spell.dm index 8ad1b79793c6..cd595686d619 100644 --- a/code/datums/spell.dm +++ b/code/datums/spell.dm @@ -73,8 +73,6 @@ GLOBAL_LIST_INIT(spells, typesof(/datum/spell)) var/should_recharge_after_cast = TRUE var/still_recharging_msg = "The spell is still recharging." - var/holder_var_type = "bruteloss" //only used if charge_type equals to "holder_var" - var/holder_var_amount = 20 //same. The amount adjusted with the mob's var when the spell is used var/active = FALSE //Used by toggle based abilities. var/ranged_mousepointer var/mob/ranged_ability_user @@ -97,9 +95,6 @@ GLOBAL_LIST_INIT(spells, typesof(/datum/spell)) var/overlay_icon_state = "spell" var/overlay_lifespan = 0 - var/sparks_spread = FALSE - var/sparks_amt = 0 - ///Determines if the spell has smoke, and if so what effect the smoke has. See spell defines. var/smoke_type = SMOKE_NONE var/smoke_amt = 0 @@ -389,8 +384,7 @@ GLOBAL_LIST_INIT(spells, typesof(/datum/spell)) location = target if(isliving(target) && message) to_chat(target, "[message]") - if(sparks_spread) - do_sparks(sparks_amt, 0, location) + if(smoke_type) var/datum/effect_system/smoke_spread/smoke switch(smoke_type)