This repository has been archived by the owner on Jan 21, 2023. It is now read-only.
[Bug] - Lair actions appear whenever previous combatant's initiative matches the current combatant #287
Labels
Milestone
Regardless of a combatant's lair action initiative setting, the prompt for a lair action will always show whenever two actors share initiative. While this can be mitigated by using Dexterity tiebreakers, if two actors share dexterity scores and initiative counts, the error will still occur.
I believe the offending lines of code are in line 98-116 of LairActionManagement.js:
filterCondition
in this case will always return true wheneverinside
returns false. IfcurrentInit = previousInit
thenexcludesLair
will always be true.The text was updated successfully, but these errors were encountered: