if else

fixed damagePercent returns with if else