Skip to content

Instantly share code, notes, and snippets.

# The class for the Man-at-Arms (MAA)
from .base_sol import Soldier
from random import randint, sample
from .weapons import *
class MAA(Soldier):
weap_dict: {'greatsword': Greatsword(),
'sword': Sword(),
'axe': Axe(),
from .base_sol import Soldier
from .weapons.lance import Lance # I only imported the lance, just to get one weapon up before I work on importing more
from random import randint
class Cavalryman(Soldier):
weap_dict = {'lance': Lance(),
'sword': Sword(),
'crossbow': Crossbow()}
def __init__(self):