fixes honorbound gods smiting under incorrect circumstances (#58343)

This commit is contained in:
tralezab
2021-04-13 05:58:34 -07:00
committed by GitHub
parent c70755ae72
commit a39df58434
@@ -184,6 +184,8 @@
*/
/datum/mutation/human/honorbound/proc/punishment(mob/living/carbon/human/user, school)
switch(school)
if(SCHOOL_HOLY, SCHOOL_MIME, SCHOOL_RESTORATION)
return
if(SCHOOL_NECROMANCY, SCHOOL_FORBIDDEN)
to_chat(user, "<span class='userdanger'>[GLOB.deity] is enraged by your use of forbidden magic!</span>")
lightningbolt(user)