ffxivcode / AutoDuty

Dalamud Plugin for FFXIV - AutoDuty
36 stars 47 forks source link

fix indexer iterating during conditionchange after revive #273

Closed kasuriax8 closed 3 weeks ago

kasuriax8 commented 3 weeks ago

hello, please review the following:

when reviving then taking shortcut, Condition_ConditionChange will cause Indexer++ skipping the actual step the player was on.

the following adds a _recentlyRevived which is set in OnRevive and is removed after 14 seconds. the conditionChange during the shortcut transition ignores the transition the following adds a Stage != Stage.Revived check to Condition_ConditionChange to prevent the Indexer increment*

issue was identified in Stone Vigil after dying to Boss 2. A death during Boss 1 did not cause the issue due to no shortcut being present upon revive