mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-15 09:03:23 +01:00
Fixed a few bugs with genetic power buttons
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user