<reponame>snwhd/pyretrommo
#!/usr/bin/env python3
# this file is auto-generated by gen_from_wiki.py
from __future__ import annotations
from typing import (
    Dict,
    Tuple,
)
from ..item import EquipmentItem
from .ability import Ability
from .equipment import find_equipment
from .player_class import PlayerClass


CLASS_ABILITIES: Dict[PlayerClass, Dict[Ability, int]] = {
    PlayerClass.Cleric: {
        Ability.Attack: 1,
        Ability.Heal: 1,
        Ability.HealWave: 10,
        Ability.Smite: 2,
        Ability.Pass: 1,
        Ability.Escape: 1,
    },
    PlayerClass.Warrior: {
        Ability.Attack: 1,
        Ability.Guard: 1,
        Ability.Pass: 1,
        Ability.Escape: 1,
    },
    PlayerClass.Wizard: {
        Ability.Attack: 1,
        Ability.Fireball: 1,
        Ability.Firewall: 4,
        Ability.Vitality: 5,
        Ability.Teleport: 7,
        Ability.Pass: 1,
        Ability.Escape: 1,
    },
}


CLASS_EQUIPMENT: Dict[PlayerClass, Dict['EquipmentItem', int]] = {
    PlayerClass.Cleric: {
        find_equipment('TrainingWand'): 4,
        find_equipment('BoneBracelet'): 8,
        find_equipment('JaggedCrown'): 8,
        find_equipment('CrookedWand'): 6,
        find_equipment('CypressStick'): 1,
        find_equipment('LeatherCap'): 1,
        find_equipment('OakenClub'): 1,
        find_equipment('PaddedGarb'): 2,
        find_equipment('PlainClothes'): 1,
        find_equipment('RustyDagger'): 6,
        find_equipment('TatteredCloak'): 2,
        find_equipment('SimpleBracelet'): 1,
    },
    PlayerClass.Warrior: {
        find_equipment('CypressStick'): 1,
        find_equipment('DentedHelm'): 6,
        find_equipment('LeatherArmor'): 2,
        find_equipment('LeatherCap'): 1,
        find_equipment('OakenClub'): 1,
        find_equipment('PlainClothes'): 1,
        find_equipment('StuddedShield'): 6,
        find_equipment('TheTenderizer'): 8,
        find_equipment('TrainingSword'): 4,
        find_equipment('WoodenShield'): 1,
    },
    PlayerClass.Wizard: {
        find_equipment('BoneBracelet'): 8,
        find_equipment('CrookedWand'): 6,
        find_equipment('CypressStick'): 1,
        find_equipment('JaggedCrown'): 8,
        find_equipment('LeatherCap'): 1,
        find_equipment('MageHat'): 6,
        find_equipment('PlainClothes'): 1,
        find_equipment('SimpleBracelet'): 1,
        find_equipment('TatteredCloak'): 2,
        find_equipment('TrainingWand'): 4,
    },
}


#!/usr/bin/env python3
# this file is auto-generated by gen_from_wiki.py
from __future__ import annotations
from typing import (
    Dict,
    Tuple,
)
from ..item import EquipmentItem
from .ability import Ability
from .equipment import find_equipment
from .player_class import PlayerClass


CLASS_ABILITIES: Dict[PlayerClass, Dict[Ability, int]] = {
    PlayerClass.Cleric: {
        Ability.Attack: 1,
        Ability.Heal: 1,
        Ability.HealWave: 10,
        Ability.Smite: 2,
        Ability.Pass: 1,
        Ability.Escape: 1,
    },
    PlayerClass.Warrior: {
        Ability.Attack: 1,
        Ability.Guard: 1,
        Ability.Pass: 1,
        Ability.Escape: 1,
    },
    PlayerClass.Wizard: {
        Ability.Attack: 1,
        Ability.Fireball: 1,
        Ability.Firewall: 4,
        Ability.Vitality: 5,
        Ability.Teleport: 7,
        Ability.Pass: 1,
        Ability.Escape: 1,
    },
}


CLASS_EQUIPMENT: Dict[PlayerClass, Dict['EquipmentItem', int]] = {
    PlayerClass.Cleric: {
        find_equipment('TrainingWand'): 4,
        find_equipment('BoneBracelet'): 8,
        find_equipment('JaggedCrown'): 8,
        find_equipment('CrookedWand'): 6,
        find_equipment('CypressStick'): 1,
        find_equipment('LeatherCap'): 1,
        find_equipment('OakenClub'): 1,
        find_equipment('PaddedGarb'): 2,
        find_equipment('PlainClothes'): 1,
        find_equipment('RustyDagger'): 6,
        find_equipment('TatteredCloak'): 2,
        find_equipment('SimpleBracelet'): 1,
    },
    PlayerClass.Warrior: {
        find_equipment('CypressStick'): 1,
        find_equipment('DentedHelm'): 6,
        find_equipment('LeatherArmor'): 2,
        find_equipment('LeatherCap'): 1,
        find_equipment('OakenClub'): 1,
        find_equipment('PlainClothes'): 1,
        find_equipment('StuddedShield'): 6,
        find_equipment('TheTenderizer'): 8,
        find_equipment('TrainingSword'): 4,
        find_equipment('WoodenShield'): 1,
    },
    PlayerClass.Wizard: {
        find_equipment('BoneBracelet'): 8,
        find_equipment('CrookedWand'): 6,
        find_equipment('CypressStick'): 1,
        find_equipment('JaggedCrown'): 8,
        find_equipment('LeatherCap'): 1,
        find_equipment('MageHat'): 6,
        find_equipment('PlainClothes'): 1,
        find_equipment('SimpleBracelet'): 1,
        find_equipment('TatteredCloak'): 2,
        find_equipment('TrainingWand'): 4,
    },
}
#!/usr/bin/env python3 # this file is auto-generated by gen_from_wiki.py