This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
#------------- What steps will reproduce the problem?1. Make a weapon that has, say, named "&fSuper Air Strike" that has "Delay_Between_Shots: 300". There you made a weapon that has 15 seconds cooldown.2. Set it in slot 0 on your hotkey. Fire it. You will have 15 second cooldown before you are able to use it again.3. Set the item on different hotkey slot within 15 seconds.
#------------- What happened?You can fire the weapon regardless it is under "cooldown".
#------------- What was supposed to happen?It is better not to able to use them within "cooldown".
#------------- What version of CrackShot are you using?v0.98.5. the current newest version.
#------------- What version of CraftBukkit/Spigot are you using?Spigot 1.8.3, but this was happening on any version.
#------------- Were there any errors in the console? If so, what were they?Omitted.
#------------- Please provide your configuration file if necessary.Omitted.
#------------- End of template.
So, "Delay_Between_Shots:" node is really useful to implement the cooldown feature. For example, in Call of Duty series, you can earn "killstreaks" to get rights of use airstrike where the airsupport will eliminate whole opposite teams. I want to players keep them all time rather than "One_Time_Use" but players are able to exploit them by swapping item slots.
I personally made a plugin that cancels left click/right click interaction while it is on "cooldown" so it is not a problem for me anymore. But if you could add cooldown feature, perhaps new node, in Crackshot, it would give server owners good ideas. Hooking Crackshot shoots directly and canceling triggers are much more efficient anyway.
Please consider implement the actual cooldown.
To post a comment, please login or register a new account.