[Bugfix] Add SetItemCooldown to tell client exact timer of item when clicked and export to perl and lua (#2795)

Items that are on cooldown but client doesn't show.. clicking item will fix the timer in client
This commit is contained in:
Natedog2012
2023-01-27 17:31:14 -06:00
committed by GitHub
parent c05f951f81
commit 68a34565f9
6 changed files with 82 additions and 1 deletions
+1
View File
@@ -463,6 +463,7 @@ public:
bool CanEnterZone(std::string zone_short_name, int16 instance_version);
void SendPath(Lua_Mob target);
void ResetItemCooldown(uint32 item_id);
void SetItemCooldown(uint32 item_id, uint32 in_time);
void ApplySpell(int spell_id);
void ApplySpell(int spell_id, int duration);