Well, I already abandoned those broken stun systems today. I'll make 15 levels ability with 0.50sec duration to 7.50 and 15 dummy stunners. Avaiable durations from 0.50 to 7.50 with 0.50sec step are fine for me.
I want to report stun systems bug anyway:
1. warcraft stuns dont stack: game always choose longer stun
2. buffs however are updated (overwriten, but Im not sure if always) so the last ability's buff casted on target is visible on command card.
In this scenario bug will appear:
1. a unit is stunned by StunEngine for 8sec (it is 3600sec according to OE data)
2. after 1 sec, unit is stunned by, lets say, original bash for 1 sec.
Game decides to keep longer stun (3599sec) on unit, but buff is overwriten to Bash' buff.
StunEngine wants to remove stun by calling UnitRemoveAbility
but that wont work cause unit already has no StunEngine's buff.
I dont blame stun systems authors, thats the way war3 works. Stun system should warn users that using any stun-abilities is not allowed when they decide to use stun system.