mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user