how to reduce crush blow?

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
huohuowu2
Junior Member
Paladin
Posts: 154
Joined: Sat Feb 28, 2015 4:20 am
China

how to reduce crush blow?

Post by huohuowu2 » Tue Jun 04, 2019 1:00 am

Hello,every one.I want to reduce crush blow, 8% of life to 1% of life. What code do I need to modify?

Fruit
Posts: 3
Joined: Tue Apr 10, 2018 12:48 am
Netherlands

Re: how to reduce crush blow?

Post by Fruit » Fri Jun 28, 2019 3:05 am

For 1.13d the Crushing Blow function starts at base + 0x3CB30 in D2Game.dll, if that makes sense.

User avatar
huohuowu2
Junior Member
Paladin
Posts: 154
Joined: Sat Feb 28, 2015 4:20 am
China

Re: how to reduce crush blow?

Post by huohuowu2 » Fri Jun 28, 2019 4:05 am

Fruit wrote:
Fri Jun 28, 2019 3:05 am
For 1.13d the Crushing Blow function starts at base + 0x3CB30 in D2Game.dll, if that makes sense.
thank you for your help.
could you post the code?i want to find this in 1.10.

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: how to reduce crush blow?

Post by Necrolis » Fri Jun 28, 2019 10:58 am

Crushing blow in 1.10 is handled in D2Game.0x6FD04E50, Nefarius has a post on how this function works, IIRC all the values are calculated from a table based on level.
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

Fruit
Posts: 3
Joined: Tue Apr 10, 2018 12:48 am
Netherlands

Re: how to reduce crush blow?

Post by Fruit » Fri Jun 28, 2019 11:29 pm

Necrolis wrote:
Fri Jun 28, 2019 10:58 am
Crushing blow in 1.10 is handled in D2Game.0x6FD04E50, Nefarius has a post on how this function works, IIRC all the values are calculated from a table based on level.
How would you know the address? The addresses seem to change all the time for me.
Interesting that CB is based on level in 1.10, afaik this is not the case in 1.13 or pre-1.10.

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: how to reduce crush blow?

Post by Necrolis » Mon Jul 01, 2019 8:26 pm

Fruit wrote:
Fri Jun 28, 2019 11:29 pm
Necrolis wrote:
Fri Jun 28, 2019 10:58 am
Crushing blow in 1.10 is handled in D2Game.0x6FD04E50, Nefarius has a post on how this function works, IIRC all the values are calculated from a table based on level.
How would you know the address? The addresses seem to change all the time for me.
Interesting that CB is based on level in 1.10, afaik this is not the case in 1.13 or pre-1.10.
Just by looking it up from the item event callback table. the address given is for the preferred load address of D2Game in 1.10, you can easily rebase it or convert it to a file offset by subtracting the preferred base address (which is 0x6FC30000 in 1.10, you can check is with a PE tool like LordPE).

As for the level based stuff, looks like I conflated bleeding with CB (bleed is one entry before CB, and does have a table based on level).
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

Post Reply

Return to “Code Editing”