Got attacking logic moslty figured out there are some bugs though