Guest welldotru Posted July 23, 2011 Share Posted July 23, 2011 Описание: EVENT_HEARTHSTONE_COOLDOWN_STARTED Оповещение о старте кулдауна на HearthStone. --------------------------------------------------------------------- Однако срабатывает как минимум с блинка мага. Что это? Баг? Quote Link to comment Share on other sites More sharing options...
Setras Posted July 23, 2011 Share Posted July 23, 2011 Только с блинка мага или с любого скилла? Вероятно это из-за глобального кулдауна (кулдауна на все абилки равного 1 сек). Quote Link to comment Share on other sites More sharing options...
Guest welldotru Posted July 23, 2011 Share Posted July 23, 2011 Блин, действительно срабатывает как мировой кулдаун. Quote Link to comment Share on other sites More sharing options...
Guest welldotru Posted July 23, 2011 Share Posted July 23, 2011 Функция сделана, чтобы не отображать ноль в виджете, если кулдаун камня нулевой Code: function OnEventHearthStoneCooldownStarted( eventparams ) if eventparams.duration ~= 1000 then hearthStoneCoolDownFlag = true wtHearthStoneCooldownText:Show( true ) -- Отображаем кулдаун end end Поправьте меня, если я не прав. Quote Link to comment Share on other sites More sharing options...
Ciuine Posted July 25, 2011 Share Posted July 25, 2011 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts