Attack objects need should defend/attack logic
Attack objects need should defend/attack logic

Each attacking and defending object (e.g. sword, shield) needs to
specify which attack/defence module should handle determining if that
object can attack and defend. I plan to have generic modules for things
like melee weapons: if it's wielded and has "is_attack" == true then it
can attack. Other attacks and defences will be different. Also, some
melee attacks might be able to defend, while some may not, thus two
different modules for "can attack?" and "can defend?". These modules
will probably also handle comparing the properties of the object against
the type of attacks ... and effects? Yeah, I'll probably need to know if
a shield can defend not only against a melee attack, but also all the
different effects from the attack (e.g. "bash", "cut" and "fire").

cwmaguire/erl_mud,cwmaguire/erl_mud,cwmaguire/erl_mud