Jump to content

Digest March

We talk about what was done and updated in the past month. We help keep abreast of events.

March

Servers monitoring and the Addons Editor

We present you two legends. All dreams come true.

Servers monitoring The Addons Editor

Game tooltips

Tooltips provide a way for 3rd party fansites and extensions to display detailed information on mouseover.

Read more

The Addons Updater

Let us to introduce the addons updating software and to share the details

Read more Download

EVENT_HEARTHSTONE_COOLDOWN_STARTED


Guest welldotru

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

Блин, действительно срабатывает как мировой кулдаун.

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...

Important Information

By using our site you agree to the Terms of Use