[MIRROR] makes broken chameleon kit items immune to being EMP'd to unbreak them (#27217)

* makes broken chameleon kit items immune to being EMP'd to unbreak them (#82495)

## About The Pull Request

Broken chameleon kits can be EMP'd to un-break them. This fixes that and
makes them permanently broken.
## Why It's Good For The Game

Patching a possible exploit
Fixes #82454
## Changelog

Broken chameleon kits can't be unbroken by an EMP.
🆑
fix: Broken chameleon kits can't be unbroken by an EMP.
/🆑

* makes broken chameleon kit items immune to being EMP'd to unbreak them

---------

Co-authored-by: Joshua Kidder <49173900+Metekillot@users.noreply.github.com>
Co-authored-by: Waterpig <49160555+Majkl-J@users.noreply.github.com>
This commit is contained in:
SkyratBot
2024-04-16 14:16:29 +02:00
committed by GitHub
parent 30fd28ac03
commit ca2caae240
@@ -3,6 +3,7 @@
do { \
var/datum/action/item_action/chameleon/change/_action = locate() in item.actions; \
_action?.emp_randomise(INFINITY); \
item.AddElement(/datum/element/empprotection, EMP_PROTECT_SELF); \
} while(FALSE)
// Cham jumpsuit