Innate skill negating mana regen...

Weekly updated column for helping skill development. Users can't directly post requests but a PM or mail can be sent to Skill-Clinician.

Moderator: Skill Clinician

Post Reply
User avatar
zjat
Junior Member
Champion of the Light
Posts: 299
Joined: Tue Jan 18, 2011 10:59 pm
Location: Citadel of Tartarus

Innate skill negating mana regen...

Post by zjat » Fri Jul 29, 2011 9:31 am

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?
One day I'll put my humpty dumpty back together again...

User avatar
Necrolis
Site Admin
Throne
Posts: 9002
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: Innate skill negating mana regen...

Post by Necrolis » Fri Jul 29, 2011 10:45 am

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)
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
zjat
Junior Member
Champion of the Light
Posts: 299
Joined: Tue Jan 18, 2011 10:59 pm
Location: Citadel of Tartarus

Re: Innate skill negating mana regen...

Post by zjat » Fri Jul 29, 2011 5:36 pm

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...
One day I'll put my humpty dumpty back together again...

User avatar
Necrolis
Site Admin
Throne
Posts: 9002
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: Innate skill negating mana regen...

Post by Necrolis » Fri Jul 29, 2011 6:13 pm

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)
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
zjat
Junior Member
Champion of the Light
Posts: 299
Joined: Tue Jan 18, 2011 10:59 pm
Location: Citadel of Tartarus

Re: Innate skill negating mana regen...

Post by zjat » Fri Jul 29, 2011 11:09 pm

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?
One day I'll put my humpty dumpty back together again...

User avatar
k0r3l1k
Dark Alliance Beta Test
Angel
Posts: 625
Joined: Sun Sep 09, 2007 3:11 am
Location: Arizona, Prescott
United States of America

Re: Innate skill negating mana regen...

Post by k0r3l1k » Fri Jul 29, 2011 11:32 pm

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.
Image

User avatar
zjat
Junior Member
Champion of the Light
Posts: 299
Joined: Tue Jan 18, 2011 10:59 pm
Location: Citadel of Tartarus

Re: Innate skill negating mana regen...

Post by zjat » Sat Jul 30, 2011 4:12 am

:( 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
One day I'll put my humpty dumpty back together again...

User avatar
Necrolis
Site Admin
Throne
Posts: 9002
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: Innate skill negating mana regen...

Post by Necrolis » Sat Jul 30, 2011 6:40 am

zjat" 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?
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
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
zjat
Junior Member
Champion of the Light
Posts: 299
Joined: Tue Jan 18, 2011 10:59 pm
Location: Citadel of Tartarus

Re: Innate skill negating mana regen...

Post by zjat » Sat Jul 30, 2011 8:08 am

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
yes, actually I just discovered/set general to 1 a few hours ago.
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
One day I'll put my humpty dumpty back together again...

User avatar
Necrolis
Site Admin
Throne
Posts: 9002
Joined: Sat Mar 25, 2006 1:22 pm
Location: The Land of the Dead
Contact:
South Africa

Hand-picked

Re: Innate skill negating mana regen...

Post by Necrolis » Sat Jul 30, 2011 10:42 am

Skills.txt doesn't use properties, its uses stats from itemstatcost.txt, which is where you should be looking for stat names
Image
Netiquette, Do you USE it?!?! | Nefarius' Fixed TXT Files | Terms Of Service
Blackened | Day of Death
"What was yours is mine. Your land, your people, and now your life." - Lim-Dul, the Necromancer
Judgement is Final, Death is Eternal

User avatar
zjat
Junior Member
Champion of the Light
Posts: 299
Joined: Tue Jan 18, 2011 10:59 pm
Location: Citadel of Tartarus

Re: Innate skill negating mana regen...

Post by zjat » Sun Jul 31, 2011 9:24 am

Necrolis" wrote:Skills.txt doesn't use properties, its uses stats from itemstatcost.txt, which is where you should be looking for stat names
I knew that...this is why I shouldn't edit at 3am >_<

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?
One day I'll put my humpty dumpty back together again...

Post Reply

Return to “Skill Clinic”