Skip to content

Commit

Permalink
More spell var removals (ParadiseSS13#27704)
Browse files Browse the repository at this point in the history
  • Loading branch information
DGamerL authored Dec 30, 2024
1 parent 14445fc commit d99c9b2
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions code/datums/spell.dm
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@ GLOBAL_LIST_INIT(spells, typesof(/datum/spell))
var/should_recharge_after_cast = TRUE
var/still_recharging_msg = "<span class='notice'>The spell is still recharging.</span>"

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
Expand All @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d99c9b2

Please sign in to comment.