fixes blind spell

This commit is contained in:
Fox-McCloud
2016-01-29 21:31:16 -05:00
parent 1404d66fff
commit 887ce1f37e
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -2,7 +2,7 @@
name = "Genetic"
desc = "This spell inflicts a set of mutations and disabilities upon the target."
var/disabilities = 0 //bits
var/sdisabilities = 0 //bits
var/list/mutations = list() //mutation strings
var/duration = 100 //deciseconds
/*
@@ -22,11 +22,11 @@
target.mutations.Add(x)
/* if(x == HULK && ishuman(target))
target:hulk_time=world.time + duration */
target.disabilities |= disabilities
target.sdisabilities |= sdisabilities
target.update_mutations() //update target's mutation overlays
spawn(duration)
target.mutations.Remove(mutations)
target.disabilities &= ~disabilities
target.sdisabilities &= ~sdisabilities
target.update_mutations()
return
+1 -1
View File
@@ -224,7 +224,7 @@
amt_eye_blurry = 20
/obj/effect/proc_holder/spell/targeted/genetic/blind
disabilities = BLIND
sdisabilities = BLIND
duration = 300
/obj/effect/proc_holder/spell/dumbfire/fireball