from dataclasses import dataclass, field

from engine import core


@dataclass
class MeleeAttackInfo(object):
    entity: int
    target: int
    total_roll: int
    damage: int

    id: int = field(default_factory=core.get_id)
