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

[Magiclysm] Dispel Magic and Disjunction affect summoned items and auras now #71321

Merged

Conversation

Standing-Storm
Copy link
Contributor

@Standing-Storm Standing-Storm commented Jan 28, 2024

Summary

Mods "[Magiclysm] Dispel Magic and Disjunction affect summoned items and auras now"

Purpose of change

Previously, Dispel Magic and Disjunction only affected magic that was applied as an effect. But thanks to Event EoCs, they can affect auras made with spawn_item now too.

Describe the solution

Go through and make two Event EoCs that check for the effects added by Dispel Magic and Disjunction that remove all spawned items. Dispel Magic only works on spells of Difficulty 6 or lower and no attunements, Disjunction works on everything, the same behavior as effects.

Describe alternatives you've considered

Testing

Made a technomancer with Mage Armor (Difficulty 5) and Mage Blade (Difficulty 7). Spawned in a mi-go nethermancer and it casts Dispel Magic and dispelled my armor but not my blade. Debug-killed it, recast Mage Armor, and spawned in a feral radiation mage and it cast Disjunction and dispelled everything.

Additional context

It'll be nice when monsters can have enchantments and we can represent enemy mages' protective buffs as effects, which you will then be able to dispel.

@github-actions github-actions bot added [JSON] Changes (can be) made in JSON Mods Issues related to mods or modding Mods: Magiclysm Anything to do with the Magiclysm mod labels Jan 28, 2024
@github-actions github-actions bot requested a review from KorGgenT January 28, 2024 22:05
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-requesting reviews from non-collaborators: @GuardianDll

@github-actions github-actions bot added astyled astyled PR, label is assigned by github actions json-styled JSON lint passed, label assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Jan 28, 2024
@Maleclypse Maleclypse merged commit 48fb72e into CleverRaven:master Jan 31, 2024
24 of 28 checks passed
@Standing-Storm Standing-Storm deleted the more-dispelling-dispels branch January 31, 2024 03:56
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: Magiclysm Anything to do with the Magiclysm mod Mods Issues related to mods or modding
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants