|
---|
|
CMaNGOS Commits Изменения, принятые в официальный репозиторий ядра CMaNGOS. git://github.com/cmangos/mangos-wotlk.git |
|
Опции темы | Поиск в этой теме | Опции просмотра |
03.09.2017, 21:40 | #1 |
News Bot
Регистрация: 20.11.2009
Сообщений: 1,290
Сказал(а) спасибо: 0
Поблагодарили 5 раз(а) в 5 сообщениях
|
Fix bug causing last periodic tick to not happen
Автор: killerwife
<pre style='white-space:pre-wrap;width:81ex'>Fix bug causing last periodic tick to not happen If a spell was cast in the middle of Unit::Update, specifically in spell update or aura update, it received one update tick right away, causing duration to be actually MAX - one tick for all affected auras in real time (simulation still did whole duration properly) This ties into second issue, which meant Channel spell and Channel aura had desynced values, meaning aura tick was always one tick ahead. If this tick happened to be bigger than the last one, last tick could easily fail. The issue was most visible on BG Rezz tick because its one long 30 second channel with one trigger. Now, if we add an aura in the middle of spell/aura updates, we skip the current update and only start updating on next one. This results in aura being removed on channel end, hence why I added the skip for the removal of the Channel aura on channel end. Auras with duration are removed on their own in Holder update as intended. Only cornercase are Channels with infinite duration - duration index 21, for which we need to remove auras immediately, because they would be stuck on the aura targets.</pre> Подробнее... |
|
|
Похожие темы | ||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Fix typo causing errors | newsbot | CMaNGOS Commits | 0 | 20.05.2017 06:09 |
Fix wrong variable usage causing crash | newsbot | CMaNGOS Commits | 0 | 10.01.2017 13:47 |
[10522] Fix periodic procs - spells that require periodic healing to proc need to be defined in spel | newsbot | CMaNGOS Commits | 0 | 23.09.2010 16:30 |
[9140] Let aura after seal do at least one finish tick for stealer. | newsbot | CMaNGOS Commits | 0 | 10.01.2010 20:20 |
[9090] Implement tick counting in periodic auras. | newsbot | CMaNGOS Commits | 0 | 31.12.2009 18:00 |