Allows the antimagic component to react to spells, limits holymelon uses (#41739)

This commit is contained in:
XDTM
2018-12-18 01:09:35 +01:00
committed by Emmett Gaines
parent 23dcd989dc
commit 9f74fef3d5
22 changed files with 75 additions and 39 deletions

View File

@@ -32,7 +32,7 @@
return
else
no_den_usage = 0
if(checks_antimagic && user.anti_magic_check(TRUE, FALSE))
if(checks_antimagic && user.anti_magic_check(TRUE, FALSE, major = FALSE, self = TRUE))
to_chat(user, "<span class='warning'>Something is interfering with [src].</span>")
return
. = ..()