Thought I could easily create a skill that temporarily increases a players speed by editing the stun code a little bit.
I thought I could do it something like this:
In Sub PlayerMove just under the ‘stop them from moving if stunned’ I would add
If Spell.DashDuration > 0 then
player movement = (RUN_SPEED + DashSpeed)
That would be followed by the select case for each of the movement directions.
Dash duration and dash speed would both be modifiable in the in-game editor same way the stuns are modifiable.
Problem is it seems nothing is using the RUN_SPEED variable.
How and where would I add something that can change temporarily the movement speed?