How to reduce my resistance to elements?

Post here about all aspects of D2 mod making whether it's information, problems or whatever. Please specify whether your post is relating to Classic D2 or the Expansion.

Moderator: Nizari

Post Reply
marinero
Posts: 9
Joined: Tue Jun 28, 2022 5:57 am
Peru

How to reduce my resistance to elements?

Post by marinero » Tue Aug 09, 2022 2:22 am

I want to reduce my base max resis to 70% specifically just the cold element.
I want to do this so I can balance the pvp of cold sorceresses against characters that shield themselves with cold resistance.

I searched in texts but I can't find.
if it is encoding please tell me where.
I apologize for my English.

thereaverofdarkness
Posts: 30
Joined: Tue Mar 15, 2022 8:13 am

Re: How to reduce my resistance to elements?

Post by thereaverofdarkness » Wed Aug 10, 2022 3:00 am

I would just nerf cold mastery. It seems overpowered anyway. no matter how you slice it.

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: How to reduce my resistance to elements?

Post by ascar » Sun Aug 14, 2022 1:18 am

hello, i changed the max resistance cap and the lowest resistance cap with code editing game.exe (1.14d version) but didnt find for just one element.

I think you need code edit the dll files (for previous versions ) or game.exe (for 1.14) with hexa editor...

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: How to reduce my resistance to elements?

Post by ascar » Sun Aug 14, 2022 1:21 am

for cold mastery you can edit it via "skills.txt" with excel of a sheet editor.

marinero
Posts: 9
Joined: Tue Jun 28, 2022 5:57 am
Peru

Re: How to reduce my resistance to elements?

Post by marinero » Thu Aug 18, 2022 4:13 pm

ascar wrote:
Sun Aug 14, 2022 1:18 am
hello, i changed the max resistance cap and the lowest resistance cap with code editing game.exe (1.14d version) but didnt find for just one element.

I think you need code edit the dll files (for previous versions ) or game.exe (for 1.14) with hexa editor...
Could you tell me which DLL file it is in? if it is possible in which part, thank you very much

marinero
Posts: 9
Joined: Tue Jun 28, 2022 5:57 am
Peru

Re: How to reduce my resistance to elements?

Post by marinero » Sat Aug 20, 2022 5:23 pm

In case it serves to someone. I did it by giving passive to the Attack skill

so you have 70 stamina so don't use the skill

Image

Imagesubir la foto

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: How to reduce my resistance to elements?

Post by ascar » Thu Feb 23, 2023 12:54 am

hello

in ollydbg when you open game.exe (1.14d)

you search for this :

for Resist max : "CMP EAX,5F"

adress in hexa edit programm are :
A865A
17BEA9

for Resist min : "CMP ESI,-64"

hexa programm adresses

A865A
17BEA9
4A8674


there is more than 1 adress for each because there is one for display and one for the value calculation.

The third one for min res i dont know what is it for...


value max is 5F (95 in decimal) you can put what you want : 64 hexa is 100 in decimal^^

value min is 64 (100) ; a value that is working for me is : 83 (-125 in game), i cant put more than that or game will not display it

there should be a cap on negative display somewhere...
Last edited by ascar on Thu Feb 23, 2023 12:59 am, edited 1 time in total.

ascar
Posts: 69
Joined: Mon Aug 02, 2021 6:40 pm
France

Re: How to reduce my resistance to elements?

Post by ascar » Thu Feb 23, 2023 12:58 am

to put 70 with code you can put "46" in the CMP EAX,5F

you put CMP EAX,46

max res will be 70

Post Reply

Return to “General Mod Making”