1
0
Fork 0
roguelike-game/src/raws/spell_structs.rs

11 lines
198 B
Rust

use std::collections::HashMap;
use ::serde::Deserialize;
#[derive(Deserialize, Debug)]
pub struct Spell {
pub name: String,
pub mana_cost: i32,
pub effects: HashMap<String, String>,
}