TurnUndead
turn_undead
TurnUndead
dataclass
Immutable container for turn undead results.
Each field represents the effectiveness of turning a specific undead type.
Values
- int: Target number to roll on d20 (lower is better)
- "T": Automatic success (turn)
- "D": Destroy undead
- None: Cannot affect this undead type
Attributes:
| Name | Type | Description |
|---|---|---|
skeleton |
TurnResult
|
Turn result for skeletons |
zombie |
TurnResult
|
Turn result for zombies |
ghoul |
TurnResult
|
Turn result for ghouls |
wight |
TurnResult
|
Turn result for wights |
wraith |
TurnResult
|
Turn result for wraiths |
mummy |
TurnResult
|
Turn result for mummies |
spectre |
TurnResult
|
Turn result for spectres |
vampire |
TurnResult
|
Turn result for vampires |
Source code in src/rpgleveler/core/turn_undead.py
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | |