[v1.09d] Force Six Affix Rares

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
User avatar
Forum Regular
Posts: 615
Joined: Mon Oct 22, 2007 9:46 am
Location: England
Great Britain


[v1.09d] Force Six Affix Rares

Post by Kieran » Sat May 01, 2021 12:33 pm

Credits to Necrolis for the original edit for v1.10: viewtopic.php?t=62120

The following changes force three prefix and three suffix to spawn on rare items; providing they are available.

Code: Select all

6FC50A96   8BE8             MOV EBP,EAX
6FC50A98   56               PUSH ESI
6FC50A99   896C24 2C        MOV DWORD PTR SS:[ESP+2C],EBP
6FC50A9D   E8 0E420A00      CALL <JMP.&D2Common.#10751>
6FC50AA2   83F8 3A          CMP EAX,3A
6FC50AA5   75 15            JNZ SHORT D2Game.6FC50ABC


6FC50A98   90               NOP
6FC50A99   896C24 28        MOV DWORD PTR SS:[ESP+28],EBP
6FC50A9D   B8 06000000      MOV EAX,6
6FC50AA2   EB 2B            JMP SHORT D2Game.6FC50ACF
6FC50AA4   90               NOP

Post Reply

Return to “Code Editing”