((expectedCr >= 0 && expectedCr <= 4) ? 10*trait : ((expectedCr >= 5 && expectedCr <= 10) ? 20*trait : ((expectedCr >= 11) ? 30*trait : 0)))
Legendary Resistance
Monster Feature · Example: Tarrasque
Effect
If the creature fails a saving throw, it can choose to succeed instead. Input the number of uses per day.
Variable Parameter
This feature requires a numeric input when used for monster CR calculation.
In its formulas, the input value is represented
by trait.