[1.13c] Force 4 random affixes on crafted items
Moderators: Nefarius, Havvoric
[1.13c] Force 4 random affixes on crafted items
Is it possible to force 100% chance of 4 random affixes in crafted items?
-
- Paladin
- Posts: 144
- Joined: Sun Nov 11, 2012 9:46 am
Re: [1.13c] Force 4 random affixes on crafted items
.
Last edited by jessedazebra on Sat Feb 19, 2022 9:40 am, edited 1 time in total.
Re: [1.13c] Force 4 random affixes on crafted items
It works ty!jessedazebra wrote: ↑Sat Oct 16, 2021 12:57 pmUnread post by jessedazebra » Sat Oct 16, 2021 12:57 pm
I believe it is, check this out, should be it. I made that edit long time ago, but didn't save the address. So I compared D2Game.dll from my mod with default one.
Code: Select all
00014C70 BF 01000000 MOV EDI,1
00014C75 7E 05 JLE SHORT 00014C7C
00014C77 BF 02000000 MOV EDI,2
00014C7C 83F8 32 CMP EAX,32
00014C7F 7E 05 JLE SHORT 00014C86
00014C81 BF 03000000 MOV EDI,3
00014C86 83F8 46 CMP EAX,46
Change to:
Code: Select all
00014C70 BF 04000000 MOV EDI,4
00014C75 7E 05 JLE SHORT 00014C7C
00014C77 BF 04000000 MOV EDI,4
00014C7C 83F8 32 CMP EAX,32
00014C7F 7E 05 JLE SHORT 00014C86
00014C81 BF 04000000 MOV EDI,4
00014C86 83F8 46 CMP EAX,46