DnD_5e.character_classes.fighter module
- class DnD_5e.character_classes.fighter.Fighter(**kwargs)[source]
Bases:
CharacterFighter 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: action surge slots, indomitable
- get_extra_attack_num() int[source]
- Returns:
the number of extra attacks (additional attacks allowed when using the attack action)
- Return type:
non-negative integer
- take_action_surge()[source]
Do an action surge. NOT IMPLEMENTED YET.
- Returns:
None
- Raise:
ValueError if self has no action surge slots left
- take_extra_attack()[source]
Make an extra attack. NOT IMPLEMENTED YET.
- Returns:
None
- Raise:
ValueError if self has no extra attack slots left