Reducing the maximum attack speed

Status
Not open for further replies.

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
Is there a way to reduce the maximum attack speed? Like, in my map, you can have 1K agility, and items that increase attack speed too, so is there a way to reduce it?

+REP ofc =)
 
Level 3
Joined
Jul 3, 2006
Messages
33
Can someone tell me using this system, how will I get the property of a unit?
For example, I want to decrease a unit's armor by 30%, so I send to UnitModifyArmor function the unit and then I have to know it's current armor.
 

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
maximum AS is dictated by the unit's attack cooldown I think... if your unit for example has an AC of 1 second, he can only attack for a max of 1 per second...

and using 0, will cause the unit to Instant kill another unit...

Attacking is a spell, with no mana cost, and very short cooldown, meaning that setting it to 0 won't kill the unit instant. Since decreasing the cooldown, we increase attack speed, if the AC is set to 1 second, but the hero has some items that increase AS, or more agility, then AC will be lower.

EDIT: As far as I know from other posts, minimum AC is 0.08, which won't kill the unit instantly, and items cannot decrease the AC anymore.
 

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
y I am talking about normal attack. The one that most units have. But how can it instant kill, I just don't get it. I tested it, still not killing the unit.
Talking about this:
Combat - Attack 1 - Cooldown Time: X

as far as I know that is the regular attack speed right?
 
IDK, last time I did it (tried it on a creep), it instantly kills my unit... but that was a long time ago...

and based on observations (by other people), it doesn't go down in-game, only the attack animation speeds up... I tried to observe units in DotA, and it seems somehow true...

EDIT: tested it and it seems to be fixed now...

tested it using two heroes both 0.00 AC, one has 20 agi, the other 10000 agi and I dont see a problem of a MAX AS... the 10000 agi hero I used actually attacked so fast...


EDIT 2: I added another hero with 20000 agi and 0.00 AC, and it attacks faster than the 10K agi one... so I dont get the problem that you have with max AS...


Tested it with a hero both of 10,000 agi. one has 0.00 AC the other, 5.00 sec AC

and it proved that AC doesn't get lowered in-game, their animations where both fast, but the one with 0.00 AC attacked continously and the other has a 5.00 sec between each attack...

MEANING, AC will set the max attack speed that you can have...
 

Vunjo

Hosted Project: SC
Level 19
Joined
Jul 1, 2010
Messages
1,340
Yes, I am trying to set maximum AS. I got a bit confused now, it can wait a while, because all I want to do is balance out "warrior" heroes from "casters". My triggerer is "making" DPS system, so if he ever completes it, I will be able to test the balance. And if "warriors" got way bigger DPS than the casters, then I would need to simply "reduce" the maximum AS.
P.S: That triggerer is offline, so I am not sure if he will ever do that =(
 
but maybe an agi of 1000000000000 would make it look like instant... ^_^

anyway the only easy way to set max AS is by using AC, though AC cannot be changed in-game...

ofc if you have the knowledge you can also do it by cutomizing every AS bonus (then set a max AS bonus, and if a unit already has achieved max, don't give him anymore bonus), especially made easier if you can use the system forsakener linked...

well that was a vJASS system which enables customized unit properties... ^_^

or, use a customized attack, rather than using the normal one...
 
Level 1
Joined
Feb 4, 2011
Messages
1
You're right..

Attack - Cooldown Time = (Maximum Attack Speed)

AGI gives Attack Speed base on your gameplay constants..

I therefore conclude, and tested..

Animation Backswing Point and Animation Damage Point decides your present attack speed :D

...since items that give attack speed reduces animation.

So you just need to configure it.
 
Status
Not open for further replies.
Top