Changing var name

This commit is contained in:
warior4356
2021-04-01 01:33:42 -07:00
parent e1657b6807
commit 22374acfb4
3 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -121,7 +121,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell))
var/critfailchance = 0
var/centcom_cancast = TRUE //Whether or not the spell should be allowed on the admin zlevel
var/holy_cancast = TRUE //Whether or not the spell functions in a holy place
var/holy_area_cancast = TRUE //Whether or not the spell functions in a holy place
var/datum/action/spell_action/action = null
var/action_icon = 'icons/mob/actions/actions.dmi'
@@ -562,7 +562,7 @@ GLOBAL_LIST_INIT(spells, typesof(/obj/effect/proc_holder/spell))
if(is_admin_level(user.z) && !centcom_cancast) //Certain spells are not allowed on the centcom zlevel
return 0
if(!holy_cancast && user.holy_check())
if(!holy_area_cancast && user.holy_check())
return 0
if(charge_check)
+9 -9
View File
@@ -18,7 +18,7 @@
range = 0
summon_type = list(/turf/simulated/floor/engine/cult)
centcom_cancast = FALSE //Stop crashing the server by spawning turfs on transit tiles
holy_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
/obj/effect/proc_holder/spell/aoe_turf/conjure/wall
name = "Summon Cult Wall"
@@ -33,7 +33,7 @@
range = 0
summon_type = list(/turf/simulated/wall/cult/artificer) //we don't want artificer-based runed metal farms
centcom_cancast = FALSE //Stop crashing the server by spawning turfs on transit tiles
holy_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
/obj/effect/proc_holder/spell/aoe_turf/conjure/wall/reinforced
name = "Greater Construction"
@@ -45,7 +45,7 @@
invocation_type = "none"
range = 0
centcom_cancast = FALSE //Stop crashing the server by spawning turfs on transit tiles
holy_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
delay = 50
summon_type = list(/turf/simulated/wall/r_wall)
@@ -61,7 +61,7 @@
invocation = "none"
invocation_type = "none"
range = 0
holy_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
summon_type = list(/obj/item/soulstone)
@@ -81,7 +81,7 @@
invocation = "none"
invocation_type = "none"
range = 0
holy_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
summon_type = list(/obj/structure/cult/functional/pylon)
@@ -97,7 +97,7 @@
invocation = "none"
invocation_type = "none"
range = 0
holy_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
summon_type = list(/obj/effect/forcefield/cult)
summon_lifespan = 200
@@ -117,7 +117,7 @@
clothes_req = FALSE
invocation = "none"
invocation_type = "none"
holy_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
jaunt_in_time = 12
jaunt_in_type = /obj/effect/temp_visual/dir_setting/wraith
jaunt_out_type = /obj/effect/temp_visual/dir_setting/wraith/out
@@ -139,7 +139,7 @@
clothes_req = FALSE
invocation = "none"
invocation_type = "none"
holy_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
proj_lifespan = 10
max_targets = 6
@@ -153,7 +153,7 @@
clothes_req = FALSE
invocation = "none"
invocation_type = "none"
holy_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
holy_area_cancast = FALSE //Stops cult magic from working on holy ground eg: chapel
range = -1
include_user = 1
cooldown_min = 20 //25 deciseconds reduction per rank