Function add_entity_stat_mod

Source
pub fn add_entity_stat_mod(
    sink: &mut dyn FightSink,
    entity: &Entity,
    stat: &str,
    value: i64,
) -> Result<(), Error>
Expand description

Native: ctx.add_entity_stat_mod(entity, stat, value) — push an IncrAttribute on "{stat}.mod" by value. Mirrors the engine’s add_entity_stat_mod (which lowers to add_entity_attr(entity, "{stat}.mod", value)); used by the native effect-callback dispatcher to replicate the