Force max numer of staffmods

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: 92
Joined: Mon Feb 19, 2018 12:43 am
Italy

Force max numer of staffmods

Post by strafano » Wed Oct 13, 2021 8:49 am

Hi amazing community!
Is it possible to force an item to get the max number of staffmods (preserving the ilvl restrictions)?

Thanks!

User avatar
Necrolis
Senior Admin
Throne
Posts: 9125
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: Force max numer of staffmods

Post by Necrolis » Wed Oct 13, 2021 4:47 pm

This requires a code edit, since you need to skip the 3 chance checks that determine how many staff mods to allocate.
What version are you wanting to edit?
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death | D2GFEx
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

strafano
Posts: 92
Joined: Mon Feb 19, 2018 12:43 am
Italy

Re: Force max numer of staffmods

Post by strafano » Wed Oct 13, 2021 6:46 pm

Necrolis wrote:
Wed Oct 13, 2021 4:47 pm
This requires a code edit, since you need to skip the 3 chance checks that determine how many staff mods to allocate.
What version are you wanting to edit?
Hi Necrolis!
1.13c

strafano
Posts: 92
Joined: Mon Feb 19, 2018 12:43 am
Italy

Re: Force max numer of staffmods

Post by strafano » Thu Oct 14, 2021 1:44 pm

SOLVED.

Taking inspiration from your suggestions reported here https://d2mods.info/forum/viewtopic.php ... od#p476534

I changed

Code: Select all

6FC33368                                              |.  83FA 5A                            CMP EDX,5A
into

Code: Select all

6FC33368                                              |.  83FA 00                            CMP EDX,0
which allows to spawn always 3 staffmods.

Post Reply

Return to “Code Editing”