Why not just set the attack speed gained from agi to 0% in gameplay constants?
all that will tell you is when the attack is register but not the actual attack speed, the triggers will register the attack before the attack is actually finished.
Try some thing like this, it will give you an average for the attacks speed
Trigger:
- Temp 1
- Events
- Unit - A unit Is attacked
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- T_B Equal to True
- Then - Actions
- Set T_I = (T_I + 1)
- Else - Actions
- Set T_B = True
- Countdown Timer - Start T_T as a One-shot timer that will expire in 10.00 seconds
Trigger:
- Temp 2
- Events
- Time - T_T expires
- Conditions
- Actions
- Set T_B = False
- Game - Display to (All players) the text: (String((T_I / 10)))
- Set T_I = 0
I am sorry I should have used a real and not a integer on those, the T_I [Temp_ Integer] will need to be changed to a T_R [Temp_Real]
But yeah with my test of it, it seems to be limiting the attack to the ABS only instead of both, but still it just means set the ABS to what you want the speed to be limited to.
Why not just set the attack speed gained from agi to 0% in gameplay constants?
I think we assumed Imp Midna wants to use agi for faster attack speed
thats why im here. i would be able to do it on my own if it was easyWell I hope he/she can see that this is no easy task to accomplish
The class is a pure caster class in general. First i gave him an incriebly useless normal attack, forcing him to deal most of his damage using a spamable spell (which has a constant attack speed as it is a spell). Now i wanted to make this spell become his actuall attack (button delay, lag, other gameplay aspects made me think it wouldnt be a bad idea) without destroying its whole sense (which is: having a constant attack speed like any other spells he is dealing his damage with, beeing independend of agi values, cripple, thunderclap etc.)but I'd like to know what it's for, whats the idea behind the unit
having constant attack speed?
That way you just make him cast his spell whenever its not on cd and on a random or targetted unit with the spells rangeWhy not just remove the attack from the unit?