Hello all
Is it possible to make skills (like teeth, bash, fire bolt, etc..) to regenerate/ leech mana on hit? Basically the concept of D3.
Tried and tested some things with no luck.
Thx in advance!
Mana regenrating skills?
Moderator: Skill Clinician
Re: Mana regenrating skills?
Hello.
Hmmm, have you tried modifying skill to cost negative amounts of mana ? (it might "generate" mana)
Hmmm, have you tried modifying skill to cost negative amounts of mana ? (it might "generate" mana)
-
- Champion of the Light
- Posts: 446
- Joined: Fri Dec 01, 2017 2:08 am
Re: Mana regenrating skills?
Missiles can leech via the mana element. If I remember correctly, it works such that (at hitshift=0) for every 1 mana damage = 1% of physical damage concurrently dealt is leeched. So to make it deal primarily leeching, you could set the damage to 1 and use very large mana damage numbers. You could also make it ignore immunities, so that physical immunes aren't immune to the leeching behavior. There are two ways you can attach leeching missiles with your main, damaging missile:
For skills using only srvmissile, this is easy. You can add in a srvdofunc that produces srvmissilea. So when you cast the spell, it will simultaneously release your damaging missile and your leeching missile.
For skills with behaviors gained via srvdofunc (e.g. Teeth) or only srvmissile, you could use submissiles. For example, use an explode release missile function, so that the moment after the primary missile hits something it releases the leeching missile.
For skills using only srvmissile, this is easy. You can add in a srvdofunc that produces srvmissilea. So when you cast the spell, it will simultaneously release your damaging missile and your leeching missile.
For skills with behaviors gained via srvdofunc (e.g. Teeth) or only srvmissile, you could use submissiles. For example, use an explode release missile function, so that the moment after the primary missile hits something it releases the leeching missile.