fix(attachments): add default value for attachment_type to fix dataclass init error
This commit is contained in:
parent
d24d5e149e
commit
d5ddb0deb7
|
|
@ -14,7 +14,7 @@ class Attachment:
|
||||||
name: str
|
name: str
|
||||||
item_id: str
|
item_id: str
|
||||||
decay_pec: Decimal
|
decay_pec: Decimal
|
||||||
attachment_type: str # e.g., 'amplifier', 'scope', 'absorber'
|
attachment_type: str = "" # e.g., 'amplifier', 'scope', 'absorber'
|
||||||
|
|
||||||
# Effects
|
# Effects
|
||||||
damage_bonus: Decimal = Decimal('0')
|
damage_bonus: Decimal = Decimal('0')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue