[MIRROR] Enables a click cooldown on throws (#1272)

* Enables a click cooldown on throws (#54331)

* Enables a click cooldown on throws

Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
SkyratBot
2020-10-12 23:23:47 +02:00
committed by GitHub
co-authored by Rohesie
parent 1c17a34752
commit 79035bbebe
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -81,6 +81,7 @@
//click cooldowns, in tenths of a second, used for various combat actions
#define CLICK_CD_MELEE 8
#define CLICK_CD_THROW 8
#define CLICK_CD_RANGE 4
#define CLICK_CD_RAPID 2
#define CLICK_CD_CLICK_ABILITY 6
+1
View File
@@ -119,6 +119,7 @@
return
if(in_throw_mode)
changeNext_move(CLICK_CD_THROW)
throw_item(A)
return