This commit is contained in:
Fox McCloud
2018-07-21 22:48:42 -04:00
parent d360787aa6
commit 9286a1be1f
+6 -7
View File
@@ -22,12 +22,11 @@
H.regenerate_icons()
H.SetStunned(1)
H.canmove = 0
H.icon = null
H.invisibility = 101
var/has_primitive_form = H.dna.species.primitive_form // cache this
if(has_primitive_form)
H.set_species(has_primitive_form)
H.icon = null
H.invisibility = 101
new /obj/effect/temp_visual/monkeyify(H.loc)
sleep(22)
@@ -35,7 +34,7 @@
H.SetStunned(0)
H.invisibility = initial(H.invisibility)
if(!has_primitive_form) //If the creature in question has no primitive set, this is going to be messy.
if(!has_primitive_form) //If the pre-change mob in question has no primitive set, this is going to be messy.
H.gib()
return
@@ -65,11 +64,11 @@
H.regenerate_icons()
H.SetStunned(1)
H.canmove = 0
H.icon = null
H.invisibility = 101
var/has_greater_form = H.dna.species.greater_form //cache this
if(has_greater_form)
H.set_species(has_greater_form)
H.icon = null
H.invisibility = 101
new /obj/effect/temp_visual/monkeyify/humanify(H.loc)
sleep(22)
@@ -77,7 +76,7 @@
H.SetStunned(0)
H.invisibility = initial(H.invisibility)
if(!has_greater_form) //If the creature in question has no primitive set, this is going to be messy.
if(!has_greater_form) //If the pre-change mob in question has no primitive set, this is going to be messy.
H.gib()
return