updated build with win state fail state and enemy damage