[Solved] Trying to create an auto attack reset

Status
Not open for further replies.
Level 7
Joined
Jan 23, 2011
Messages
350
Hi everyone n_n

I'm trying to create severals spells with an "auto attack reset" mechanic, similar like the one in League of Legends.
This video will show..
https://www.youtube.com/watch?v=aN9bzu8vF24

The obvious response is "just add 400% attack speed", the problem is that my characters have 5.0 seconds of cooldown between auto attacks, and the max IAS only make them reach to 1.0 second of cd.
The other idea is to give them a shorter cooldown between autos and then give them a debuff on the attack speed, the problem is that this makes the auto attack animation slower, making it worthless as a solution.

So i need ideas to make an auto attack reset on units with 5.0 BAT n_n
 
Why not swap out your unit for an identical unit for the quick attack? Hide your unit, create an identical unit type, change collision to 0, move instantly to your unit location/facing, set animation to 400, order unit to attack, wait .2 (or whatever looks best), remove dummy, unhide your unit. You may want a damage detection system to make it work smoothly.

I never really played much LoL so I can't tell exactly what you are asking. The video shows it, but I don't know what the player is doing to make that happen.
 
Level 7
Joined
Jan 23, 2011
Messages
350
The player use an ability to reset the auto attack.
Yea, i thought on that solution but is just too awkward

Edit:
Nevermind, i just going to lower the basic attack timer, and use a little system to prevent the unit from attacking and with the IAS i will be able to reset the auto attack
 
Last edited:
Level 12
Joined
May 22, 2015
Messages
1,051
Not quite the same, but you can make melee-range chain lightning spells that use the unit's attack animation. Trigger the damage and base it off an attribute or whatever. It kind of sucks if their cast animation length is very different from their attack animation length, though.

Just thought I'd add this since it's an easy solution.
 
Status
Not open for further replies.
Top