const c = @import("c.zig"); pub const CombatEvent = struct { message: [*c]const u8 = null, damage: c_int = 0, is_player_damage: c_int = 0, is_critical: c_int = 0, was_dodged: c_int = 0, was_blocked: c_int = 0, block_amount: c_int = 0, applied_effect: c.StatusEffectType = c.EFFECT_NONE, }; pub var last: CombatEvent = .{}; pub fn reset() void { last = .{}; }