Function remove_entity_effect

Source
pub fn remove_entity_effect(
    sink: &mut dyn FightSink,
    lookups: &ContentLookups,
    effects: &mut dyn EffectCb,
    target: &Entity,
    effect_code: &str,
) -> Result<(), Error>
Expand description

Native: remove all stacks of effect_code from target, dispatching the effect’s on_change reaction with (new_stacks=0, old_stacks=current).