Jump to content
Alloder.pro: about Allods with love
Search In
  • More options...
Find results that contain...
Find results in...

New program for writers

We turn from quantity to quality and tell you how we will supplement the Allods Team program with rewards in rubles.

More

The new Updater

Let us to introduce the new addon updater software and to share the details

Read more

Alloder 2.0

We have started the process of project evolve, and this relates not only, and not even primarily of the site's view

Read more

EVENT_HEARTHSTONE_COOLDOWN_STARTED


Guest welldotru
 Share

Recommended Posts

Guest welldotru

Описание:

EVENT_HEARTHSTONE_COOLDOWN_STARTED

Оповещение о старте кулдауна на HearthStone.

---------------------------------------------------------------------

Однако срабатывает как минимум с блинка мага.

Что это? Баг?

Link to comment
Share on other sites

Только с блинка мага или с любого скилла?

Вероятно это из-за глобального кулдауна (кулдауна на все абилки равного 1 сек).

Link to comment
Share on other sites

Guest welldotru

Функция сделана, чтобы не отображать ноль в виджете, если кулдаун камня нулевой

Code:

function OnEventHearthStoneCooldownStarted( eventparams )

if eventparams.duration ~= 1000 then

hearthStoneCoolDownFlag = true

wtHearthStoneCooldownText:Show( true ) -- Отображаем кулдаун

end

end

Поправьте меня, если я не прав.

Link to comment
Share on other sites

This puts a lot of faith in the server to produce an exact 1000 millisecond duration. I think it is better off shooting for values less than 2000 milliseconds; to correct for a "hopefully unattainable" maximum of 1000 millisecond server delay.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use