Innate skill negating mana regen...
Moderator: Skill Clinician
Innate skill negating mana regen...
https://d2mods.info/index.php?ind=revie ... w&iden=464
I used the above to create a passive skill (innate) on all heroes...
However, neither of the 2 effects I'm trying to get working, seem to want to.
I copied part of Warmth, and created a negative regeneration of -100, large so that it would be visible with test characters. I also tried to use mana-kill from the tir rune...
My goal with the current endeavor is to make killing enemies a big deal, instead of simply leeching life/mana from them, it would be more visible/effective on non-mage heroes...
Anyway, like I said I followed the above posting exactly, and no results. Any ideas?
I used the above to create a passive skill (innate) on all heroes...
However, neither of the 2 effects I'm trying to get working, seem to want to.
I copied part of Warmth, and created a negative regeneration of -100, large so that it would be visible with test characters. I also tried to use mana-kill from the tir rune...
My goal with the current endeavor is to make killing enemies a big deal, instead of simply leeching life/mana from them, it would be more visible/effective on non-mage heroes...
Anyway, like I said I followed the above posting exactly, and no results. Any ideas?
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: Innate skill negating mana regen...
Warmth adds manarecoverybonus, which is capped at a min of 0, you need to use manarecovery instead (iirc charstats also has an effect on mana regen)
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
Re: Innate skill negating mana regen...
The charstats mana regen gets ignored, I've put it at 1000, I've put it at 0 and -100, mana regen base was unaffected...
As for the passive, I tried what you said, and it is still being ignored, as is the mana-kill... any ideas?
[Edit] Any passive or aura I put into the charstats skills column seems to be ignored... any ideas?
[edit] I tested warmth to see if negative mana regen even works, it does as you said with manarecovery and negative numbers, seems -3 still allows regen, and -4 starts degenerating... -50 and you never have a pool ><
However, this still doesn't solve my non-levelable, invisible, innate...
As for the passive, I tried what you said, and it is still being ignored, as is the mana-kill... any ideas?
[Edit] Any passive or aura I put into the charstats skills column seems to be ignored... any ideas?
[edit] I tested warmth to see if negative mana regen even works, it does as you said with manarecovery and negative numbers, seems -3 still allows regen, and -4 starts degenerating... -50 and you never have a pool ><
However, this still doesn't solve my non-levelable, invisible, innate...
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: Innate skill negating mana regen...
If you put passives in charstats, they won't take effect till you level or save and exit (actually you basically need to have D2RefreshSkills called)
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
Re: Innate skill negating mana regen...
Yeah... neither of those activates it... I'm gonna go remake it all from scratch now...see if anything changes...
I'll edit and post my results...
[edit] Still nothing, not on level up or save/return.
This is what I did the 2nd time:
Copy Warmth
stripped params, class, and elemental
changed manarecoverybonus to 1000% (for testing)
changed passive state
created new state by same name
added skill to charstats in empty skill slot
tested, regen is normal...
Am I doing something wrong?
I'll edit and post my results...
[edit] Still nothing, not on level up or save/return.
This is what I did the 2nd time:
Copy Warmth
stripped params, class, and elemental
changed manarecoverybonus to 1000% (for testing)
changed passive state
created new state by same name
added skill to charstats in empty skill slot
tested, regen is normal...
Am I doing something wrong?
Re: Innate skill negating mana regen...
Just use charstats.txt The way the mana regen works in charstats is as follows:
100% mana gained in X seconds. For example the default of 120 means that base mana regen is 100% over 2 minutes. thus a sorc with 40 mana base will gain 20 mana per minute or 0.33 per second. Using a value of 0 breaks the equation and results in zero mana regen (afaik) Using a value of 1 will essentially give you unlimited mana regen. Using an absurdly high value should effectively eliminate mana regen (use something like 12000).
Also keep in mind that this is the base mana regen which means manarecoverybonus will be based off of this, making it have almost no effect on overall mana regen.
100% mana gained in X seconds. For example the default of 120 means that base mana regen is 100% over 2 minutes. thus a sorc with 40 mana base will gain 20 mana per minute or 0.33 per second. Using a value of 0 breaks the equation and results in zero mana regen (afaik) Using a value of 1 will essentially give you unlimited mana regen. Using an absurdly high value should effectively eliminate mana regen (use something like 12000).
Also keep in mind that this is the base mana regen which means manarecoverybonus will be based off of this, making it have almost no effect on overall mana regen.
Re: Innate skill negating mana regen...
That column literally doesn't react to any value, whether it's 0 100 120 -100 -4 -1 or 12,000.
Which is why I was attempting to use a innate passive.
(charstats.txt does respond in other columns except where I want to negate mana regen via innate skill or manaregen...)
I've tried about 4 different ways now. I'm running out of ideas to jerry-rig it :/
[e] but I'm still trying
Which is why I was attempting to use a innate passive.
(charstats.txt does respond in other columns except where I want to negate mana regen via innate skill or manaregen...)
I've tried about 4 different ways now. I'm running out of ideas to jerry-rig it :/
[e] but I'm still trying
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: Innate skill negating mana regen...
did you set the general flag to 1? Also, give it something else like +1000 strength just to see that its applied. Also for now, just use the same state warmth doeszjat" wrote: [edit] Still nothing, not on level up or save/return.
This is what I did the 2nd time:
Copy Warmth
stripped params, class, and elemental
changed manarecoverybonus to 1000% (for testing)
changed passive state
created new state by same name
added skill to charstats in empty skill slot
tested, regen is normal...
Am I doing something wrong?
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
Re: Innate skill negating mana regen...
yes, actually I just discovered/set general to 1 a few hours ago.Necrolis" wrote:did you set the general flag to 1? Also, give it something else like +1000 strength just to see that its applied. Also for now, just use the same state warmth does
I set manarecovery to value of -50, did the same thing this morning with the original warmth, it negates the whole mana pool almost instantly... however the passive/innate refuses to trigger at all.
I'm still clueless, I've read and reread from the knowledge base on passives and I've edited passives all over the place, but the innate must just hate me... I've remade it 3-4 times even
[e] I must not have saved my txt that last time, strength Did work
[e] "manarecovery" is not in properties.txt, however "item_manaafterkill" is but still doesn't work
- Necrolis
- Throne
- Posts: 9125
- Joined: Sat Mar 25, 2006 1:22 pm
- Location: The Land of the Dead
- Contact:
Re: Innate skill negating mana regen...
Skills.txt doesn't use properties, its uses stats from itemstatcost.txt, which is where you should be looking for stat names
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
Re: Innate skill negating mana regen...
I knew that...this is why I shouldn't edit at 3am >_<Necrolis" wrote:Skills.txt doesn't use properties, its uses stats from itemstatcost.txt, which is where you should be looking for stat names
Okay, so why do "item_manaafterkill" and "manarecovery" both fail to work? while strength works?
(manarecovery is passive stat1, strength #2, and manakill#3)
[e] I just switched strength to energy, and noticed that although it gives me +mana, the mana is not usable or fillable
25 / 225, but "full" was 25 functionally, though graphically it was nearly empty
[e] I'm curious to think that the other passive attributes are working similarly, it's being read and added, but not actually functioning... Strength and energy being visual, they can be seen failing to work, but being read from some location or function elsewhere...
[e] So I tried a new modifier hpregen(also tried regen for the heck of it) also failed to work...
At this point the most pertinent things I want the innate to have is:
life regen: approx .2 life per second per level (0.2 - 19.8)
mana regen: flat base on heroes of between 0.2 -.5 mana per second, (or just really low @ about 1 per 5 seconds)
Is there another way to softcode this since the innate/passive is failing for me?