Fixed a few bugs with genetic power buttons

This commit is contained in:
ZomgPonies
2014-07-18 14:47:44 -04:00
parent 7a90302747
commit c48ca761ba
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -82,15 +82,15 @@
var/obj/effect/proc_holder/spell/spelltype
activate(var/mob/M, var/connected, var/flags)
..()
M.spell_list += new spelltype(M)
..()
return 1
deactivate(var/mob/M, var/connected, var/flags)
..()
for(var/obj/effect/proc_holder/spell/S in M.spell_list)
if(istype(S,spelltype))
M.spell_list.Remove(S)
..()
return 1
/datum/dna/gene/basic/grant_verb
+2 -2
View File
@@ -241,13 +241,13 @@ Obviously, requires DNA2.
/datum/dna/gene/basic/grant_spell/remoteview
name="Remote Viewing"
activation_messages=list("Your mind expands.")
mutation=M_REMOTE_TALK
mutation=M_REMOTE_VIEW
instability=3
spelltype =/obj/effect/proc_holder/spell/targeted/remoteview
New()
block=REMOTETALKBLOCK
block=REMOTEVIEWBLOCK
/obj/effect/proc_holder/spell/targeted/remoteview