fix damageIsEffective