1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2025-02-17 10:53:57 +00:00
royalnet/rpgpack/types/dndproficiencytype.py

13 lines
244 B
Python
Raw Normal View History

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