Damageregen of hirelings?

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
User avatar
pepa999
Posts: 57
Joined: Mon Oct 20, 2008 7:10 pm
Czech Republic

Damageregen of hirelings?

Post by pepa999 » Fri May 24, 2019 12:54 pm

Hi, damageregen in monstats seems not to be working. I set it to 0, but still my hirelings regenerate. How can i disable hirelings regeneration?

User avatar
Nizari
Senior Moderator
Crusader
Posts: 94
Joined: Fri Feb 16, 2018 11:39 pm
Poland

Re: Damageregen of hirelings?

Post by Nizari » Fri May 24, 2019 1:05 pm

Self 'debuff' aura with noheal isc applied.

User avatar
pepa999
Posts: 57
Joined: Mon Oct 20, 2008 7:10 pm
Czech Republic

Re: Damageregen of hirelings?

Post by pepa999 » Fri May 24, 2019 1:25 pm

Can you be more specific, what should i change?

EDIT: I want to preserve healing from potions, auras, etc.

User avatar
Nizari
Senior Moderator
Crusader
Posts: 94
Joined: Fri Feb 16, 2018 11:39 pm
Poland

Re: Damageregen of hirelings?

Post by Nizari » Fri May 24, 2019 1:43 pm

Copy might aura and paste it at the bottom of the file. Change name (skill field) to mercnohealaura, the ID field for proper number, then clear the following fields (leave them blank):
charclass
skilldesc
auratargetstate
param1 and param2 (not required but you will clear these for 'cosmetic' purposes)

Now, change:
aurastate - nooverlayaura1
aurarangecalc - 1
aurastat1 - item_preventheal
aurastatcalc1 - 1
immediate - 1 (it probably has 1 there, I don't remember, as I'm writing from memory and can't check the files atm)

Open states.txt, copy might state and paste it at the bottom of the file, change the following:
state - nooverlayaura1
id - put the proper, next in line number here like in case of your new skill
dmgblue - clear this field
overlay1 and probably overlay2 - clear this fields
onsound - clear this field


Open hireling.txt, add mercnohealaura in one of Skill fields of each of your mercenaries, set the DefaultChance to 1000, set the corresponding Mode field to NU, set the corresponding Level field to 1.

User avatar
pepa999
Posts: 57
Joined: Mon Oct 20, 2008 7:10 pm
Czech Republic

Re: Damageregen of hirelings?

Post by pepa999 » Fri May 24, 2019 1:57 pm

Thank you so much for help :)

Post Reply

Return to “General Mod Making”