create a reset stats item 1.13c

This forum is for discussions on how to edit what can not be edited through the txt files, needless to say this isn't about battle net hacking.

Moderators: Nefarius, Havvoric

Post Reply
strafano
Posts: 45
Joined: Mon Feb 19, 2018 12:43 am

create a reset stats item 1.13c

Post by strafano » Sun Jan 12, 2020 8:04 pm

Hello, version 1.13c here!
I would like to create a potion (or scroll) to reset stats (but NOT skills).

Alternatively it would be still nice to modify the Token of Absolution by removing the reskill function and leaving the restats function.

Any suggestion?

Thanks in advance!

User avatar
devurandom
Forum Regular
Angel
Posts: 856
Joined: Sat Mar 07, 2015 9:07 pm
United States of America

Re: create a reset stats item 1.13c

Post by devurandom » Mon Jan 13, 2020 12:57 pm

Maybe create a new pspell and have it call code for RESPEC_RestoreStats. Lolet posted code for rewrite on this function. You could call this function with a stub.
http://d2mods.info/forum/viewtopic.php?p=467193
Assembly Reference | 1.13d Code Edits | UVLoD | BaseMod Plugin

Fiat paper money is the most elaborate and well devised form of slavery the world has ever seen..

Post Reply

Return to “Code Editing”