Merge pull request #11051 from Arkatos1/Shadowling_AbilityUseBalance

Shadowlings now can't use abilities affecting other beings while Shadow walking
This commit is contained in:
variableundefined
2019-03-22 17:45:28 +08:00
committed by GitHub
@@ -2,6 +2,9 @@
/obj/effect/proc_holder/spell/proc/shadowling_check(var/mob/living/carbon/human/H)
if(!H || !istype(H)) return
if(H.incorporeal_move == 1)
to_chat(usr, "<span class='warning'>You can't use abilities affecting others while you are traversing between worlds!</span>")
return FALSE
if(isshadowling(H) && is_shadow(H))
return 1
if(isshadowlinglesser(H) && is_thrall(H))