
You're meant to focus on only a few skills, and tailor your attributes to gear. But if you even remotely like min/maxing, then this game is your dream come true. Unfortunately, I am not familiar enough with the Logic system to be able to easily tell what is actually safe to remove.Ĭould someone please examine the code of my "Ultimate Respec Lite" mod, and point out where I can simplify things?įor convenience, I have attached the source directory of the mod in question.Couple of Diablolike noobery problems in this thread need cleaning up. Since I changed the code to affect all players indiscriminately (regardless of class), some of the existing Logic is likely redundant (which might contribute to the lag somehow). I have, however, received reports of gradually increasing lag when players leave the Respec window open for a while. Since the original mod was essentially just an expanded form of " FreeSpec" mod, I was able to get away with simply replacing its " " UnitType checks with a single set of generic " Player" UnitType checks, with the minimum value for each main Attribute set to " 5". The edits I have already made to the "Ultimate Respec" mod for this project, are pretty minimal. Then I removed all class-specific files and triggers from the mod-leaving only the "generic" Stat respec triggers in place.Īfter a quick test with both a vanilla Embermage character, and my own custom "Emberdrake" class, I can confirm that this simplified version of the "Ultimate Respec" mod correctly works on both modded and vanilla classes. For these triggers, I set all Stats to a minimum value of 5 (instead of 10 or 15).

Following the class-adding instructions provided in the official FreeSpec thread, I created a set of class-triggers linked to the generic "Player" unit-type (which both vanilla and modded classes inherit). Potion based respec mods like " Respec/Restat Potions" work just fine without checking whether a player is below his or her "starting stats"-which indicates to me that starting Stats are more or less arbitrary.Īnd so I decided to remove that unecessary code. However, this restriction is oriented more towards immersive consistency than mechanical necessity. This is because both "FreeSpec" and "Ultimate Respec" set the minimum value for each Stat to the starting values for the player's current class-a process which requires a complicated static registry to implement. That being said, "Ultimate Respec" suffers from the same problem that plagued "FreeSpec"-namely its lack of support for custom classes.
