Attack functions can now be constructed on a per ememy basis.