-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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] Fix Discern Weakness #72790
[MoM] Fix Discern Weakness #72790
Conversation
Fyi monsters can get enchantments now |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Right, but even after that was changed it still didn't work (because the effect saw |
If it works for you, effects can be detected on monsters (*) with EoCs, using the duration of the effect as a sort of internal timer from the monster's side. (*) Not sure if this is a bug or not. The doc mentions that monsters can't be the talker of |
Unfortunately, applying this throws an error message that appears to be caused by a bug in enchant on monster code. I'll make a bug report later. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Please do not bump or comment on this issue unless you are actively working on it. Stale issues, and stale issues that are closed are still considered. |
Summary
Mods "[MoM] Fix Discern Weakness"
Purpose of change
Discern Weakness has never really worked, at first because monsters couldn't take enchantments and then because effects couldn't read the stats of the originator. But now that I know more about EoCs I know how to fix this.
Describe the solution
Rather than Discern Weakness directly applying an effect, it evokes an EoC. First it saves the psion's Intelligence, Discern Weakness power level, and Nether Attunement as variables onto the target, and then the target applies the effect on themselves with its power level derived from those variables.
Describe alternatives you've considered
Testing
Tested and works. Looks like the changes to enchant code in #73227 fixed the bugs with variable-based monster enchants.
Debugged Intelligence and power level to 50 and:
Chunky salsa
Additional context