Removing immunities from all monsters - also from super uniques

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

fernsehen123
Posts: 67
Joined: Tue Sep 04, 2012 4:13 am
Germany

Removing immunities from all monsters - also from super uniques

Post by fernsehen123 » Tue Mar 27, 2018 1:46 pm

Hi,

I changed the MonStats.txt in a way that for all res-entries X, I used the Excel formula IF(X<95;X;95) to make all resistances smaller or equal to 95.

Now I want to make sure that there is no other enemy that still has higher resistances,
and that there is no enchanted super unique monster that gets for example +25 light res and therefore is immune to light...

any ideas how to achieve this?

User avatar
Nizari
Site Admin
Paladin
Posts: 115
Joined: Fri Feb 16, 2018 11:39 pm
Poland

Re: Removing immunities from all monsters - also from super uniques

Post by Nizari » Tue Mar 27, 2018 4:06 pm

Not sure, what you actually mean by using this formula, but res entries in MonStats are not calc fields and will not accept any formula.
You would have to code edit lightning/cold/fire/poison enchanted, mana burn and stone skin monUmods to get rid of extra resistances and immunities caused by it.

fernsehen123
Posts: 67
Joined: Tue Sep 04, 2012 4:13 am
Germany

Re: Removing immunities from all monsters - also from super uniques

Post by fernsehen123 » Tue Mar 27, 2018 4:47 pm

Nizari wrote:
Tue Mar 27, 2018 4:06 pm
Not sure, what you actually mean by using this formula, but res entries in MonStats are not calc fields and will not accept any formula.
I just explained how I changed like 10000 entries with 5 clicks.
All fields are numbers only!
Nizari wrote:
Tue Mar 27, 2018 4:06 pm
You would have to code edit lightning/cold/fire/poison enchanted, mana burn and stone skin monUmods to get rid of extra resistances and immunities caused by it.
{filtered}... Is there no other way to remove those enchantments?
Could I just remove the monUmods lines, which could add resistances?
I do not know if I would like that... But in general this could be a solution.

Code editing is not that easy, is it? :D

User avatar
Nizari
Site Admin
Paladin
Posts: 115
Joined: Fri Feb 16, 2018 11:39 pm
Poland

Re: Removing immunities from all monsters - also from super uniques

Post by Nizari » Tue Mar 27, 2018 5:21 pm

Removing monUmod lines will probably lead you to a crash as I guess.
The code edit required to fulfill your needs is very simple.

fernsehen123
Posts: 67
Joined: Tue Sep 04, 2012 4:13 am
Germany

Re: Removing immunities from all monsters - also from super uniques

Post by fernsehen123 » Tue Mar 27, 2018 5:35 pm

Nizari wrote:
Tue Mar 27, 2018 5:21 pm
The code edit required to fulfill your needs is very simple.
Sounds good!
I might read up for that and try my first code edit when I have the time.
Thanks

gcc
Junior Member
Paladin
Posts: 125
Joined: Thu Apr 14, 2011 6:03 am
Austria

Re: Removing immunities from all monsters - also from super uniques

Post by gcc » Thu Mar 29, 2018 11:01 pm

And yes. you could simply remove all monumod entries that cause res (set chance to 0 so that they do not spawn, and remove them from superuniques.txt) - but this will limit the available monumods to strong, cursed, fast, multishot, aura and teleport. Ghostly champions would also have to be removed.

fernsehen123
Posts: 67
Joined: Tue Sep 04, 2012 4:13 am
Germany

Re: Removing immunities from all monsters - also from super uniques

Post by fernsehen123 » Sat Mar 31, 2018 1:57 am

gcc wrote:
Thu Mar 29, 2018 11:01 pm
And yes. you could simply remove all monumod entries that cause res (set chance to 0 so that they do not spawn, and remove them from superuniques.txt) - but this will limit the available monumods to strong, cursed, fast, multishot, aura and teleport. Ghostly champions would also have to be removed.
hi gcc,

which value is the chance for the attribute?
is it this xfer ??

Image

gcc
Junior Member
Paladin
Posts: 125
Joined: Thu Apr 14, 2011 6:03 am
Austria

Re: Removing immunities from all monsters - also from super uniques

Post by gcc » Sat Mar 31, 2018 2:41 am

chanc to spawn is controlled by cpick and upick columns.
suprunique mods need to be changed by hand.

fernsehen123
Posts: 67
Joined: Tue Sep 04, 2012 4:13 am
Germany

Re: Removing immunities from all monsters - also from super uniques

Post by fernsehen123 » Sat Mar 31, 2018 11:51 am

gcc wrote:
Sat Mar 31, 2018 2:41 am
chanc to spawn is controlled by cpick and upick columns.
suprunique mods need to be changed by hand.
okay, thanks !

but I still count 9 mods:

Image

or will one of those still make some bad guys immune to something?

stone skin puts physical res to 80% i guess.
not +80% but just setting to 80... so this will be ok I guess



Edit: I just removed the 1's in the ghostly cpick fields.

gcc
Junior Member
Paladin
Posts: 125
Joined: Thu Apr 14, 2011 6:03 am
Austria

Re: Removing immunities from all monsters - also from super uniques

Post by gcc » Sat Mar 31, 2018 11:28 pm

manahit -> magic resist
spectralhit -> fire/cold/ltng resist
stoneskin -> phys resist

all of them can cause immunities.

Return to “General Mod Making”