@log_debug
    def __init__(self, factories):
        super().__init__()
        self.action_type = 'attack'

        if hasattr(factories, '__iter__'):
            self.factories = factories
        else:
            self.factories = []
            self.factories.append(factories)
Constructor for this factory
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/rules/combat/factories.py/AttackFactory.__init__