added attack constant