Made wizard spells into various subtypes

This commit is contained in:
ZomgPonies
2014-07-21 09:40:42 -04:00
parent d55450b8ee
commit 8b703f55af
12 changed files with 61 additions and 60 deletions
+2 -1
View File
@@ -395,7 +395,8 @@ var/list/admin_verbs_mod = list(
set category = "Event"
set name = "Give Spell"
set desc = "Gives a spell to a mob."
var/obj/effect/proc_holder/spell/S = input("Choose the spell to give to that guy", "ABRAKADABRA") as null|anything in spells
var/list/spellList = typesof(/obj/effect/proc_holder/spell/targeted/wizard) + typesof(/obj/effect/proc_holder/spell/aoe_turf/wizard) + typesof(/obj/effect/proc_holder/spell/targeted/projectile/wizard) + typesof(/obj/effect/proc_holder/spell/wizard) + typesof(/obj/effect/proc_holder/spell/targeted/genetic/wizard) + typesof(/obj/effect/proc_holder/spell/targeted/inflict_handler/wizard) + typesof(/obj/effect/proc_holder/spell/targeted/emplosion/wizard) + typesof(/obj/effect/proc_holder/spell/targeted/turf_teleport/wizard) + typesof(/obj/effect/proc_holder/spell/targeted/area_teleport/wizard) + typesof(/obj/effect/proc_holder/spell/aoe_turf/conjure/wizard) + typesof(/obj/effect/proc_holder/spell/targeted/trigger/wizard) + typesof(/obj/effect/proc_holder/spell/dumbfire/wizard)
var/obj/effect/proc_holder/spell/S = input("Choose the spell to give to that guy", "ABRAKADABRA") as null|anything in spellList
if(!S) return
T.spell_list += new S
T.update_power_buttons()