added attack attribute to character