fix(rules): add alchemical/inherent/resistance/size bonus types (UM Table 2-7) as non-stacking

This commit is contained in:
2026-09-16 21:48:40 +02:00
parent ae037c984f
commit b3a7c3787d
2 changed files with 24 additions and 1 deletions
+7
View File
@@ -44,6 +44,13 @@ BonusType = Literal[
"shield", # no stack
"armor", # no stack (SRD mage armor: "+4 armor bonus to AC")
"circumstance", # no stack (simulator can't distinguish circumstances)
# SRD "Ultimate Magic" Table 2-7: Bonus Types and Effects — remaining
# named types, all non-stacking like every typed bonus (CRB "Combining
# Magic Effects": "two bonuses of the same type don't stack").
"alchemical", # no stack (UM T2-7: ability scores, saves; antitoxin)
"inherent", # no stack (UM T2-7: ability scores; Manual of bodily health)
"resistance", # no stack (UM T2-7: saves; cloak of resistance)
"size", # no stack (UM T2-7: ability scores, attacks, AC; enlarge person)
]
StatTarget = Literal[