Preperation for spell action buttons

This commit is contained in:
ZomgPonies
2014-07-15 11:20:43 -04:00
parent fa8ed8a5b1
commit ccb425bd44
6 changed files with 76 additions and 2 deletions
+3
View File
@@ -45,6 +45,9 @@ var/list/spells = typesof(/obj/effect/proc_holder/spell) //needed for the badmin
var/critfailchance = 0
var/centcom_cancast = 1 //Whether or not the spell should be allowed on z2
var/icon_power_button
var/power_button_name
/obj/effect/proc_holder/spell/proc/cast_check(skipcharge = 0,mob/user = usr) //checks if the spell can be cast based on its settings; skipcharge is used when an additional cast_check is called inside the spell
if(!(src in user.spell_list))