You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A few CBMs my character has aren't applying their effects, namely the cloaking system and artificial night generator CBMs. I made a new base world to see if it's the same case and it was. I checked to see what they do, noted via the cloaking system in additional context (a), and it looks like they're using enchantments to produce their results. Noted in additional context (b) is the enchantment itself, and in (c) is the effect the enchantment is supposed to provide. At first I thought it was enchantments in general, but the ink glands enchantment works, mutation noted in additional context (d), except that it's a different type of enchantment, one that casts a spell, noted in additional context (e) and (f). This lead me to the conclusion that it's only effects that are affected from this bug affecting enchantments.
Steps To Reproduce
Testing, for CBMs:
Acquire and install Cloaking System CBM.
Activate it.
After a few turns of waiting, check status screen and confirm that Invisibility is not shown on the effects summary.
Examine monsters that you're in vision range of, and see that it states they can see you.
Testing, for mutations:
Add the following to a mutation, preferably one available during character creation: "enchantments": [ "ENCH_INVISIBILITY" ]
Start play with said mutation, or acquire it via debug.
After a few turns of waiting, check status screen and confirm that Invisibility is not shown on the effects summary.
Examine monsters that you're in vision range of, and see that it states they can see you.
Debug in the Ink Glands mutation.
Allow an enemy to hit you until Ink Spray triggers, confirming that it's specific to ench_effects rather than enchantments in general.
Expected behavior
The activation of the cloaking system CBM should activate the enchant which should then apply the invisibility effect and make it so that monsters/entities cannot percieve you by sight.
Screenshots
Spitter zombie can see me:
Despite the CBMs being on:
Status screen to show the invisibility effect isn't showing there either:
Describe the bug
A few CBMs my character has aren't applying their effects, namely the cloaking system and artificial night generator CBMs. I made a new base world to see if it's the same case and it was. I checked to see what they do, noted via the cloaking system in additional context (a), and it looks like they're using enchantments to produce their results. Noted in additional context (b) is the enchantment itself, and in (c) is the effect the enchantment is supposed to provide. At first I thought it was enchantments in general, but the ink glands enchantment works, mutation noted in additional context (d), except that it's a different type of enchantment, one that casts a spell, noted in additional context (e) and (f). This lead me to the conclusion that it's only effects that are affected from this bug affecting enchantments.
Steps To Reproduce
Testing, for CBMs:
Testing, for mutations:
"enchantments": [ "ENCH_INVISIBILITY" ]
ench_effects
rather than enchantments in general.Expected behavior
The activation of the cloaking system CBM should activate the enchant which should then apply the invisibility effect and make it so that monsters/entities cannot percieve you by sight.
Screenshots
Spitter zombie can see me:
![spitter zombie can see me](https://user-images.githubusercontent.com/55259323/90934624-e49fce80-e401-11ea-85e1-b8df1cef05d7.PNG)
![CMBs are on](https://user-images.githubusercontent.com/55259323/90934672-fbdebc00-e401-11ea-9c46-694481a5f853.PNG)
![effect not showing](https://user-images.githubusercontent.com/55259323/90934730-1b75e480-e402-11ea-81f1-73bc7242c2cb.PNG)
Despite the CBMs being on:
Status screen to show the invisibility effect isn't showing there either:
Versions and configuration
Additional context
(a): https://github.com/CleverRaven/Cataclysm-DDA/blob/master/data/json/bionics.json#L264
(b): https://github.com/CleverRaven/Cataclysm-DDA/blob/master/data/json/enchantments.json#L4
(c): https://github.com/CleverRaven/Cataclysm-DDA/blob/master/data/json/effects.json#L640
(d): https://github.com/CleverRaven/Cataclysm-DDA/blob/master/data/json/mutations/mutations.json#L2798
(e): https://github.com/CleverRaven/Cataclysm-DDA/blob/cfbd1421b24bbd7dc823ef8545eb5f1833fd063d/data/json/mutations/mutation_enchantments.json
(f) https://github.com/CleverRaven/Cataclysm-DDA/blob/2dcc333432989cfcc22e6dd494ac0f7eec9979cc/data/json/mutations/mutation_spells.json
The text was updated successfully, but these errors were encountered: