public override bool CombineWith(ActionQueueEntry dieRoll)
        {
            if (dieRoll is BreakSpellConcentrationSavingThrowQueueEntry breakSpellConcentrationSavingThrowQueueEntry)
            {
                int playerId = breakSpellConcentrationSavingThrowQueueEntry.PlayerId;

                if (additionalPlayerIds.Any(x => x == playerId))
                {
                    return(false);                     // Cannot combine rolls.
                }
                additionalPlayerIds.Add(playerId);
                return(true);
            }

            return(false);
        }
Пример #2
0
 public virtual bool CombineWith(ActionQueueEntry dieRoll)
 {
     return(false);
 }