Divinity: Original Sin 2

Divinity: Original Sin 2

Malchezzar's Magic Mirror Fixes [DE]
50 Comments
Malchezzar  [author] 4 Jul @ 3:10pm 
@bilibili 梅发怒Meifanu Hey, glad you enjoy the mods! If anything, I should be apologizing because I never took the time to learn how the localization stuff works properly to make it easy to localize my mods, I just made the easy methods which were pure english. Especially in some of the more complex mods, they require scripting in alot of the visible text like Fury of the Scorned, so that wouldn't be easily localizeable anyway (I'm sure there could be a way to do it and call a string, but I never learned how to do that). As long as you aren't claiming any monetization for the translated versions of my mods and are providing a link back to the originals as proper credit, I have no problem with it. I'm sorry that you had to put in extra work to localize the mods!
bilibili 梅发怒Meifanu 2 Jul @ 7:16pm 
Hi Malchezzar

I wanted to let you know I've localized two of your mods into Simplified Chinese:

Malchezzar's Magic Mirror Fixes [DE]: Created a standalone localization patch.

Fury of the Scorned - A Tanking Overhaul [DE]: Due to technical limitations (especially script localization), I couldn’t make a standalone patch. I had to integrate the localization directly into the mod files, resulting in a repackaged version.

I sincerely apologize for this approach – it’s not ideal, but it was the only way to make the full localization work for Chinese players.


If you have any concerns about the repackaged version, just say the word and I’ll take it down immediately. No questions asked.

Thanks for creating these great mods, and for your understanding!:steamhearteyes:
Malchezzar  [author] 8 May @ 5:01am 
@Meifanu OAO I suppose I dont have a problem with it if you link back to this one in the description, if I had known how localization files work when I wrote it I would just say you could give me a localization file to drop into it, but I didn't and the only text you can actually see in this mod is via code popups.
bilibili 梅发怒Meifanu 8 May @ 1:43am 
Thank you very much. I have always been troubled by using magic mirrors for things like me that hope for fair gaming. Can I translate this mod and share it?:steamdance:
Бабазаки Гений 22 Jan, 2024 @ 1:35pm 
please add a mod that removes the mirror for the challenge parties, there is no such mod in the workshop!
PanDa_BB 14 Jan, 2024 @ 1:55am 
Hello can you help with academy boost? I pick +5 Memory, -5 Strength but when I use a mirror my +5 Memory boost is gone -5 Strength still there, I test other boots it still work, but only happen with Memmory, even +5 Finesse, -5 Memory when use mirror -5 Memory is gone and leave +5 Finesse boost with no downside.
Malchezzar  [author] 13 Jan, 2024 @ 9:25pm 
@Это пиздец Technically, deleting the mirror is much easier than trying to fix it, if it becomes necessary I could easily add a version that would wipe the magic mirror from existence, I'll keep it in mind when I work on mods in the future.
Бабазаки Гений 13 Jan, 2024 @ 5:32am 
There is no such working fashion in the entire workshop
Бабазаки Гений 13 Jan, 2024 @ 5:31am 
Hello! I really liked your mod, could you create a version that disables the mirror or deletes it?
Malchezzar  [author] 7 Aug, 2023 @ 7:27pm 
@cboye19 if you take the points out in the mirror and leave them unspent, you can then talk to the npc and remove them
cboye19 7 Aug, 2023 @ 6:40pm 
So if found out that a weapon (flameblade from Odincore's pyromancy overhaul mod) was causing the issue. I can't remove them though not matter what I try.
cboye19 7 Aug, 2023 @ 6:28pm 
Yeah it seems that adding an additional talent point through the npc works but removing one doesn't.
Malchezzar  [author] 7 Aug, 2023 @ 6:07pm 
@cboye19 there is an npc near the mirror now so you can manually fix the points if issues arise, the code isn't perfect and will still cause issues so just manually correct anything that goes wrong.
cboye19 7 Aug, 2023 @ 6:04pm 
Nope, still have issues with the talent points bug.
Nirah 26 Jul, 2023 @ 11:11pm 
great! the coop playthrough is still in act 2 so the fix will come in handy. thanks for updating.
Malchezzar  [author] 26 Jul, 2023 @ 2:26pm 
@Nirah ok, I was able to fix my lua issues, I think some extender stuff changed under the hood since I wrote it 3 years ago. From what I was able to test the mod seems to be working fine now and I looked at Vanilla+. It looks like the only thing I need to account for is the All Skilled Up change, as both base Mnemonics and the Vanilla+ one apply the extra memory through boosts which aren't considered for this mod. I cleaned up some of the calculations and I removed the code for taking away stats besides talents that are already spent since I don't know of any bugs that allow you to generate extra points in the mirror (besides talents) and then spend them before you leave it.
Nirah 26 Jul, 2023 @ 12:03pm 
Here's a recreation of the bug: Using the mirror with no gear on: works as intended, equipping some pieces of gear from the Crafting Overhaul mod, the mirror adds an extra talent point regardless of your current level/stats as soon as you change anything in the mirror.

As for vanilla+'s Mnemonic, It might be a vanilla+ issue. It just breaks when you disable the talent and also change your memory attribute.
Malchezzar  [author] 26 Jul, 2023 @ 11:59am 
@Nirah that is probably the base issue with talents on gear, looking at my mod now and trying to update it I'm noticing that the lua console is throwing some errors for some reason, so I think this mod isn't actually functioning right now. I'm trying to fix it but I'm not sure I understand what the problem is.
Nirah 26 Jul, 2023 @ 11:58am 
The sets you craft using the "Rune of Uniqueness" item. The pants of those sets give a bonus talent. I have no idea why the warrior boots especially cause the mirror to add a talent point every time it's used.
Malchezzar  [author] 26 Jul, 2023 @ 10:17am 
@Nirah what does the crafting overhauls pants have on them? I also dont do any manual calculation for Mnemonic in this mod I dont think, I'll take a look at vanilla+ cause I think I passed over that one. What Unique sets are you talking about?
Nirah 26 Jul, 2023 @ 10:12am 
Vanilla+ changes a few talents. Mnemonic completely breaks when respecing. Bigger & Better/All Skilled up worth looking into. Also during my playthrough i noticed that Crafting Overhaul's Unique pants items also break the mirror. Even with this mod also installed. The entire batch of Unique Sets is probably worth a look at. I had the same bug with the unique warrior boots where it gave me a talent falsely.
Malchezzar  [author] 26 Jul, 2023 @ 7:34am 
@Nirah this mod doesn't assume any number of points per level up, it works by looking at your characters points/stats before entering the mirror and after and makes adjustments then.

As for your second question, I would need to know which mods you have that adjust those talents to be able to account for them successfully, currently I have Conflux accounted for as long as he hasn't changed how those work with his mod since the last time I worked on this.
Nirah 4 Jun, 2023 @ 2:23am 
I assume this works with mods that change the attrib/talent point acquisition rate by leveling? Also, if a mod changes bigger&better/all skilled up to not grant any bonus points, will this mod falsely add the points back?
Arthur Dayne 13 Apr, 2023 @ 3:03pm 
@Malchezar Thx!
Malchezzar  [author] 13 Apr, 2023 @ 2:07pm 
@Angry Bear Hineni I'm not sure, if the mirror has the same item ID then it will probably work fine.
Arthur Dayne 13 Apr, 2023 @ 1:59pm 
Hi there!
Does anybody know whether this mod will affect mirror in Fort Joy added by another mod from standard pack?
Malchezzar  [author] 23 Sep, 2022 @ 10:38am 
@Adrent I'm not sure, since I didn't make any edits to portrait things as far as I know, but if it was a symptom of some of the other issues then its possible I suppose.
Adrent 23 Sep, 2022 @ 10:12am 
Can this mod fix the white portrait bug?
Malchezzar  [author] 27 Aug, 2022 @ 12:08pm 
@Nadakuu if I get around to updating this mod I'll probably add that in, cause there can be some weird things that happen.
Nadakuu 21 Nov, 2021 @ 7:16am 
any chance to get a book to remove unspent talent points. can't seem to figure out why when i change the attributes it gives free talent point still.
Malchezzar  [author] 11 Jul, 2021 @ 9:32am 
@Deemer I dont know the specific circumstance, but odds are you have hothead from a piece of equipment? The mod adjusts points only, it doesn't give you back talents you used to have.
Deemer 11 Jul, 2021 @ 8:06am 
Hey, I removed a talent, hothead to be specific, and changed my talent to something else. I still have hothead giving me the crit chance. Any idea what i can do to fix this?
Malchezzar  [author] 26 Sep, 2020 @ 8:29am 
@Umbrafalx Did you get the points before or after you entered the mirror? If you get the points outside the mirror somehow, the mod will not recognize them as "Excess", the same goes for if you got them before you installed the mod. Usually, extra talents are generated by having a talent on gear and then reallocating points that would otherwise "auto unequip" the talent (missing prerequisites), but the game doesn't recognize that you have the talent unlocked via gear. This mod should be accounting for that and removing them accordingly in those cases though.

I have been debating adding a mod book that will auto remove any "unspent" points, so that players could use it to "fix" issues that are pre-existing, but I haven't gotten around to that yet.
Umbrafalx 25 Sep, 2020 @ 10:47pm 
Hello thanks for this mod. I have a Ifan (level9) who somehow got 2 additional talent points, and when I leave the mirror they're not removed. Any suggestions?
Ryskar 5 Sep, 2020 @ 12:26pm 
I laughed my ass off when I saw the weapon and knew it was too good to be a reward from Slane. No harm done.
Malchezzar  [author] 5 Sep, 2020 @ 8:44am 
@folk xD sorry I didn't even realize they were spawning until my friend pulled both test templates within like 30 min... Yea they were kinda busted cause they had a ton of stats (was using them to determine if my calculations would work/get screwed up by them).
folk 5 Sep, 2020 @ 12:12am 
God dammit your latest update removed my weapon. I didn't know it was a test weapon, it's the first time I play this game, I thought I was just extremely lucky.

Fuck. Fuck. Fuck.
Ryskar 14 Aug, 2020 @ 10:36am 
Awesome, great work dude.
Malchezzar  [author] 13 Aug, 2020 @ 6:15pm 
Ok, I think I figured out something that works well enough. It might not completely catch all generated points in the event of adding lone wolf, but it at least won't take any away from you when that happens. Also, I added lone wolf "overloading" checks, so if you have more points in a stat than you need to hit the cap with lone wolf, it refunds those points to you so that you can spend them elsewhere instead of having them just hidden as excess.
Malchezzar  [author] 13 Aug, 2020 @ 2:30pm 
@[FaZe]Gaybraham Lincum I think I have mostly fixed the problem, but lone wolf adds another issue in general with the extra points, so I might have to wait for a script extender update to push my changes.
Malchezzar  [author] 13 Aug, 2020 @ 5:01am 
@[FaZe]Gaybraham Lincum Hmm.. Interesting. So it seems that lone wolf does not affect the attributes calculations at all (was using base as expected), but for some reason Combat Abilities do not receive this, so equipping Lone Wolf in the mirror results in having "Double" the combat abilities that it was expecting (but only for combat abilities, very strange). I should be able to fix this.
Malchezzar  [author] 13 Aug, 2020 @ 4:45am 
@[FaZe]Gaybraham Lincum Interesting, so it sounds like Lone Wolf is the cause for that issue. I didn't factor lone wolf into the calculations because I assumed I was only looking at "Base" points, which would be before Lone Wolf's boost. I'll investigate some more and see what's up, if you could upload the save file from right before the issue started that could be helpful for debugging.

In the meantime while I look for a fix, I would probably recommend not adding lone wolf while inside the mirror, so if you want to turn on lone wolf, just leave a talent point unspent until you leave the mirror and add it afterwards.
Ryskar 12 Aug, 2020 @ 4:32pm 
Hey there. So I went through my mods one at a time, and this was definitely the culprit. When I used the respec mirror, I was permanently losing points; e.g. I'd use the mirror and my geomancy would go from 2 to 0, without me even touching it. I repeated this process and was able to hit 0 in all skills.

If you need a more detailed version: I used the mirror, changed a talent to Lone Wolf, removed a point from one skill and put it in another. I wasn't using any other mods that affect character creation/mirrors and this was at the bottom of my load order. Hope this helps.
Cordatus 28 Jul, 2020 @ 5:47am 
Thank you for this!
Stirk 10 Jul, 2020 @ 2:39pm 
Thank you, Malchezzar.
LordKhaox 6 Jul, 2020 @ 2:20pm 
Thx for your quick answer I will keep both mods active than
Malchezzar  [author] 6 Jul, 2020 @ 2:10pm 
@LordKhaox only for the mirror itself, any points gained outside of the mirror aren't considered "Generated", since people can have varying level up amounts for point allocations, it only accounts for respec issues.
LordKhaox 6 Jul, 2020 @ 1:32pm 
So the polymorph recruit fix mod is also redundant or will this mod just fix it for the mirror and not for the first recruiting?
Malchezzar  [author] 6 Jul, 2020 @ 12:38pm 
@LordKhaox yes it should, along with any other points inconsistencies.
LordKhaox 6 Jul, 2020 @ 10:30am 
Will this mod fix the polymorph points bug?