[Spell] Sprinting System

Status
Not open for further replies.
Level 6
Joined
Aug 14, 2016
Messages
174
I see a lot of maps has sprinting like ZAF, Undead Assault 2, MWS, anyone know how to making sprinting.
sprinting:starting sprinting, increase movement speed, drain mana every seconds.
stop sprinting:stop sprinting, normaly movement speed, stop drain mana.
Making a breath sound or heartbeat sound when get low 20% mana and pitch sound more faster when get low 19%,18% etc.
 
You could use an ability that drains mana every second (i.e Immolation) with no effect. If a unit casts that ability, add the unit to a unit group and add a movement speed bonus ability to the unit. Check the unit group periodically if it still has the ability buff, if not, remove the movement bonus.
 
Modified Bear Form:
Make 2 versions of the unit or hero.
Give one increased movement speed with negative mana regen.
You can even add a mana buffer for when a unit can sprint, and a trigger to force the unit to change back to the "normal" movement speed when mana is zero.

For the sound effects at low mana, you'll need triggers, unit variables, and a periodic event with the sound files you desire.
 
Status
Not open for further replies.
Back
Top