[][src]Function sulis_state::script::script_cache::ability_script

pub fn ability_script<T>(
    parent: &Rc<RefCell<EntityState>>,
    ability: &Rc<Ability>,
    targets: ScriptEntitySet,
    arg: Option<T>,
    func: &str
) -> Result<()> where
    T: for<'a> ToLua<'a> + Send