Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MoM] Psi passives turn off if you can't use psionics #78447

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

Standing-Storm
Copy link
Contributor

@Standing-Storm Standing-Storm commented Dec 9, 2024

Summary

Mods "[MoM] Psi passives turn off if you can't use psionics"

Purpose of change

It only makes sense.

Describe the solution

Add "condition": { "not": { "u_has_flag": "NO_PSIONICS" } } to all the psi passives. This can lead to some problems if you're not careful--for example, your electric armor from electrokinesis turns off if you're near a null now, or if you’re stunned.

I was not able to do this yet with Photokinesis, since integrated_armor doesn't take conditions and since adding mutations through an enchantment is bugged. Once that bug is fixed, I can make the actual fake glasses that provide the effects a secondary mutation that's removed if you have the flag.

Describe alternatives you've considered

Testing

Went in as a Clairsentient and spawned some nether monsters. Spawned a null nearby, passive nether vision turned off.

Additional context

@github-actions github-actions bot added Mods Issues related to mods or modding [JSON] Changes (can be) made in JSON Mods: Mind Over Matter json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Dec 9, 2024
@Maleclypse Maleclypse merged commit 4049f3e into CleverRaven:master Dec 11, 2024
23 of 29 checks passed
@Standing-Storm Standing-Storm deleted the passives-turn-off- branch December 11, 2024 05:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions [JSON] Changes (can be) made in JSON json-styled JSON lint passed, label assigned by github actions Mods: Mind Over Matter Mods Issues related to mods or modding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants