src.dcss.state.skill
Module Contents
Classes
Represents a skill |
|
Assists parsing what skill the player has from websocket data |
|
Represents a skill of a player, including its current level and whether the player is training it (and by how much). |
- class src.dcss.state.skill.SkillName
Bases:
enum.Enum
Represents a skill
- NULL_SKILL_SPECIAL_CASE = 0
- FIGHTING = 1
- LONG_BLADES = 2
- SHORT_BLADES = 3
- AXES = 4
- MACES_FLAILS = 5
- POLEARMS = 6
- STAVES = 7
- UNARMED_COMBAT = 8
- BOWS = 9
- CROSSBOWS = 10
- THROWING = 11
- SLINGS = 12
- ARMOUR = 13
- DODGING = 14
- SHIELDS = 15
- SPELLCASTING = 16
- CONJURATIONS = 17
- HEXES = 18
- CHARMS = 19
- SUMMONINGS = 20
- NECROMANCY = 21
- TRANSLOCATIONS = 22
- TRANSMUTATION = 23
- FIRE_MAGIC = 24
- ICE_MAGIC = 25
- AIR_MAGIC = 26
- EARTH_MAGIC = 27
- POISON_MAGIC = 28
- INVOCATIONS = 29
- EVOCATIONS = 30
- STEALTH = 31
- class src.dcss.state.skill.SkillMapping
Assists parsing what skill the player has from websocket data
- skill_game_text_lookup
- skill_name_to_pddl_obj
- class src.dcss.state.skill.Skill(skillname: SkillName, menuchoice: dcss.actions.menuchoice.MenuChoice, level: float, percent_currently_training: int, aptitude: int)
Represents a skill of a player, including its current level and whether the player is training it (and by how much).
- NULL_SKILL_VECTOR
- get_skill_vector()
- get_skill_pddl()
Returns predicates about this skill consisting of:
(training_off ?skill - skill) (training_low ?skill - skill) (training_high ?skill - skill) (player_skill_level ?skill - skill ?amount - qualitative_quantity)