1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-30 15:04:18 +00:00
royalnet/rpgpack/types/dndproficiencytype.py

13 lines
244 B
Python
Raw Normal View History

2019-11-11 09:34:05 +00:00
import enum
2020-02-22 01:16:54 +00:00
# TODO: Rename this. It will break the whole database.
2019-11-11 09:34:05 +00:00
class DndProficiencyType(enum.Enum):
NONE = 0
HALF_PROFICIENCY = 0.5
FULL_PROFICIENCY = 1
EXPERTISE = 2
def __str__(self):
2020-02-22 01:16:54 +00:00
return str(self.value)