mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 08:37:43 +01:00
[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:
@@ -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
|
||||
|
||||
@@ -119,6 +119,7 @@
|
||||
return
|
||||
|
||||
if(in_throw_mode)
|
||||
changeNext_move(CLICK_CD_THROW)
|
||||
throw_item(A)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user