mirror of
https://github.com/edubart/otclient.git
synced 2025-05-01 18:19:20 +02:00
Should resolve #256 (please test, works for me)
This commit is contained in:
parent
9e208fa792
commit
de353e3b72
@ -133,7 +133,7 @@ function onSpellCooldown(iconId, duration)
|
||||
progressRect:setTooltip(spellName)
|
||||
|
||||
local updateFunc = function()
|
||||
updateCooldown(progressRect, duration/20)
|
||||
updateCooldown(progressRect, duration/19)
|
||||
end
|
||||
local finishFunc = function()
|
||||
removeCooldown(progressRect)
|
||||
@ -155,7 +155,7 @@ function onSpellGroupCooldown(groupId, duration)
|
||||
if progressRect then
|
||||
removeEvent(progressRect.event)
|
||||
local updateFunc = function()
|
||||
updateCooldown(progressRect, duration/20)
|
||||
updateCooldown(progressRect, duration/19)
|
||||
end
|
||||
local finishFunc = function()
|
||||
turnOffCooldown(progressRect)
|
||||
|
Loading…
x
Reference in New Issue
Block a user