In my map heroes can have different weapons by buying them (items). I found out that by switching a weapon (de-equip and equip it) the weapon cooldown gets resetted. That is a problem, especially for wepons with long cooldown, since ppl can re-equip them all the time and have a much higher fire rate.
Someone knows how to fix this?
I don't know, how to fix it, but you could add some sort of penalty to disencourage people from doing so. You could, for example, disable the weapon on equipping for a couple of seconds and/or immobilize/slow the unit while doing so. You could explain it by saying, that the unit has to setup the weapon correctly before it can be used, which takes some time.
Why not add a prepare time to for each weapon as well. so they have to reload from each weapon they swap into regardless. Also set it that this time is the longest of them all.
The Prepare Time field works, if used correctly. It has no effect for abilities flagged as Transient and might have no effect for certain types of abilities.
that field doesnt work that well for me. I set it and i try switching weapons like a madman, sometime it works, sometimes, it doesnt. Sometime, the hero waits after re-equipping, sometime the hero immediately shoots again after re-equipping, not waiting fir the "prepare time" to finish. This field seems to be very buggy.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
In my map heroes can have different weapons by buying them (items). I found out that by switching a weapon (de-equip and equip it) the weapon cooldown gets resetted. That is a problem, especially for wepons with long cooldown, since ppl can re-equip them all the time and have a much higher fire rate.
Someone knows how to fix this?
I don't know, how to fix it, but you could add some sort of penalty to disencourage people from doing so. You could, for example, disable the weapon on equipping for a couple of seconds and/or immobilize/slow the unit while doing so. You could explain it by saying, that the unit has to setup the weapon correctly before it can be used, which takes some time.
@JimyStyles:
Why not add a prepare time to for each weapon as well. so they have to reload from each weapon they swap into regardless. Also set it that this time is the longest of them all.
y, i guess ill do it like that. thx guys
next problem, how to set a "prepare time" ?
its at the ability itself.
what is the field called? There is a field called like that but that one doesnt work
The Prepare Time field works, if used correctly. It has no effect for abilities flagged as Transient and might have no effect for certain types of abilities.
that field doesnt work that well for me. I set it and i try switching weapons like a madman, sometime it works, sometimes, it doesnt. Sometime, the hero waits after re-equipping, sometime the hero immediately shoots again after re-equipping, not waiting fir the "prepare time" to finish. This field seems to be very buggy.