edit the attack and defense point