nwn1::resolve_attack_damage

std::unique_ptr<nw::AttackData> nwn1::resolve_attack(nw::Creature *attacker, nw::ObjectBase *target)

Resolves an attack

Note

All transient book keeping is done at the toplevel of this function, any other that attacker and/or target are passed to, are passed as const.