fix(dg): mob in stun drops command again, not pause-and-retry (#3641)#3642
Open
bylins wants to merge 1 commit into
Open
fix(dg): mob in stun drops command again, not pause-and-retry (#3641)#3642bylins wants to merge 1 commit into
bylins wants to merge 1 commit into
Conversation
Revert of the #3523 behaviour change in mob_script_command_interpreter. Проблема (#3640/#3641, зона 756): освобождённые души должны появиться и через ~2 тика самоуничтожиться по своему триггеру. После #3523 моб в стане (kHold/kStopFight/kMagicStopFight) не терял команду, а вешал триггеру wait 1 RL-сек и повторял ту же строку. При перманентном контроле (холдеры/лагеры/оглушатели в группе) триггер бесконечно висел на wait и до самопуржа не доходил -- души жили сотни тиков вместо двух. Возвращаем старое поведение: моб в стане просто дропает команду (return false), триггер идёт дальше и доходит до purge. Флаг from_current больше нигде не выставляется, поэтому вся stun-wait машинерия из #3523 (hang_trig_wait/from_current, yield в timed_script_driver, resume-лог в trig_wait_event) становится бездействующей. Патч VERSION 0.1.14 -> 0.1.15. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Закрывает #3641 (и лог из #3640).
Проблема
Зона 756: «освобождённые души» должны появиться и через ~2 тика самоуничтожиться по своему триггеру. После #3523 моб в стане (
kHold/kStopFight/kMagicStopFight) больше не терял команду, а вешал триггеруwait1 RL-сек и повторял ту же строку (from_current→TRIG_FROM_LINE).При перманентном контроле (холдеры/лагеры/оглушатели в группе) триггер бесконечно висел на
waitи до самопуржа не доходил — души жили сотни тиков вместо двух. В логе это 600+ разпод защитой Боговпри впустую спамленномоглушить.Фикс
Возврат к старому поведению в
mob_script_command_interpreter: моб в стане просто дропает команду (return false), триггер идёт дальше и доходит доpurge.Так как
from_current=trueбольше нигде не выставляется, вся stun-wait машинерия из #3523 (hang_trig_wait/from_current, yield вtimed_script_driver, resume-лог вtrig_wait_event) становится бездействующей — оставлена в коде, чтобы диф был минимальным. Если нужно вычистить её полностью — отдельным follow-up.Патч VERSION
0.1.14→0.1.15.Проверка
Собирается чисто (
ninja -C build circle, release, tests=on), без варнингов.🤖 Generated with Claude Code