use std::collections::{HashMap, HashSet};
use serde::{Deserialize, Serialize};
use fe3o4::Id;
use crate::{
game::{DmgType, Mart, Skill},
Dice,
};
#[derive(Clone, Serialize, Deserialize)]
#[cfg_attr(target_family = "wasm", derive(tsify_next::Tsify))]
#[cfg_attr(
target_family = "wasm",
tsify(into_wasm_abi, from_wasm_abi, large_number_types_as_bigints)
)]
pub struct Melee {
pub atk: HashMap<DmgType, Dice>,
pub rng: i32,
pub one_hand: bool,
pub skill: HashSet<Id<Skill>>,
pub mart: HashSet<Id<Mart>>,
}