mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 04:26:03 +01:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user