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
trueis from attacking creature i.e miss chance, iffalsefrom target object i.e. concealment