Merge pull request #16523 from hal9000PR/emp-fix

Fixes a cult EMP exploit
This commit is contained in:
variableundefined
2021-08-11 16:15:20 -04:00
committed by GitHub
+1 -1
View File
@@ -185,7 +185,7 @@
owner.visible_message("<span class='warning'>[owner]'s body flashes a bright blue!</span>", \
"<span class='cultitalic'>You speak the cursed words, channeling an electromagnetic pulse from your body.</span>")
owner.emp_act(2)
empulse(owner, 2, 5, cause = "cult")
INVOKE_ASYNC(GLOBAL_PROC, /proc/empulse, owner, 2, 5, TRUE, "cult")
owner.whisper(invocation)
charges--
if(charges <= 0)