Anyone do the concept that skills consume life%?
No not Paladin's skill sacrifice I think.
Is there skills that cost life%
Moderator: Nefarius
-
- Posts: 78
- Joined: Tue Nov 05, 2013 10:42 pm
Is there skills that cost life%
Miniguns Assault!
Re: Is there skills that cost life%
interrested too but i think it requieres code edit
-
- Champion of the Light
- Posts: 450
- Joined: Fri Dec 01, 2017 2:08 am
Re: Is there skills that cost life%
It's possible, as long as the skill applies a state (there are a LOT of ways to do this: with srvdofunc, srvstfunc, or even through a missile). Apply negative hpregen for 1 frame, using calcs to scale the hpregen based on max HP. If you give a description of the exact mechanics of the skill, I can probably make it for you.
Re: Is there skills that cost life%
I believe Paladin's Sacrifice consumes life. Or it just "damages" the user?
Be Xtreme!
-
- Champion of the Light
- Posts: 450
- Joined: Fri Dec 01, 2017 2:08 am
Re: Is there skills that cost life%
Sacrifice consumes life based on the damage you deal. If you want life% consumed, try:
srvstfunc=28
srvmissilea=(any valid missile, like firebolt)
aurastate=might
auralencalc=1
aurastat1=hpregen
aurastatcalc1=-stat('maxhp'.accr)*(x)/100
Where x=the percentage of life you want to lose per cast. This system will work for any skill that does not already use a srvstfunc. You'll probably want to change Might to some invisible state.
srvstfunc=28
srvmissilea=(any valid missile, like firebolt)
aurastate=might
auralencalc=1
aurastat1=hpregen
aurastatcalc1=-stat('maxhp'.accr)*(x)/100
Where x=the percentage of life you want to lose per cast. This system will work for any skill that does not already use a srvstfunc. You'll probably want to change Might to some invisible state.