inflicting damage

putting the damage inflicted into console log