[MIRROR] the shocks from spell packets now have SHOCK_NOGLOVES [MDB IGNORE] (#17773)

* the shocks from spell packets now have SHOCK_NOGLOVES (#71506)

## About The Pull Request

See title.

## Why It's Good For The Game

Atomized from https://github.com/tgstation/tgstation/pull/71426.

The shocks come from you being hit in the chest by a packet of enchanted
birdseed, not from touching something with your hands.

## Changelog

🆑 ATHATH
fix: The shocks from the spell packets spell are no longer blocked by
insulated gloves.
/🆑

* the shocks from spell packets now have SHOCK_NOGLOVES

Co-authored-by: ATH1909 <42606352+ATH1909@users.noreply.github.com>
This commit is contained in:
SkyratBot
2022-11-27 07:56:23 -08:00
committed by GitHub
co-authored by ATH1909
parent 8c1a3b26ab
commit 8c84bb2ff1
@@ -29,7 +29,7 @@
if(isliving(hit_atom))
var/mob/living/hit_living = hit_atom
if(!hit_living.can_block_magic())
hit_living.electrocute_act(80, src, flags = SHOCK_ILLUSION)
hit_living.electrocute_act(80, src, flags = SHOCK_ILLUSION | SHOCK_NOGLOVES)
qdel(src)
/obj/item/spellpacket/lightningbolt/throw_at(atom/target, range, speed, mob/thrower, spin = TRUE, diagonals_first = FALSE, datum/callback/callback, force = INFINITY, quickstart = TRUE)