nwn1::resolve_concealment

std::pair<int, bool> nwn1::resolve_concealment(const nw::ObjectBase *obj, const nw::ObjectBase *target, bool vs_ranged)

Resolves an concealment - i.e. the highest of concealment and miss chance

Returns:

Concealment amount, bool that if true is from attacking creature i.e miss chance, if false from target object i.e. concealment