DnD_5e.character_classes.barbarian module
- class DnD_5e.character_classes.barbarian.Barbarian(**kwargs)[source]
Bases:
CharacterBarbarian character class
- current_eq(other) bool[source]
Compare self and other to determine if they are identical based on the attributes checked in equals and also these attributes: rage slots, rage state
- Parameters:
other – the Barbarian to compare
- Returns:
True if self is identical to other, False otherwise
- Return type:
- start_reckless()[source]
Enter this state when attacking recklessly. It lasts for one round.
- Returns:
None
- stop_reckless()[source]
End the reckless state. This happens after one round of recklessly attacking.
- Returns:
None
- make_saving_throw(save_type: str, adv=0)[source]
Roll a saving throw of the given type. This is different from the superclass method in that it is affected by raging and the “danger sense” feature.
- Parameters:
save_type (one of these strings: "strength", "dexterity", "constitution", "intelligence", "wisdom", "charisma") – the kind of saving throw to make
adv (int) – indicates advantage (positive), disadvantage (negative), or neither (0)
- Returns:
the number rolled for the saving throw
- Return type:
- become_unconscious()[source]
Go unconscious. This differs from the superclass method in that self may drop to 1 hit point instead due to the “relentless rage” feature. If self saves, then self drops to 1 hit point. Otherwise, self is unconscious and has current hp of 0
- Returns:
None