Passive auto Life regen?
Moderator: Nefarius
-
- Posts: 78
- Joined: Tue Nov 05, 2013 10:42 pm
Passive auto Life regen?
Is there something I can add auto life regen for this modded game, without D2SE???
I am not yet sure if I adopt Vitality for HP/Life auto regen?
(I tested Zy-El 4.5 patch1.10 but there was HP regen)
I am not yet sure if I adopt Vitality for HP/Life auto regen?
(I tested Zy-El 4.5 patch1.10 but there was HP regen)
Miniguns Assault!
-
- Posts: 7
- Joined: Wed Sep 01, 2010 3:06 pm
Re: Passive auto Life regen?
I am necroing this thread!
I wanted to do this too. I want to add passive regeneration either as a skill to buy in game or as a skill my characters start off with:
I know how to add extra skills, But I don't know what coding to use for the health regen.
I added to "Skill 10" of the CharStats.txt:
PCRegen
^the skill name I am going to use, actually on a side note, would adding an extra column (to CharStats.txt) break anything?
Say adding a "Skill 11" column.
I then added a row to the Skills.txt
PCRegen passive_regen edns item_healafterhit 1 + vit / 25 1 8
^ID ^passive state ^passive itype ^passivestat1 ^passivecalc1 ^ingame hitshift
Help appreciated.
I wanted to do this too. I want to add passive regeneration either as a skill to buy in game or as a skill my characters start off with:
I know how to add extra skills, But I don't know what coding to use for the health regen.
I added to "Skill 10" of the CharStats.txt:
PCRegen
^the skill name I am going to use, actually on a side note, would adding an extra column (to CharStats.txt) break anything?
Say adding a "Skill 11" column.
I then added a row to the Skills.txt
PCRegen passive_regen edns item_healafterhit 1 + vit / 25 1 8
^ID ^passive state ^passive itype ^passivestat1 ^passivecalc1 ^ingame hitshift
Help appreciated.
Re: Passive auto Life regen?
I once created a stat "Regen per Health", then granted it via a consumable potion as a starter item. This way it sort of worked like regeneration of % percent health over Y seconds.
-
- Posts: 7
- Joined: Wed Sep 01, 2010 3:06 pm
Re: Passive auto Life regen?
Ah I was actually trying to do that (but as a shop bought), but my attempt made my people immortal... they weren't taking damage, or regening so quick it didnt look like they were getting hurt.Desocupado wrote: ↑Sat Oct 15, 2022 11:23 pmI once created a stat "Regen per Health", then granted it via a consumable potion as a starter item. This way it sort of worked like regeneration of % percent health over Y seconds.
Anyway, I don't suppose you can remember how you did that?
Re: Passive auto Life regen?
Unfortunately i lost my files like 6 years ago... And my links were destroyed when the forum moved.
I'll try to list the guides i used back then.
Creating Single Use Potions
Changing Potions to restore %age HP/MP/etc.. (by Ric Faith)
ItemStatCost.txt
You need to keep in mind you need a very low value for a stat based on health, as health is stored as a very large integer, and you are scaling of the health total.
But also keep in mind that values themselves need to be stored as integers.
I referenced this topic before doing it by myself back then.
Starting Passive HPRegen
I'll try to list the guides i used back then.
Creating Single Use Potions
Changing Potions to restore %age HP/MP/etc.. (by Ric Faith)
ItemStatCost.txt
You need to keep in mind you need a very low value for a stat based on health, as health is stored as a very large integer, and you are scaling of the health total.
But also keep in mind that values themselves need to be stored as integers.
I referenced this topic before doing it by myself back then.
Starting Passive HPRegen
-
- Posts: 7
- Joined: Wed Sep 01, 2010 3:06 pm
Re: Passive auto Life regen?
Aye I lost my modding work too, I could only do basic stuff though. I also lost all the links with info on the .txt files (I need to look around here for them again).
I cant get it to work. I may try the "battle orders" from the Starting PAssive HPRegen link and see if I can get it to work that way. If I can add it to the classes skill trees then I could add and remove if I decide its op or whatever (I'm using the Project Diablo2 mod - and the plugy for it, which has free respecs).
Using this now for the misc.txt (it doesn't work, item is not getting used)
passive_regen---hpregen---max(stat('maxhp'.accr)/256/50,1)
state---stat1---calc1
Those links helped me fix my stat increase book though! That wasn't working, but I found the code to get it to work in one of the links you kindly provided, so cheers!
Now if I can get my resist all potion to work... I might just make that a passive skill too.
Thanks again.